Class ItemInHandRendererMixin

java.lang.Object
com.binaris.wizardry.core.mixin.client.ItemInHandRendererMixin

public abstract class ItemInHandRendererMixin extends Object
Removes the vanilla "use" animations from casting items: the hand raise started by ItemInHandRenderer.itemUsed(InteractionHand) and the equip animation that plays when the server syncs the wand's NBT (mana, cooldown, spell progression) and the client ends up with a new ItemStack instance. Wands (and any item whose current spell has a SpellAction) already have their own casting pose, so the vanilla bumps only get in the way.
  • Constructor Details

    • ItemInHandRendererMixin

      public ItemInHandRendererMixin()