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
named net/minecraft/client/render/entity/model/CrossbowPosing
intermediary net/minecraft/class_4896
official fub
  • 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
      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
      intermediary method_25447 Lnet/minecraft/class_4896;method_25447(Lnet/minecraft/class_630;Lnet/minecraft/class_630;Lnet/minecraft/class_630;Z)V
      official a Lfub;a(Lfye;Lfye;Lfye;Z)V
    • charge

      public static void charge(ModelPart holdingArm, ModelPart pullingArm, LivingEntity actor, boolean rightArmed)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_25446 Lnet/minecraft/class_4896;method_25446(Lnet/minecraft/class_630;Lnet/minecraft/class_630;Lnet/minecraft/class_1309;Z)V
      official a Lfub;a(Lfye;Lfye;Lbtl;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
      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
      intermediary method_29351 Lnet/minecraft/class_4896;method_29351(Lnet/minecraft/class_630;Lnet/minecraft/class_630;Lnet/minecraft/class_1308;FF)V
      official a Lfub;a(Lfye;Lfye;Lbtn;FF)V
    • swingArm

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

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

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