Class CombustionRingEffect

java.lang.Object
com.binaris.wizardry.content.item.artifact.CombustionRingEffect
All Implemented Interfaces:
IArtifactEffect

public class CombustionRingEffect extends Object implements IArtifactEffect
  • Constructor Details

    • CombustionRingEffect

      public CombustionRingEffect()
  • 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: IArtifactEffect
      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.
      Specified by:
      onKillEntity in interface IArtifactEffect
      Parameters:
      player - The player wearing the artifact
      deadEntity - The entity that was killed
      source - The damage source
      artifact - The artifact stack