Class ArcaneDefenseAmuletEffect
java.lang.Object
com.binaris.wizardry.content.item.artifact.ArcaneDefenseAmuletEffect
- All Implemented Interfaces:
IArtifactEffect
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonTick(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack artifact) Called when the player is responsible for killing an entity (if player carries the artifact in their hotbar or accessories) to apply the artifact's effect.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.binaris.wizardry.core.IArtifactEffect
onHurtEntity, onKillEntity, onPlayerHurt, onSpellPostCast, onSpellPreCast
-
Field Details
-
MANA_RECHARGE_INTERVAL_TICKS
public static final int MANA_RECHARGE_INTERVAL_TICKS- See Also:
-
-
Constructor Details
-
ArcaneDefenseAmuletEffect
public ArcaneDefenseAmuletEffect()
-
-
Method Details
-
onTick
public void onTick(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack artifact) Description copied from interface:IArtifactEffectCalled when the player is responsible for killing an entity (if player carries the artifact in their hotbar or accessories) to apply the artifact's effect.- Specified by:
onTickin interfaceIArtifactEffect- Parameters:
player- The player wearing the artifactlevel- The level the player is inartifact- The artifact stack
-