Class BattlemageRingEffect

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

public class BattlemageRingEffect extends Object implements IArtifactEffect
  • Constructor Details

    • BattlemageRingEffect

      public BattlemageRingEffect()
  • Method Details

    • onSpellPreCast

      public void onSpellPreCast(SpellCastEvent.Pre e, net.minecraft.world.item.ItemStack artifact)
      Description copied from interface: IArtifactEffect
      Called before a spell is cast (if player carries the artifact in their hotbar or accessories) to apply the artifact's effect.
      Specified by:
      onSpellPreCast in interface IArtifactEffect
      Parameters:
      e - The spell cast event
      artifact - The artifact stack