Class AutoShieldAmuletEffect

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

public class AutoShieldAmuletEffect extends Object implements IArtifactEffect
  • Constructor Details

    • AutoShieldAmuletEffect

      public AutoShieldAmuletEffect()
  • 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: 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:
      onTick in interface IArtifactEffect
      Parameters:
      player - The player wearing the artifact
      level - The level the player is in
      artifact - The artifact stack