Package net.minecraft.client.render.item
Class HeldItemRenderer
java.lang.Object
net.minecraft.client.render.item.HeldItemRenderer
- Mappings:
Namespace Name official exq
intermediary net/minecraft/class_759
named net/minecraft/client/render/item/HeldItemRenderer
-
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
applyEatOrDrinkTransformation
(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack) 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, ModelTransformation.Mode 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 official a
Lexq;a:Leyc;
intermediary field_21807
Lnet/minecraft/class_759;field_21807:Lnet/minecraft/class_1921;
named MAP_BACKGROUND
Lnet/minecraft/client/render/item/HeldItemRenderer;MAP_BACKGROUND:Lnet/minecraft/client/render/RenderLayer;
-
MAP_BACKGROUND_CHECKERBOARD
- Mappings:
Namespace Name Mixin selector official b
Lexq;b:Leyc;
intermediary field_21808
Lnet/minecraft/class_759;field_21808:Lnet/minecraft/class_1921;
named MAP_BACKGROUND_CHECKERBOARD
Lnet/minecraft/client/render/item/HeldItemRenderer;MAP_BACKGROUND_CHECKERBOARD:Lnet/minecraft/client/render/RenderLayer;
-
field_32735
private static final float field_32735- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lexq;c:F
intermediary field_32735
Lnet/minecraft/class_759;field_32735:F
named field_32735
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32735:F
-
field_32736
private static final float field_32736- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lexq;d:F
intermediary field_32736
Lnet/minecraft/class_759;field_32736:F
named field_32736
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32736:F
-
field_32737
private static final float field_32737- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lexq;e:F
intermediary field_32737
Lnet/minecraft/class_759;field_32737:F
named field_32737
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32737:F
-
field_32738
private static final float field_32738- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lexq;f:F
intermediary field_32738
Lnet/minecraft/class_759;field_32738:F
named field_32738
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32738:F
-
EQUIP_OFFSET_TRANSLATE_X
private static final float EQUIP_OFFSET_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lexq;g:F
intermediary field_32739
Lnet/minecraft/class_759;field_32739:F
named EQUIP_OFFSET_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;EQUIP_OFFSET_TRANSLATE_X:F
-
EQUIP_OFFSET_TRANSLATE_Y
private static final float EQUIP_OFFSET_TRANSLATE_Y- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lexq;h:F
intermediary field_32740
Lnet/minecraft/class_759;field_32740:F
named EQUIP_OFFSET_TRANSLATE_Y
Lnet/minecraft/client/render/item/HeldItemRenderer;EQUIP_OFFSET_TRANSLATE_Y:F
-
EQUIP_OFFSET_TRANSLATE_Z
private static final float EQUIP_OFFSET_TRANSLATE_Z- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lexq;i:F
intermediary field_32741
Lnet/minecraft/class_759;field_32741:F
named EQUIP_OFFSET_TRANSLATE_Z
Lnet/minecraft/client/render/item/HeldItemRenderer;EQUIP_OFFSET_TRANSLATE_Z:F
-
field_32742
private static final float field_32742- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lexq;j:F
intermediary field_32742
Lnet/minecraft/class_759;field_32742:F
named field_32742
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32742:F
-
field_32743
private static final float field_32743- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lexq;k:F
intermediary field_32743
Lnet/minecraft/class_759;field_32743:F
named field_32743
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32743:F
-
field_32744
private static final float field_32744- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lexq;l:F
intermediary field_32744
Lnet/minecraft/class_759;field_32744:F
named field_32744
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32744:F
-
field_32745
private static final float field_32745- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lexq;m:F
intermediary field_32745
Lnet/minecraft/class_759;field_32745:F
named field_32745
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32745:F
-
EAT_OR_DRINK_X_ANGLE_MULTIPLIER
private static final float EAT_OR_DRINK_X_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lexq;n:F
intermediary field_32746
Lnet/minecraft/class_759;field_32746:F
named EAT_OR_DRINK_X_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;EAT_OR_DRINK_X_ANGLE_MULTIPLIER:F
-
EAT_OR_DRINK_Y_ANGLE_MULTIPLIER
private static final float EAT_OR_DRINK_Y_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lexq;o:F
intermediary field_32747
Lnet/minecraft/class_759;field_32747:F
named EAT_OR_DRINK_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;EAT_OR_DRINK_Y_ANGLE_MULTIPLIER:F
-
EAT_OR_DRINK_Z_ANGLE_MULTIPLIER
private static final float EAT_OR_DRINK_Z_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official p
Lexq;p:F
intermediary field_32748
Lnet/minecraft/class_759;field_32748:F
named EAT_OR_DRINK_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;EAT_OR_DRINK_Z_ANGLE_MULTIPLIER:F
-
field_32749
private static final float field_32749- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lexq;q:F
intermediary field_32749
Lnet/minecraft/class_759;field_32749:F
named field_32749
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32749:F
-
field_32750
private static final float field_32750- See Also:
- Mappings:
Namespace Name Mixin selector official r
Lexq;r:F
intermediary field_32750
Lnet/minecraft/class_759;field_32750:F
named field_32750
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32750:F
-
field_32751
private static final float field_32751- See Also:
- Mappings:
Namespace Name Mixin selector official s
Lexq;s:F
intermediary field_32751
Lnet/minecraft/class_759;field_32751:F
named field_32751
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32751:F
-
field_32752
private static final double field_32752- See Also:
- Mappings:
Namespace Name Mixin selector official t
Lexq;t:D
intermediary field_32752
Lnet/minecraft/class_759;field_32752:D
named field_32752
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32752:D
-
field_32753
private static final float field_32753- See Also:
- Mappings:
Namespace Name Mixin selector official u
Lexq;u:F
intermediary field_32753
Lnet/minecraft/class_759;field_32753:F
named field_32753
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32753:F
-
field_32754
private static final float field_32754- See Also:
- Mappings:
Namespace Name Mixin selector official v
Lexq;v:F
intermediary field_32754
Lnet/minecraft/class_759;field_32754:F
named field_32754
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32754:F
-
field_32755
private static final float field_32755- See Also:
- Mappings:
Namespace Name Mixin selector official w
Lexq;w:F
intermediary field_32755
Lnet/minecraft/class_759;field_32755:F
named field_32755
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32755:F
-
field_32756
private static final float field_32756- See Also:
- Mappings:
Namespace Name Mixin selector official x
Lexq;x:F
intermediary field_32756
Lnet/minecraft/class_759;field_32756:F
named field_32756
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32756:F
-
field_32757
private static final float field_32757- See Also:
- Mappings:
Namespace Name Mixin selector official y
Lexq;y:F
intermediary field_32757
Lnet/minecraft/class_759;field_32757:F
named field_32757
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32757: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 official z
Lexq;z:F
intermediary field_32758
Lnet/minecraft/class_759;field_32758:F
named ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER: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 official A
Lexq;A:F
intermediary field_32689
Lnet/minecraft/class_759;field_32689:F
named ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER:F
-
field_32690
private static final float field_32690- See Also:
- Mappings:
Namespace Name Mixin selector official B
Lexq;B:F
intermediary field_32690
Lnet/minecraft/class_759;field_32690:F
named field_32690
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32690:F
-
field_32691
private static final float field_32691- See Also:
- Mappings:
Namespace Name Mixin selector official C
Lexq;C:F
intermediary field_32691
Lnet/minecraft/class_759;field_32691:F
named field_32691
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32691:F
-
field_32692
private static final float field_32692- See Also:
- Mappings:
Namespace Name Mixin selector official D
Lexq;D:F
intermediary field_32692
Lnet/minecraft/class_759;field_32692:F
named field_32692
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32692:F
-
field_32693
private static final float field_32693- See Also:
- Mappings:
Namespace Name Mixin selector official E
Lexq;E:F
intermediary field_32693
Lnet/minecraft/class_759;field_32693:F
named field_32693
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32693:F
-
field_32694
private static final float field_32694- See Also:
- Mappings:
Namespace Name Mixin selector official F
Lexq;F:F
intermediary field_32694
Lnet/minecraft/class_759;field_32694:F
named field_32694
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32694:F
-
field_32695
private static final float field_32695- See Also:
- Mappings:
Namespace Name Mixin selector official G
Lexq;G:F
intermediary field_32695
Lnet/minecraft/class_759;field_32695:F
named field_32695
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32695:F
-
field_32696
private static final float field_32696- See Also:
- Mappings:
Namespace Name Mixin selector official H
Lexq;H:F
intermediary field_32696
Lnet/minecraft/class_759;field_32696:F
named field_32696
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32696:F
-
field_32697
private static final float field_32697- See Also:
- Mappings:
Namespace Name Mixin selector official I
Lexq;I:F
intermediary field_32697
Lnet/minecraft/class_759;field_32697:F
named field_32697
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32697:F
-
field_32698
private static final float field_32698- See Also:
- Mappings:
Namespace Name Mixin selector official J
Lexq;J:F
intermediary field_32698
Lnet/minecraft/class_759;field_32698:F
named field_32698
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32698:F
-
ARM_HOLDING_ITEM_TRANSLATE_X
private static final float ARM_HOLDING_ITEM_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector official K
Lexq;K:F
intermediary field_32699
Lnet/minecraft/class_759;field_32699:F
named ARM_HOLDING_ITEM_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_TRANSLATE_X:F
-
ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER
private static final int ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official L
Lexq;L:I
intermediary field_32700
Lnet/minecraft/class_759;field_32700:I
named ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER: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 official M
Lexq;M:I
intermediary field_32701
Lnet/minecraft/class_759;field_32701:I
named ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER: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 official N
Lexq;N:I
intermediary field_32702
Lnet/minecraft/class_759;field_32702:I
named ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER:I
-
field_32703
private static final float field_32703- See Also:
- Mappings:
Namespace Name Mixin selector official O
Lexq;O:F
intermediary field_32703
Lnet/minecraft/class_759;field_32703:F
named field_32703
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32703:F
-
field_32704
private static final float field_32704- See Also:
- Mappings:
Namespace Name Mixin selector official P
Lexq;P:F
intermediary field_32704
Lnet/minecraft/class_759;field_32704:F
named field_32704
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32704:F
-
field_32705
private static final float field_32705- See Also:
- Mappings:
Namespace Name Mixin selector official Q
Lexq;Q:F
intermediary field_32705
Lnet/minecraft/class_759;field_32705:F
named field_32705
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32705:F
-
field_32706
private static final float field_32706- See Also:
- Mappings:
Namespace Name Mixin selector official R
Lexq;R:F
intermediary field_32706
Lnet/minecraft/class_759;field_32706:F
named field_32706
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32706:F
-
field_32707
private static final float field_32707- See Also:
- Mappings:
Namespace Name Mixin selector official S
Lexq;S:F
intermediary field_32707
Lnet/minecraft/class_759;field_32707:F
named field_32707
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32707:F
-
field_32708
private static final float field_32708- See Also:
- Mappings:
Namespace Name Mixin selector official T
Lexq;T:F
intermediary field_32708
Lnet/minecraft/class_759;field_32708:F
named field_32708
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32708:F
-
field_32709
private static final float field_32709- See Also:
- Mappings:
Namespace Name Mixin selector official U
Lexq;U:F
intermediary field_32709
Lnet/minecraft/class_759;field_32709:F
named field_32709
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32709:F
-
field_32710
private static final float field_32710- See Also:
- Mappings:
Namespace Name Mixin selector official V
Lexq;V:F
intermediary field_32710
Lnet/minecraft/class_759;field_32710:F
named field_32710
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32710:F
-
field_32711
private static final float field_32711- See Also:
- Mappings:
Namespace Name Mixin selector official W
Lexq;W:F
intermediary field_32711
Lnet/minecraft/class_759;field_32711:F
named field_32711
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32711:F
-
ARM_X_ANGLE_MULTIPLIER
private static final float ARM_X_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official X
Lexq;X:F
intermediary field_32712
Lnet/minecraft/class_759;field_32712:F
named ARM_X_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_X_ANGLE_MULTIPLIER:F
-
ARM_Y_ANGLE_MULTIPLIER
private static final float ARM_Y_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official Y
Lexq;Y:F
intermediary field_32713
Lnet/minecraft/class_759;field_32713:F
named ARM_Y_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_Y_ANGLE_MULTIPLIER:F
-
ARM_Z_ANGLE_MULTIPLIER
private static final float ARM_Z_ANGLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official Z
Lexq;Z:F
intermediary field_32714
Lnet/minecraft/class_759;field_32714:F
named ARM_Z_ANGLE_MULTIPLIER
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_Z_ANGLE_MULTIPLIER:F
-
ARM_TRANSLATE_X
private static final float ARM_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector official aa
Lexq;aa:F
intermediary field_32715
Lnet/minecraft/class_759;field_32715:F
named ARM_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_TRANSLATE_X:F
-
ARM_TRANSLATE_Y
private static final float ARM_TRANSLATE_Y- See Also:
- Mappings:
Namespace Name Mixin selector official ab
Lexq;ab:F
intermediary field_32716
Lnet/minecraft/class_759;field_32716:F
named ARM_TRANSLATE_Y
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_TRANSLATE_Y:F
-
ARM_TRANSLATE_Z
private static final float ARM_TRANSLATE_Z- See Also:
- Mappings:
Namespace Name Mixin selector official ac
Lexq;ac:F
intermediary field_32717
Lnet/minecraft/class_759;field_32717:F
named ARM_TRANSLATE_Z
Lnet/minecraft/client/render/item/HeldItemRenderer;ARM_TRANSLATE_Z:F
-
field_32718
private static final float field_32718- See Also:
- Mappings:
Namespace Name Mixin selector official ad
Lexq;ad:F
intermediary field_32718
Lnet/minecraft/class_759;field_32718:F
named field_32718
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32718:F
-
FIRST_PERSON_MAP_FIRST_SCALE
private static final float FIRST_PERSON_MAP_FIRST_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official ae
Lexq;ae:F
intermediary field_32719
Lnet/minecraft/class_759;field_32719:F
named FIRST_PERSON_MAP_FIRST_SCALE
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_FIRST_SCALE:F
-
FIRST_PERSON_MAP_TRANSLATE_X
private static final float FIRST_PERSON_MAP_TRANSLATE_X- See Also:
- Mappings:
Namespace Name Mixin selector official af
Lexq;af:F
intermediary field_32720
Lnet/minecraft/class_759;field_32720:F
named FIRST_PERSON_MAP_TRANSLATE_X
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_TRANSLATE_X:F
-
FIRST_PERSON_MAP_TRANSLATE_Y
private static final float FIRST_PERSON_MAP_TRANSLATE_Y- See Also:
- Mappings:
Namespace Name Mixin selector official ag
Lexq;ag:F
intermediary field_32721
Lnet/minecraft/class_759;field_32721:F
named FIRST_PERSON_MAP_TRANSLATE_Y
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_TRANSLATE_Y:F
-
FIRST_PERSON_MAP_TRANSLATE_Z
private static final float FIRST_PERSON_MAP_TRANSLATE_Z- See Also:
- Mappings:
Namespace Name Mixin selector official ah
Lexq;ah:F
intermediary field_32722
Lnet/minecraft/class_759;field_32722:F
named FIRST_PERSON_MAP_TRANSLATE_Z
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_TRANSLATE_Z:F
-
FIRST_PERSON_MAP_SECOND_SCALE
private static final float FIRST_PERSON_MAP_SECOND_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official ai
Lexq;ai:F
intermediary field_32723
Lnet/minecraft/class_759;field_32723:F
named FIRST_PERSON_MAP_SECOND_SCALE
Lnet/minecraft/client/render/item/HeldItemRenderer;FIRST_PERSON_MAP_SECOND_SCALE:F
-
field_32724
private static final int field_32724- See Also:
- Mappings:
Namespace Name Mixin selector official aj
Lexq;aj:I
intermediary field_32724
Lnet/minecraft/class_759;field_32724:I
named field_32724
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32724:I
-
field_32725
private static final int field_32725- See Also:
- Mappings:
Namespace Name Mixin selector official ak
Lexq;ak:I
intermediary field_32725
Lnet/minecraft/class_759;field_32725:I
named field_32725
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32725:I
-
field_32726
private static final int field_32726- See Also:
- Mappings:
Namespace Name Mixin selector official al
Lexq;al:I
intermediary field_32726
Lnet/minecraft/class_759;field_32726:I
named field_32726
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32726:I
-
field_32727
private static final float field_32727- See Also:
- Mappings:
Namespace Name Mixin selector official am
Lexq;am:F
intermediary field_32727
Lnet/minecraft/class_759;field_32727:F
named field_32727
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32727:F
-
field_32728
private static final float field_32728- See Also:
- Mappings:
Namespace Name Mixin selector official an
Lexq;an:F
intermediary field_32728
Lnet/minecraft/class_759;field_32728:F
named field_32728
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32728:F
-
field_32729
private static final float field_32729- See Also:
- Mappings:
Namespace Name Mixin selector official ao
Lexq;ao:F
intermediary field_32729
Lnet/minecraft/class_759;field_32729:F
named field_32729
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32729:F
-
field_32730
private static final float field_32730- See Also:
- Mappings:
Namespace Name Mixin selector official ap
Lexq;ap:F
intermediary field_32730
Lnet/minecraft/class_759;field_32730:F
named field_32730
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32730:F
-
field_32731
private static final float field_32731- See Also:
- Mappings:
Namespace Name Mixin selector official aq
Lexq;aq:F
intermediary field_32731
Lnet/minecraft/class_759;field_32731:F
named field_32731
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32731:F
-
field_32732
private static final float field_32732- See Also:
- Mappings:
Namespace Name Mixin selector official ar
Lexq;ar:F
intermediary field_32732
Lnet/minecraft/class_759;field_32732:F
named field_32732
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32732:F
-
field_32733
private static final float field_32733- See Also:
- Mappings:
Namespace Name Mixin selector official as
Lexq;as:F
intermediary field_32733
Lnet/minecraft/class_759;field_32733:F
named field_32733
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32733:F
-
field_32734
private static final float field_32734- See Also:
- Mappings:
Namespace Name Mixin selector official at
Lexq;at:F
intermediary field_32734
Lnet/minecraft/class_759;field_32734:F
named field_32734
Lnet/minecraft/client/render/item/HeldItemRenderer;field_32734:F
-
client
- Mappings:
Namespace Name Mixin selector official au
Lexq;au:Leev;
intermediary field_4050
Lnet/minecraft/class_759;field_4050:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/render/item/HeldItemRenderer;client:Lnet/minecraft/client/MinecraftClient;
-
mainHand
- Mappings:
Namespace Name Mixin selector official av
Lexq;av:Lcaa;
intermediary field_4047
Lnet/minecraft/class_759;field_4047:Lnet/minecraft/class_1799;
named mainHand
Lnet/minecraft/client/render/item/HeldItemRenderer;mainHand:Lnet/minecraft/item/ItemStack;
-
offHand
- Mappings:
Namespace Name Mixin selector official aw
Lexq;aw:Lcaa;
intermediary field_4048
Lnet/minecraft/class_759;field_4048:Lnet/minecraft/class_1799;
named offHand
Lnet/minecraft/client/render/item/HeldItemRenderer;offHand:Lnet/minecraft/item/ItemStack;
-
equipProgressMainHand
private float equipProgressMainHand- Mappings:
Namespace Name Mixin selector official ax
Lexq;ax:F
intermediary field_4043
Lnet/minecraft/class_759;field_4043:F
named equipProgressMainHand
Lnet/minecraft/client/render/item/HeldItemRenderer;equipProgressMainHand:F
-
prevEquipProgressMainHand
private float prevEquipProgressMainHand- Mappings:
Namespace Name Mixin selector official ay
Lexq;ay:F
intermediary field_4053
Lnet/minecraft/class_759;field_4053:F
named prevEquipProgressMainHand
Lnet/minecraft/client/render/item/HeldItemRenderer;prevEquipProgressMainHand:F
-
equipProgressOffHand
private float equipProgressOffHand- Mappings:
Namespace Name Mixin selector official az
Lexq;az:F
intermediary field_4052
Lnet/minecraft/class_759;field_4052:F
named equipProgressOffHand
Lnet/minecraft/client/render/item/HeldItemRenderer;equipProgressOffHand:F
-
prevEquipProgressOffHand
private float prevEquipProgressOffHand- Mappings:
Namespace Name Mixin selector official aA
Lexq;aA:F
intermediary field_4051
Lnet/minecraft/class_759;field_4051:F
named prevEquipProgressOffHand
Lnet/minecraft/client/render/item/HeldItemRenderer;prevEquipProgressOffHand:F
-
entityRenderDispatcher
- Mappings:
Namespace Name Mixin selector official aB
Lexq;aB:Lfcl;
intermediary field_4046
Lnet/minecraft/class_759;field_4046:Lnet/minecraft/class_898;
named entityRenderDispatcher
Lnet/minecraft/client/render/item/HeldItemRenderer;entityRenderDispatcher:Lnet/minecraft/client/render/entity/EntityRenderDispatcher;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official aC
Lexq;aC:Lfdl;
intermediary field_4044
Lnet/minecraft/class_759;field_4044:Lnet/minecraft/class_918;
named itemRenderer
Lnet/minecraft/client/render/item/HeldItemRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
-
Constructor Details
-
HeldItemRenderer
public HeldItemRenderer(MinecraftClient client, EntityRenderDispatcher entityRenderDispatcher, ItemRenderer itemRenderer) - Mappings:
Namespace Name Mixin selector official <init>
Lexq;<init>(Leev;Lfcl;Lfdl;)V
intermediary <init>
Lnet/minecraft/class_759;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_898;Lnet/minecraft/class_918;)V
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
-
-
Method Details
-
renderItem
public void renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Lbbf;Lcaa;Leza$b;ZLdzt;Lexu;I)V
intermediary method_3233
Lnet/minecraft/class_759;method_3233(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_809$class_811;ZLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named renderItem
Lnet/minecraft/client/render/item/HeldItemRenderer;renderItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;ZLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
getMapAngle
private float getMapAngle(float tickDelta) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(F)F
intermediary method_3227
Lnet/minecraft/class_759;method_3227(F)F
named getMapAngle
Lnet/minecraft/client/render/item/HeldItemRenderer;getMapAngle(F)F
-
renderArm
private void renderArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Arm arm) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;Lexu;ILbba;)V
intermediary method_3216
Lnet/minecraft/class_759;method_3216(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1306;)V
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
-
renderMapInOneHand
private void renderMapInOneHand(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, Arm arm, float swingProgress, ItemStack stack) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;Lexu;IFLbba;FLcaa;)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
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
-
renderMapInBothHands
private void renderMapInBothHands(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float pitch, float equipProgress, float swingProgress) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;Lexu;IFFF)V
intermediary method_3231
Lnet/minecraft/class_759;method_3231(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IFFF)V
named renderMapInBothHands
Lnet/minecraft/client/render/item/HeldItemRenderer;renderMapInBothHands(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IFFF)V
-
renderFirstPersonMap
private void renderFirstPersonMap(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int swingProgress, ItemStack stack) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;Lexu;ILcaa;)V
intermediary method_3223
Lnet/minecraft/class_759;method_3223(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1799;)V
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
-
renderArmHoldingItem
private void renderArmHoldingItem(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, float swingProgress, Arm arm) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;Lexu;IFFLbba;)V
intermediary method_3219
Lnet/minecraft/class_759;method_3219(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IFFLnet/minecraft/class_1306;)V
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
-
applyEatOrDrinkTransformation
private void applyEatOrDrinkTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;FLbba;Lcaa;)V
intermediary method_3218
Lnet/minecraft/class_759;method_3218(Lnet/minecraft/class_4587;FLnet/minecraft/class_1306;Lnet/minecraft/class_1799;)V
named applyEatOrDrinkTransformation
Lnet/minecraft/client/render/item/HeldItemRenderer;applyEatOrDrinkTransformation(Lnet/minecraft/client/util/math/MatrixStack;FLnet/minecraft/util/Arm;Lnet/minecraft/item/ItemStack;)V
-
applySwingOffset
- Mappings:
Namespace Name Mixin selector official a
Lexq;a(Ldzt;Lbba;F)V
intermediary method_3217
Lnet/minecraft/class_759;method_3217(Lnet/minecraft/class_4587;Lnet/minecraft/class_1306;F)V
named applySwingOffset
Lnet/minecraft/client/render/item/HeldItemRenderer;applySwingOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V
-
applyEquipOffset
- Mappings:
Namespace Name Mixin selector official b
Lexq;b(Ldzt;Lbba;F)V
intermediary method_3224
Lnet/minecraft/class_759;method_3224(Lnet/minecraft/class_4587;Lnet/minecraft/class_1306;F)V
named applyEquipOffset
Lnet/minecraft/client/render/item/HeldItemRenderer;applyEquipOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V
-
renderItem
public void renderItem(float tickDelta, MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers, ClientPlayerEntity player, int light) - Mappings:
Namespace Name Mixin selector official a
Lexq;a(FLdzt;Lexu$a;Lewy;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
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
-
getHandRenderType
- Mappings:
Namespace Name Mixin selector official a
Lexq;a(Lewy;)Lexq$a;
intermediary method_33303
Lnet/minecraft/class_759;method_33303(Lnet/minecraft/class_746;)Lnet/minecraft/class_759$class_5773;
named getHandRenderType
Lnet/minecraft/client/render/item/HeldItemRenderer;getHandRenderType(Lnet/minecraft/client/network/ClientPlayerEntity;)Lnet/minecraft/client/render/item/HeldItemRenderer$HandRenderType;
-
getUsingItemHandRenderType
private static HeldItemRenderer.HandRenderType getUsingItemHandRenderType(ClientPlayerEntity player) - Mappings:
Namespace Name Mixin selector official b
Lexq;b(Lewy;)Lexq$a;
intermediary method_33304
Lnet/minecraft/class_759;method_33304(Lnet/minecraft/class_746;)Lnet/minecraft/class_759$class_5773;
named getUsingItemHandRenderType
Lnet/minecraft/client/render/item/HeldItemRenderer;getUsingItemHandRenderType(Lnet/minecraft/client/network/ClientPlayerEntity;)Lnet/minecraft/client/render/item/HeldItemRenderer$HandRenderType;
-
isChargedCrossbow
- Mappings:
Namespace Name Mixin selector official a
Lexq;a(Lcaa;)Z
intermediary method_33302
Lnet/minecraft/class_759;method_33302(Lnet/minecraft/class_1799;)Z
named isChargedCrossbow
Lnet/minecraft/client/render/item/HeldItemRenderer;isChargedCrossbow(Lnet/minecraft/item/ItemStack;)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 official a
Lexq;a(Lewv;FFLazl;FLcaa;FLdzt;Lexu;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
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
-
updateHeldItems
public void updateHeldItems()- Mappings:
Namespace Name Mixin selector official a
Lexq;a()V
intermediary method_3220
Lnet/minecraft/class_759;method_3220()V
named updateHeldItems
Lnet/minecraft/client/render/item/HeldItemRenderer;updateHeldItems()V
-
resetEquipProgress
- Mappings:
Namespace Name Mixin selector official a
Lexq;a(Lazl;)V
intermediary method_3215
Lnet/minecraft/class_759;method_3215(Lnet/minecraft/class_1268;)V
named resetEquipProgress
Lnet/minecraft/client/render/item/HeldItemRenderer;resetEquipProgress(Lnet/minecraft/util/Hand;)V
-