mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-22 04:43:10 +01:00
15 lines
450 B
Java
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);
|
|
}
|