Package net.minecraft.client.render.item
Class HeldItemRenderer
java.lang.Object
net.minecraft.client.render.item.HeldItemRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/item/HeldItemRenderer
intermediary net/minecraft/class_759
official gep
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final int
private static final int
private static final float
private static final int
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private final MinecraftClient
private static final float
private static final float
private static final float
private final EntityRenderDispatcher
private static final float
private static final float
private static final float
private float
private float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final int
private static final int
private static final int
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final double
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private final ItemRenderer
private ItemStack
private static final RenderLayer
private static final RenderLayer
private ItemStack
private float
private float
-
Constructor Summary
ConstructorDescriptionHeldItemRenderer
(MinecraftClient client, EntityRenderDispatcher entityRenderDispatcher, ItemRenderer itemRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
applyBrushTransformation
(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player, float equipProgress) private void
applyEatOrDrinkTransformation
(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player) private void
applyEquipOffset
(MatrixStack matrices, Arm arm, float equipProgress) private void
applySwingOffset
(MatrixStack matrices, Arm arm, float swingProgress) (package private) static HeldItemRenderer.HandRenderType
getHandRenderType
(ClientPlayerEntity player) private float
getMapAngle
(float tickDelta) private static HeldItemRenderer.HandRenderType
private static boolean
isChargedCrossbow
(ItemStack stack) private void
renderArm
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Arm arm) private void
renderArmHoldingItem
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, float swingProgress, Arm arm) private void
renderFirstPersonItem
(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) private void
renderFirstPersonMap
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int swingProgress, ItemStack stack) void
renderItem
(float tickDelta, MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers, ClientPlayerEntity player, int light) void
renderItem
(LivingEntity entity, ItemStack stack, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) private void
renderMapInBothHands
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float pitch, float equipProgress, float swingProgress) private void
renderMapInOneHand
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, Arm arm, float swingProgress, ItemStack stack) void
resetEquipProgress
(Hand hand) void
-
Field Details
-
MAP_BACKGROUND
- Mappings:
Namespace Name Mixin selector named MAP_BACKGROUND
Lnet/minecraft/client/render/item/HeldItemRenderer;MAP_BACKGROUND:Lnet/minecraft/client/render/RenderLayer;
intermediary field_21807
Lnet/minecraft/class_759;field_21807:Lnet/minecraft/class_1921;
official a
Lgep;a:Lgfb;
-
MAP_BACKGROUND_CHECKERBOARD
- Mappings:
Namespace Name Mixin selector named MAP_BACKGROUND_CHECKERBOARD
Lnet/minecraft/client/render/item/HeldItemRenderer;MAP_BACKGROUND_CHECKERBOARD:Lnet/minecraft/client/render/RenderLayer;
intermediary field_21808
Lnet/minecraft/class_759;field_21808:Lnet/minecraft/class_1921;
official b
Lgep;b:Lgfb;
-
field_32735
private static final float field_32735- See Also:
- Mappings:
Namespace Name Mixin selector named field_32735
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32735:F
intermediary field_32735
Lnet/minecraft/class_759;field_32735:F
official c
Lgep;c:F
-
field_32736
private static final float field_32736- See Also:
- Mappings:
Namespace Name Mixin selector named field_32736
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32736:F
intermediary field_32736
Lnet/minecraft/class_759;field_32736:F
official d
Lgep;d:F
-
field_32737
private static final float field_32737- See Also:
- Mappings:
Namespace Name Mixin selector named field_32737
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32737:F
intermediary field_32737
Lnet/minecraft/class_759;field_32737:F
official e
Lgep;e:F
-
field_32738
private static final float field_32738- See Also:
- Mappings:
Namespace Name Mixin selector named field_32738
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32738:F
intermediary field_32738
Lnet/minecraft/class_759;field_32738:F
official f
Lgep;f:F
-
EQUIP_OFFSET_TRANSLATE_X
private static final float EQUIP_OFFSET_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIP_OFFSET_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;EQUIP_OFFSET_TRANSLATE_X:F
intermediary field_32739
Lnet/minecraft/class_759;field_32739:F
official g
Lgep;g:F
-
EQUIP_OFFSET_TRANSLATE_Y
private static final float EQUIP_OFFSET_TRANSLATE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIP_OFFSET_TRANSLATE_Y
Lnet/minecraft/client/render/item/HeldItemRenderer;EQUIP_OFFSET_TRANSLATE_Y:F
intermediary field_32740
Lnet/minecraft/class_759;field_32740:F
official h
Lgep;h:F
-
EQUIP_OFFSET_TRANSLATE_Z
private static final float EQUIP_OFFSET_TRANSLATE_Z- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIP_OFFSET_TRANSLATE_Z
Lnet/minecraft/client/render/item/HeldItemRenderer;EQUIP_OFFSET_TRANSLATE_Z:F
intermediary field_32741
Lnet/minecraft/class_759;field_32741:F
official i
Lgep;i:F
-
field_32742
private static final float field_32742- See Also:
- Mappings:
Namespace Name Mixin selector named field_32742
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32742:F
intermediary field_32742
Lnet/minecraft/class_759;field_32742:F
official j
Lgep;j:F
-
field_32743
private static final float field_32743- See Also:
- Mappings:
Namespace Name Mixin selector named field_32743
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32743:F
intermediary field_32743
Lnet/minecraft/class_759;field_32743:F
official k
Lgep;k:F
-
field_32744
private static final float field_32744- See Also:
- Mappings:
Namespace Name Mixin selector named field_32744
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32744:F
intermediary field_32744
Lnet/minecraft/class_759;field_32744:F
official l
Lgep;l:F
-
field_32745
private static final float field_32745- See Also:
- Mappings:
Namespace Name Mixin selector named field_32745
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32745:F
intermediary field_32745
Lnet/minecraft/class_759;field_32745:F
official m
Lgep;m:F
-
EAT_OR_DRINK_X_ANGLE_MULTIPLIER
private static final float EAT_OR_DRINK_X_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named EAT_OR_DRINK_X_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;EAT_OR_DRINK_X_ANGLE_MULTIPLIER:F
intermediary field_32746
Lnet/minecraft/class_759;field_32746:F
official n
Lgep;n:F
-
EAT_OR_DRINK_Y_ANGLE_MULTIPLIER
private static final float EAT_OR_DRINK_Y_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named EAT_OR_DRINK_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;EAT_OR_DRINK_Y_ANGLE_MULTIPLIER:F
intermediary field_32747
Lnet/minecraft/class_759;field_32747:F
official o
Lgep;o:F
-
EAT_OR_DRINK_Z_ANGLE_MULTIPLIER
private static final float EAT_OR_DRINK_Z_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named EAT_OR_DRINK_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;EAT_OR_DRINK_Z_ANGLE_MULTIPLIER:F
intermediary field_32748
Lnet/minecraft/class_759;field_32748:F
official p
Lgep;p:F
-
field_32749
private static final float field_32749- See Also:
- Mappings:
Namespace Name Mixin selector named field_32749
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32749:F
intermediary field_32749
Lnet/minecraft/class_759;field_32749:F
official q
Lgep;q:F
-
field_32750
private static final float field_32750- See Also:
- Mappings:
Namespace Name Mixin selector named field_32750
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32750:F
intermediary field_32750
Lnet/minecraft/class_759;field_32750:F
official r
Lgep;r:F
-
field_32751
private static final float field_32751- See Also:
- Mappings:
Namespace Name Mixin selector named field_32751
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32751:F
intermediary field_32751
Lnet/minecraft/class_759;field_32751:F
official s
Lgep;s:F
-
field_32752
private static final double field_32752- See Also:
- Mappings:
Namespace Name Mixin selector named field_32752
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32752:D
intermediary field_32752
Lnet/minecraft/class_759;field_32752:D
official t
Lgep;t:D
-
field_32753
private static final float field_32753- See Also:
- Mappings:
Namespace Name Mixin selector named field_32753
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32753:F
intermediary field_32753
Lnet/minecraft/class_759;field_32753:F
official u
Lgep;u:F
-
field_32754
private static final float field_32754- See Also:
- Mappings:
Namespace Name Mixin selector named field_32754
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32754:F
intermediary field_32754
Lnet/minecraft/class_759;field_32754:F
official v
Lgep;v:F
-
field_32755
private static final float field_32755- See Also:
- Mappings:
Namespace Name Mixin selector named field_32755
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32755:F
intermediary field_32755
Lnet/minecraft/class_759;field_32755:F
official w
Lgep;w:F
-
field_32756
private static final float field_32756- See Also:
- Mappings:
Namespace Name Mixin selector named field_32756
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32756:F
intermediary field_32756
Lnet/minecraft/class_759;field_32756:F
official x
Lgep;x:F
-
field_32757
private static final float field_32757- See Also:
- Mappings:
Namespace Name Mixin selector named field_32757
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32757:F
intermediary field_32757
Lnet/minecraft/class_759;field_32757:F
official y
Lgep;y:F
-
ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER
private static final float ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER:F
intermediary field_32758
Lnet/minecraft/class_759;field_32758:F
official z
Lgep;z:F
-
ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER
private static final float ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER:F
intermediary field_32689
Lnet/minecraft/class_759;field_32689:F
official A
Lgep;A:F
-
field_32690
private static final float field_32690- See Also:
- Mappings:
Namespace Name Mixin selector named field_32690
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32690:F
intermediary field_32690
Lnet/minecraft/class_759;field_32690:F
official B
Lgep;B:F
-
field_32691
private static final float field_32691- See Also:
- Mappings:
Namespace Name Mixin selector named field_32691
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32691:F
intermediary field_32691
Lnet/minecraft/class_759;field_32691:F
official C
Lgep;C:F
-
field_32692
private static final float field_32692- See Also:
- Mappings:
Namespace Name Mixin selector named field_32692
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32692:F
intermediary field_32692
Lnet/minecraft/class_759;field_32692:F
official D
Lgep;D:F
-
field_32693
private static final float field_32693- See Also:
- Mappings:
Namespace Name Mixin selector named field_32693
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32693:F
intermediary field_32693
Lnet/minecraft/class_759;field_32693:F
official E
Lgep;E:F
-
field_32694
private static final float field_32694- See Also:
- Mappings:
Namespace Name Mixin selector named field_32694
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32694:F
intermediary field_32694
Lnet/minecraft/class_759;field_32694:F
official F
Lgep;F:F
-
field_32695
private static final float field_32695- See Also:
- Mappings:
Namespace Name Mixin selector named field_32695
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32695:F
intermediary field_32695
Lnet/minecraft/class_759;field_32695:F
official G
Lgep;G:F
-
field_32696
private static final float field_32696- See Also:
- Mappings:
Namespace Name Mixin selector named field_32696
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32696:F
intermediary field_32696
Lnet/minecraft/class_759;field_32696:F
official H
Lgep;H:F
-
field_32697
private static final float field_32697- See Also:
- Mappings:
Namespace Name Mixin selector named field_32697
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32697:F
intermediary field_32697
Lnet/minecraft/class_759;field_32697:F
official I
Lgep;I:F
-
field_32698
private static final float field_32698- See Also:
- Mappings:
Namespace Name Mixin selector named field_32698
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32698:F
intermediary field_32698
Lnet/minecraft/class_759;field_32698:F
official J
Lgep;J:F
-
ARM_HOLDING_ITEM_TRANSLATE_X
private static final float ARM_HOLDING_ITEM_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_HOLDING_ITEM_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_TRANSLATE_X:F
intermediary field_32699
Lnet/minecraft/class_759;field_32699:F
official K
Lgep;K:F
-
ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER
private static final int ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER:I
intermediary field_32700
Lnet/minecraft/class_759;field_32700:I
official L
Lgep;L:I
-
ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER
private static final int ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER:I
intermediary field_32701
Lnet/minecraft/class_759;field_32701:I
official M
Lgep;M:I
-
ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER
private static final int ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER:I
intermediary field_32702
Lnet/minecraft/class_759;field_32702:I
official N
Lgep;N:I
-
field_32703
private static final float field_32703- See Also:
- Mappings:
Namespace Name Mixin selector named field_32703
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32703:F
intermediary field_32703
Lnet/minecraft/class_759;field_32703:F
official O
Lgep;O:F
-
field_32704
private static final float field_32704- See Also:
- Mappings:
Namespace Name Mixin selector named field_32704
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32704:F
intermediary field_32704
Lnet/minecraft/class_759;field_32704:F
official P
Lgep;P:F
-
field_32705
private static final float field_32705- See Also:
- Mappings:
Namespace Name Mixin selector named field_32705
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32705:F
intermediary field_32705
Lnet/minecraft/class_759;field_32705:F
official Q
Lgep;Q:F
-
field_32706
private static final float field_32706- See Also:
- Mappings:
Namespace Name Mixin selector named field_32706
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32706:F
intermediary field_32706
Lnet/minecraft/class_759;field_32706:F
official R
Lgep;R:F
-
field_32707
private static final float field_32707- See Also:
- Mappings:
Namespace Name Mixin selector named field_32707
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32707:F
intermediary field_32707
Lnet/minecraft/class_759;field_32707:F
official S
Lgep;S:F
-
field_32708
private static final float field_32708- See Also:
- Mappings:
Namespace Name Mixin selector named field_32708
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32708:F
intermediary field_32708
Lnet/minecraft/class_759;field_32708:F
official T
Lgep;T:F
-
field_32709
private static final float field_32709- See Also:
- Mappings:
Namespace Name Mixin selector named field_32709
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32709:F
intermediary field_32709
Lnet/minecraft/class_759;field_32709:F
official U
Lgep;U:F
-
field_32710
private static final float field_32710- See Also:
- Mappings:
Namespace Name Mixin selector named field_32710
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32710:F
intermediary field_32710
Lnet/minecraft/class_759;field_32710:F
official V
Lgep;V:F
-
field_32711
private static final float field_32711- See Also:
- Mappings:
Namespace Name Mixin selector named field_32711
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32711:F
intermediary field_32711
Lnet/minecraft/class_759;field_32711:F
official W
Lgep;W:F
-
ARM_X_ANGLE_MULTIPLIER
private static final float ARM_X_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_X_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_X_ANGLE_MULTIPLIER:F
intermediary field_32712
Lnet/minecraft/class_759;field_32712:F
official X
Lgep;X:F
-
ARM_Y_ANGLE_MULTIPLIER
private static final float ARM_Y_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_Y_ANGLE_MULTIPLIER:F
intermediary field_32713
Lnet/minecraft/class_759;field_32713:F
official Y
Lgep;Y:F
-
ARM_Z_ANGLE_MULTIPLIER
private static final float ARM_Z_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_Z_ANGLE_MULTIPLIER:F
intermediary field_32714
Lnet/minecraft/class_759;field_32714:F
official Z
Lgep;Z:F
-
ARM_TRANSLATE_X
private static final float ARM_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_TRANSLATE_X:F
intermediary field_32715
Lnet/minecraft/class_759;field_32715:F
official aa
Lgep;aa:F
-
ARM_TRANSLATE_Y
private static final float ARM_TRANSLATE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_TRANSLATE_Y
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_TRANSLATE_Y:F
intermediary field_32716
Lnet/minecraft/class_759;field_32716:F
official ab
Lgep;ab:F
-
ARM_TRANSLATE_Z
private static final float ARM_TRANSLATE_Z- See Also:
- Mappings:
Namespace Name Mixin selector named ARM_TRANSLATE_Z
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_TRANSLATE_Z:F
intermediary field_32717
Lnet/minecraft/class_759;field_32717:F
official ac
Lgep;ac:F
-
field_32718
private static final float field_32718- See Also:
- Mappings:
Namespace Name Mixin selector named field_32718
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32718:F
intermediary field_32718
Lnet/minecraft/class_759;field_32718:F
official ad
Lgep;ad:F
-
FIRST_PERSON_MAP_FIRST_SCALE
private static final float FIRST_PERSON_MAP_FIRST_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_MAP_FIRST_SCALE
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_FIRST_SCALE:F
intermediary field_32719
Lnet/minecraft/class_759;field_32719:F
official ae
Lgep;ae:F
-
FIRST_PERSON_MAP_TRANSLATE_X
private static final float FIRST_PERSON_MAP_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_MAP_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_TRANSLATE_X:F
intermediary field_32720
Lnet/minecraft/class_759;field_32720:F
official af
Lgep;af:F
-
FIRST_PERSON_MAP_TRANSLATE_Y
private static final float FIRST_PERSON_MAP_TRANSLATE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_MAP_TRANSLATE_Y
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_TRANSLATE_Y:F
intermediary field_32721
Lnet/minecraft/class_759;field_32721:F
official ag
Lgep;ag:F
-
FIRST_PERSON_MAP_TRANSLATE_Z
private static final float FIRST_PERSON_MAP_TRANSLATE_Z- See Also:
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_MAP_TRANSLATE_Z
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_TRANSLATE_Z:F
intermediary field_32722
Lnet/minecraft/class_759;field_32722:F
official ah
Lgep;ah:F
-
FIRST_PERSON_MAP_SECOND_SCALE
private static final float FIRST_PERSON_MAP_SECOND_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_MAP_SECOND_SCALE
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_SECOND_SCALE:F
intermediary field_32723
Lnet/minecraft/class_759;field_32723:F
official ai
Lgep;ai:F
-
field_32724
private static final int field_32724- See Also:
- Mappings:
Namespace Name Mixin selector named field_32724
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32724:I
intermediary field_32724
Lnet/minecraft/class_759;field_32724:I
official aj
Lgep;aj:I
-
field_32725
private static final int field_32725- See Also:
- Mappings:
Namespace Name Mixin selector named field_32725
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32725:I
intermediary field_32725
Lnet/minecraft/class_759;field_32725:I
official ak
Lgep;ak:I
-
field_32726
private static final int field_32726- See Also:
- Mappings:
Namespace Name Mixin selector named field_32726
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32726:I
intermediary field_32726
Lnet/minecraft/class_759;field_32726:I
official al
Lgep;al:I
-
field_32727
private static final float field_32727- See Also:
- Mappings:
Namespace Name Mixin selector named field_32727
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32727:F
intermediary field_32727
Lnet/minecraft/class_759;field_32727:F
official am
Lgep;am:F
-
field_32728
private static final float field_32728- See Also:
- Mappings:
Namespace Name Mixin selector named field_32728
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32728:F
intermediary field_32728
Lnet/minecraft/class_759;field_32728:F
official an
Lgep;an:F
-
field_32729
private static final float field_32729- See Also:
- Mappings:
Namespace Name Mixin selector named field_32729
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32729:F
intermediary field_32729
Lnet/minecraft/class_759;field_32729:F
official ao
Lgep;ao:F
-
field_32730
private static final float field_32730- See Also:
- Mappings:
Namespace Name Mixin selector named field_32730
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32730:F
intermediary field_32730
Lnet/minecraft/class_759;field_32730:F
official ap
Lgep;ap:F
-
field_32731
private static final float field_32731- See Also:
- Mappings:
Namespace Name Mixin selector named field_32731
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32731:F
intermediary field_32731
Lnet/minecraft/class_759;field_32731:F
official aq
Lgep;aq:F
-
field_32732
private static final float field_32732- See Also:
- Mappings:
Namespace Name Mixin selector named field_32732
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32732:F
intermediary field_32732
Lnet/minecraft/class_759;field_32732:F
official ar
Lgep;ar:F
-
field_32733
private static final float field_32733- See Also:
- Mappings:
Namespace Name Mixin selector named field_32733
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32733:F
intermediary field_32733
Lnet/minecraft/class_759;field_32733:F
official as
Lgep;as:F
-
field_32734
private static final float field_32734- See Also:
- Mappings:
Namespace Name Mixin selector named field_32734
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32734:F
intermediary field_32734
Lnet/minecraft/class_759;field_32734:F
official at
Lgep;at:F
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/render/item/HeldItemRenderer;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_4050
Lnet/minecraft/class_759;field_4050:Lnet/minecraft/class_310;
official au
Lgep;au:Lfgi;
-
mainHand
- Mappings:
Namespace Name Mixin selector named mainHand
Lnet/minecraft/client/render/item/HeldItemRenderer;mainHand:Lnet/minecraft/item/ItemStack;
intermediary field_4047
Lnet/minecraft/class_759;field_4047:Lnet/minecraft/class_1799;
official av
Lgep;av:Lcuo;
-
offHand
- Mappings:
Namespace Name Mixin selector named offHand
Lnet/minecraft/client/render/item/HeldItemRenderer;offHand:Lnet/minecraft/item/ItemStack;
intermediary field_4048
Lnet/minecraft/class_759;field_4048:Lnet/minecraft/class_1799;
official aw
Lgep;aw:Lcuo;
-
equipProgressMainHand
private float equipProgressMainHand- Mappings:
Namespace Name Mixin selector named equipProgressMainHand
Lnet/minecraft/client/render/item/HeldItemRenderer;equipProgressMainHand:F
intermediary field_4043
Lnet/minecraft/class_759;field_4043:F
official ax
Lgep;ax:F
-
prevEquipProgressMainHand
private float prevEquipProgressMainHand- Mappings:
Namespace Name Mixin selector named prevEquipProgressMainHand
Lnet/minecraft/client/render/item/HeldItemRenderer;prevEquipProgressMainHand:F
intermediary field_4053
Lnet/minecraft/class_759;field_4053:F
official ay
Lgep;ay:F
-
equipProgressOffHand
private float equipProgressOffHand- Mappings:
Namespace Name Mixin selector named equipProgressOffHand
Lnet/minecraft/client/render/item/HeldItemRenderer;equipProgressOffHand:F
intermediary field_4052
Lnet/minecraft/class_759;field_4052:F
official az
Lgep;az:F
-
prevEquipProgressOffHand
private float prevEquipProgressOffHand- Mappings:
Namespace Name Mixin selector named prevEquipProgressOffHand
Lnet/minecraft/client/render/item/HeldItemRenderer;prevEquipProgressOffHand:F
intermediary field_4051
Lnet/minecraft/class_759;field_4051:F
official aA
Lgep;aA:F
-
entityRenderDispatcher
- Mappings:
Namespace Name Mixin selector named entityRenderDispatcher
Lnet/minecraft/client/render/item/HeldItemRenderer;entityRenderDispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;
intermediary field_4046
Lnet/minecraft/class_759;field_4046:Lnet/minecraft/class_898;
official aB
Lgep;aB:Lgkb;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector named itemRenderer
Lnet/minecraft/client/render/item/HeldItemRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
intermediary field_4044
Lnet/minecraft/class_759;field_4044:Lnet/minecraft/class_918;
official aC
Lgep;aC:Lglb;
-
-
Constructor Details
-
HeldItemRenderer
public HeldItemRenderer(MinecraftClient client, EntityRenderDispatcher entityRenderDispatcher, ItemRenderer itemRenderer) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/item/HeldItemRenderer;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/render/entity/EntityRenderDispatcher;Lnet/minecraft/client/render/item/ItemRenderer;)V
intermediary <init>
Lnet/minecraft/class_759;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_898;Lnet/minecraft/class_918;)V
official <init>
Lgep;<init>(Lfgi;Lgkb;Lglb;)V
-
-
Method Details
-
renderItem
public void renderItem(LivingEntity entity, ItemStack stack, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named renderItem
Lnet/minecraft/client/render/item/HeldItemRenderer;renderItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/ModelTransformationMode;ZLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_3233
Lnet/minecraft/class_759;method_3233(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;ZLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgep;a(Lbtl;Lcuo;Lcul;ZLfbc;Lget;I)V
-
getMapAngle
private float getMapAngle(float tickDelta) - Mappings:
Namespace Name Mixin selector named getMapAngle
Lnet/minecraft/client/render/item/HeldItemRenderer;getMapAngle(F)F
intermediary method_3227
Lnet/minecraft/class_759;method_3227(F)F
official a
Lgep;a(F)F
-
renderArm
private void renderArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Arm arm) - Mappings:
Namespace Name Mixin selector named renderArm
Lnet/minecraft/client/render/item/HeldItemRenderer;renderArm(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/util/Arm;)V
intermediary method_3216
Lnet/minecraft/class_759;method_3216(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1306;)V
official a
Lgep;a(Lfbc;Lget;ILbtf;)V
-
renderMapInOneHand
private void renderMapInOneHand(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, Arm arm, float swingProgress, ItemStack stack) - Mappings:
Namespace Name Mixin selector named renderMapInOneHand
Lnet/minecraft/client/render/item/HeldItemRenderer;renderMapInOneHand(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IFLnet/minecraft/util/Arm;FLnet/minecraft/item/ItemStack;)V
intermediary method_3222
Lnet/minecraft/class_759;method_3222(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IFLnet/minecraft/class_1306;FLnet/minecraft/class_1799;)V
official a
Lgep;a(Lfbc;Lget;IFLbtf;FLcuo;)V
-
renderMapInBothHands
private void renderMapInBothHands(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float pitch, float equipProgress, float swingProgress) - Mappings:
Namespace Name Mixin selector named renderMapInBothHands
Lnet/minecraft/client/render/item/HeldItemRenderer;renderMapInBothHands(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IFFF)V
intermediary method_3231
Lnet/minecraft/class_759;method_3231(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IFFF)V
official a
Lgep;a(Lfbc;Lget;IFFF)V
-
renderFirstPersonMap
private void renderFirstPersonMap(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int swingProgress, ItemStack stack) - Mappings:
Namespace Name Mixin selector named renderFirstPersonMap
Lnet/minecraft/client/render/item/HeldItemRenderer;renderFirstPersonMap(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/ItemStack;)V
intermediary method_3223
Lnet/minecraft/class_759;method_3223(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1799;)V
official a
Lgep;a(Lfbc;Lget;ILcuo;)V
-
renderArmHoldingItem
private void renderArmHoldingItem(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, float swingProgress, Arm arm) - Mappings:
Namespace Name Mixin selector named renderArmHoldingItem
Lnet/minecraft/client/render/item/HeldItemRenderer;renderArmHoldingItem(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IFFLnet/minecraft/util/Arm;)V
intermediary method_3219
Lnet/minecraft/class_759;method_3219(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IFFLnet/minecraft/class_1306;)V
official a
Lgep;a(Lfbc;Lget;IFFLbtf;)V
-
applyEatOrDrinkTransformation
private void applyEatOrDrinkTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player) - Mappings:
Namespace Name Mixin selector named applyEatOrDrinkTransformation
Lnet/minecraft/client/render/item/HeldItemRenderer;applyEatOrDrinkTransformation(Lnet/minecraft/client/util/math/MatrixStack;FLnet/minecraft/util/Arm;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_3218
Lnet/minecraft/class_759;method_3218(Lnet/minecraft/class_4587;FLnet/minecraft/class_1306;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)V
official a
Lgep;a(Lfbc;FLbtf;Lcuo;Lcmv;)V
-
applyBrushTransformation
private void applyBrushTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player, float equipProgress) - Mappings:
Namespace Name Mixin selector named applyBrushTransformation
Lnet/minecraft/client/render/item/HeldItemRenderer;applyBrushTransformation(Lnet/minecraft/client/util/math/MatrixStack;FLnet/minecraft/util/Arm;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;F)V
intermediary method_49340
Lnet/minecraft/class_759;method_49340(Lnet/minecraft/class_4587;FLnet/minecraft/class_1306;Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;F)V
official a
Lgep;a(Lfbc;FLbtf;Lcuo;Lcmv;F)V
-
applySwingOffset
- Mappings:
Namespace Name Mixin selector named applySwingOffset
Lnet/minecraft/client/render/item/HeldItemRenderer;applySwingOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V
intermediary method_3217
Lnet/minecraft/class_759;method_3217(Lnet/minecraft/class_4587;Lnet/minecraft/class_1306;F)V
official a
Lgep;a(Lfbc;Lbtf;F)V
-
applyEquipOffset
- Mappings:
Namespace Name Mixin selector named applyEquipOffset
Lnet/minecraft/client/render/item/HeldItemRenderer;applyEquipOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V
intermediary method_3224
Lnet/minecraft/class_759;method_3224(Lnet/minecraft/class_4587;Lnet/minecraft/class_1306;F)V
official b
Lgep;b(Lfbc;Lbtf;F)V
-
renderItem
public void renderItem(float tickDelta, MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers, ClientPlayerEntity player, int light) - Mappings:
Namespace Name Mixin selector named renderItem
Lnet/minecraft/client/render/item/HeldItemRenderer;renderItem(FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;Lnet/minecraft/client/network/ClientPlayerEntity;I)V
intermediary method_22976
Lnet/minecraft/class_759;method_22976(FLnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;Lnet/minecraft/class_746;I)V
official a
Lgep;a(FLfbc;Lget$a;Lgdv;I)V
-
getHandRenderType
- Mappings:
Namespace Name Mixin selector named getHandRenderType
Lnet/minecraft/client/render/item/HeldItemRenderer;getHandRenderType(Lnet/minecraft/client/network/ClientPlayerEntity;)Lnet/minecraft/client/render/item/HeldItemRenderer$HandRenderType;
intermediary method_33303
Lnet/minecraft/class_759;method_33303(Lnet/minecraft/class_746;)Lnet/minecraft/class_759$class_5773;
official a
Lgep;a(Lgdv;)Lgep$a;
-
getUsingItemHandRenderType
private static HeldItemRenderer.HandRenderType getUsingItemHandRenderType(ClientPlayerEntity player) - Mappings:
Namespace Name Mixin selector named getUsingItemHandRenderType
Lnet/minecraft/client/render/item/HeldItemRenderer;getUsingItemHandRenderType(Lnet/minecraft/client/network/ClientPlayerEntity;)Lnet/minecraft/client/render/item/HeldItemRenderer$HandRenderType;
intermediary method_33304
Lnet/minecraft/class_759;method_33304(Lnet/minecraft/class_746;)Lnet/minecraft/class_759$class_5773;
official b
Lgep;b(Lgdv;)Lgep$a;
-
isChargedCrossbow
- Mappings:
Namespace Name Mixin selector named isChargedCrossbow
Lnet/minecraft/client/render/item/HeldItemRenderer;isChargedCrossbow(Lnet/minecraft/item/ItemStack;)Z
intermediary method_33302
Lnet/minecraft/class_759;method_33302(Lnet/minecraft/class_1799;)Z
official a
Lgep;a(Lcuo;)Z
-
renderFirstPersonItem
private void renderFirstPersonItem(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named renderFirstPersonItem
Lnet/minecraft/client/render/item/HeldItemRenderer;renderFirstPersonItem(Lnet/minecraft/client/network/AbstractClientPlayerEntity;FFLnet/minecraft/util/Hand;FLnet/minecraft/item/ItemStack;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_3228
Lnet/minecraft/class_759;method_3228(Lnet/minecraft/class_742;FFLnet/minecraft/class_1268;FLnet/minecraft/class_1799;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgep;a(Lgds;FFLbqp;FLcuo;FLfbc;Lget;I)V
-
updateHeldItems
public void updateHeldItems()- Mappings:
Namespace Name Mixin selector named updateHeldItems
Lnet/minecraft/client/render/item/HeldItemRenderer;updateHeldItems()V
intermediary method_3220
Lnet/minecraft/class_759;method_3220()V
official a
Lgep;a()V
-
resetEquipProgress
- Mappings:
Namespace Name Mixin selector named resetEquipProgress
Lnet/minecraft/client/render/item/HeldItemRenderer;resetEquipProgress(Lnet/minecraft/util/Hand;)V
intermediary method_3215
Lnet/minecraft/class_759;method_3215(Lnet/minecraft/class_1268;)V
official a
Lgep;a(Lbqp;)V
-