Unicopia/src/main/java/com/minelittlepony/unicopia/magic/IHeldEffect.java
2020-04-15 14:56:53 +02:00

15 lines
453 B
Java

package com.minelittlepony.unicopia.magic;
import com.minelittlepony.unicopia.entity.player.IPlayer;
/**
* Represents a passive spell that does something when held in the player's hand.
*/
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, Affinity affinity);
}