Unicopia/src/main/java/com/minelittlepony/unicopia/spell/IHeldEffect.java

16 lines
451 B
Java
Raw Normal View History

2019-02-20 16:24:26 +01:00
package com.minelittlepony.unicopia.spell;
import com.minelittlepony.unicopia.player.IPlayer;
2019-03-12 21:10:48 +01:00
/**
* Represents a passive spell that does something when held in the player's hand.
*/
2019-02-20 16:24:26 +01:00
public interface IHeldEffect extends IMagicEffect {
/**
* Called every tick when held in a player's inventory.
*
* @param source The entity we are currently attached to.
*/
void updateInHand(IPlayer caster, SpellAffinity affinity);
}