Class CrossbowPosing

java.lang.Object
net.minecraft.client.render.entity.model.CrossbowPosing

@Environment(CLIENT) public class CrossbowPosing extends Object
Utility class to help posing when a crossbow is involved.
Mappings:
Namespace Name
official epe
intermediary net/minecraft/class_4896
named net/minecraft/client/render/entity/model/CrossbowPosing
  • Constructor Details

    • CrossbowPosing

      public CrossbowPosing()
  • Method Details

    • hold

      public static void hold(ModelPart holdingArm, ModelPart otherArm, ModelPart head, boolean rightArmed)
      Mappings:
      Namespace Name Mixin selector
      official a Lepe;a(Lesv;Lesv;Lesv;Z)V
      intermediary method_25447 Lnet/minecraft/class_4896;method_25447(Lnet/minecraft/class_630;Lnet/minecraft/class_630;Lnet/minecraft/class_630;Z)V
      named hold Lnet/minecraft/client/render/entity/model/CrossbowPosing;hold(Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;Z)V
    • charge

      public static void charge(ModelPart holdingArm, ModelPart pullingArm, LivingEntity actor, boolean rightArmed)
      Mappings:
      Namespace Name Mixin selector
      official a Lepe;a(Lesv;Lesv;Lbbf;Z)V
      intermediary method_25446 Lnet/minecraft/class_4896;method_25446(Lnet/minecraft/class_630;Lnet/minecraft/class_630;Lnet/minecraft/class_1309;Z)V
      named charge Lnet/minecraft/client/render/entity/model/CrossbowPosing;charge(Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/entity/LivingEntity;Z)V
    • meleeAttack

      public static <T extends MobEntity> void meleeAttack(ModelPart leftArm, ModelPart rightArm, T actor, float swingProgress, float animationProgress)
      Mappings:
      Namespace Name Mixin selector
      official a Lepe;a(Lesv;Lesv;Lbbh;FF)V
      intermediary method_29351 Lnet/minecraft/class_4896;method_29351(Lnet/minecraft/class_630;Lnet/minecraft/class_630;Lnet/minecraft/class_1308;FF)V
      named meleeAttack Lnet/minecraft/client/render/entity/model/CrossbowPosing;meleeAttack(Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/entity/mob/MobEntity;FF)V
    • swingArm

      public static void swingArm(ModelPart arm, float animationProgress, float sigma)
      Mappings:
      Namespace Name Mixin selector
      official a Lepe;a(Lesv;FF)V
      intermediary method_29350 Lnet/minecraft/class_4896;method_29350(Lnet/minecraft/class_630;FF)V
      named swingArm Lnet/minecraft/client/render/entity/model/CrossbowPosing;swingArm(Lnet/minecraft/client/model/ModelPart;FF)V
    • swingArms

      public static void swingArms(ModelPart leftArm, ModelPart rightArm, float animationProgress)
      Mappings:
      Namespace Name Mixin selector
      official a Lepe;a(Lesv;Lesv;F)V
      intermediary method_32789 Lnet/minecraft/class_4896;method_32789(Lnet/minecraft/class_630;Lnet/minecraft/class_630;F)V
      named swingArms Lnet/minecraft/client/render/entity/model/CrossbowPosing;swingArms(Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;F)V
    • meleeAttack

      public static void meleeAttack(ModelPart leftArm, ModelPart rightArm, boolean attacking, float swingProgress, float animationProgress)
      Mappings:
      Namespace Name Mixin selector
      official a Lepe;a(Lesv;Lesv;ZFF)V
      intermediary method_29352 Lnet/minecraft/class_4896;method_29352(Lnet/minecraft/class_630;Lnet/minecraft/class_630;ZFF)V
      named meleeAttack Lnet/minecraft/client/render/entity/model/CrossbowPosing;meleeAttack(Lnet/minecraft/client/model/ModelPart;Lnet/minecraft/client/model/ModelPart;ZFF)V