Class FireCloakingAmuletEffect

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

public class FireCloakingAmuletEffect extends Object implements IArtifactEffect
  • Constructor Details

    • FireCloakingAmuletEffect

      public FireCloakingAmuletEffect()
  • Method Details

    • onPlayerHurt

      public void onPlayerHurt(net.minecraft.world.entity.player.Player player, net.minecraft.world.damagesource.DamageSource source, com.google.common.util.concurrent.AtomicDouble amount, AtomicBoolean canceled, net.minecraft.world.item.ItemStack artifact)
      Description copied from interface: IArtifactEffect
      Called when the player is hurt (if player carries the artifact in their hotbar or accessories) to apply the artifact's effect
      Specified by:
      onPlayerHurt in interface IArtifactEffect
      Parameters:
      player - The player wearing the artifact
      source - The damage source
      amount - The amount of damage (mutable)
      canceled - Whether the damage event has been canceled
      artifact - The artifact stack