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 gdl
-
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, float equipProgress) private 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, 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
Lgdl;a:Lgdx;
-
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
Lgdl;b:Lgdx;
-
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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;au:Lffg;
-
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
Lgdl;av:Lcuq;
-
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
Lgdl;aw:Lcuq;
-
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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;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
Lgdl;aB:Lgiw;
-
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
Lgdl;aC:Lgjw;
-
-
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>
Lgdl;<init>(Lffg;Lgiw;Lgjw;)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
Lgdl;a(Lbtq;Lcuq;Lcun;ZLezz;Lgdp;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
Lgdl;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
Lgdl;a(Lezz;Lgdp;ILbtk;)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
Lgdl;a(Lezz;Lgdp;IFLbtk;FLcuq;)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
Lgdl;a(Lezz;Lgdp;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
Lgdl;a(Lezz;Lgdp;ILcuq;)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
Lgdl;a(Lezz;Lgdp;IFFLbtk;)V
-
applyEatOrDrinkTransformation
private void applyEatOrDrinkTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack) - 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;)V
intermediary method_3218
Lnet/minecraft/class_759;method_3218(Lnet/minecraft/class_4587;FLnet/minecraft/class_1306;Lnet/minecraft/class_1799;)V
official a
Lgdl;a(Lezz;FLbtk;Lcuq;)V
-
applyBrushTransformation
private void applyBrushTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, 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;F)V
intermediary method_49340
Lnet/minecraft/class_759;method_49340(Lnet/minecraft/class_4587;FLnet/minecraft/class_1306;Lnet/minecraft/class_1799;F)V
official a
Lgdl;a(Lezz;FLbtk;Lcuq;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
Lgdl;a(Lezz;Lbtk;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
Lgdl;b(Lezz;Lbtk;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
Lgdl;a(FLezz;Lgdp$a;Lgcr;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
Lgdl;a(Lgcr;)Lgdl$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
Lgdl;b(Lgcr;)Lgdl$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
Lgdl;a(Lcuq;)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
Lgdl;a(Lgco;FFLbqu;FLcuq;FLezz;Lgdp;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
Lgdl;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
Lgdl;a(Lbqu;)V
-