Unicopia/src/main/java/com/minelittlepony/unicopia/magic/HeldMagicEffect.java
2020-04-15 18:14:42 +02:00

15 lines
450 B
Java

package com.minelittlepony.unicopia.magic;
import com.minelittlepony.unicopia.entity.player.Pony;
/**
* Represents a passive spell that does something when held in the player's hand.
*/
public interface HeldMagicEffect extends MagicEffect {
/**
* Called every tick when held in a player's inventory.
*
* @param source The entity we are currently attached to.
*/
void updateInHand(Pony caster, Affinity affinity);
}