Class PassiveEffectProxy
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.effects.PassiveEffectProxy
Static proxy class for the
PassiveEffectTicker implementation
To change from the default WalkingPassiveEffectTicker implementation then use the setInstance(PassiveEffectTicker)
method during initialization-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetInstance(PassiveEffectTicker instance) Sets thePassiveEffectTickerimplementation used for logicstatic voidtick(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party) Ticks the player's storage using thePassiveEffectTickerimplementation's tick logic
-
Constructor Details
-
PassiveEffectProxy
public PassiveEffectProxy()
-
-
Method Details
-
setInstance
Sets thePassiveEffectTickerimplementation used for logic- Parameters:
instance- The new instance
-
tick
Ticks the player's storage using thePassiveEffectTickerimplementation's tick logic- Parameters:
player- The player being tickedparty- The storage of the player
-