Class ItemTransformMixin

java.lang.Object
com.github.razorplay01.fp_pal.mixin.ItemTransformMixin

public class ItemTransformMixin extends Object
Skips vanilla's item display transform while the first-person arm rig is drawing the held item. That transform belongs to the item model, not the animation, so it moves the item away from the pose the fp_r_item / fp_l_item bone describes.

It is only skipped while FpRenderState.isFpItemPass is set; everything else (inventory, dropped items, other players) keeps vanilla's transform.

  • Constructor Details

    • ItemTransformMixin

      public ItemTransformMixin()