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