Class ArcaneFrostRingEffect
java.lang.Object
com.binaris.wizardry.content.item.artifact.ArcaneFrostRingEffect
- All Implemented Interfaces:
IArtifactEffect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonKillEntity(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity deadEntity, net.minecraft.world.damagesource.DamageSource source, 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, onPlayerHurt, onSpellPostCast, onSpellPreCast, onTick
-
Constructor Details
-
ArcaneFrostRingEffect
public ArcaneFrostRingEffect()
-
-
Method Details
-
onKillEntity
public void onKillEntity(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity deadEntity, net.minecraft.world.damagesource.DamageSource source, 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:
onKillEntityin interfaceIArtifactEffect- Parameters:
player- The player wearing the artifactdeadEntity- The entity that was killedsource- The damage sourceartifact- The artifact stack
-