net.minecraft.client.renderer

public class ItemInHandRenderer

gle
net.minecraft.client.renderer.ItemInHandRenderer
net.minecraft.class_759
net.minecraft.client.render.item.HeldItemRenderer

Field summary

Modifier and TypeField
private static final RenderType
a
MAP_BACKGROUND
field_21807
MAP_BACKGROUND
private static final RenderType
b
MAP_BACKGROUND_CHECKERBOARD
field_21808
MAP_BACKGROUND_CHECKERBOARD
private static final float
c
ITEM_SWING_X_POS_SCALE
field_32735
field_32735
private static final float
d
ITEM_SWING_Y_POS_SCALE
field_32736
field_32736
private static final float
e
ITEM_SWING_Z_POS_SCALE
field_32737
field_32737
private static final float
f
ITEM_HEIGHT_SCALE
field_32738
field_32738
private static final float
g
ITEM_POS_X
field_32739
EQUIP_OFFSET_TRANSLATE_X
private static final float
h
ITEM_POS_Y
field_32740
EQUIP_OFFSET_TRANSLATE_Y
private static final float
i
ITEM_POS_Z
field_32741
EQUIP_OFFSET_TRANSLATE_Z
private static final float
j
ITEM_PRESWING_ROT_Y
field_32742
field_32742
private static final float
k
ITEM_SWING_X_ROT_AMOUNT
field_32743
field_32743
private static final float
l
ITEM_SWING_Y_ROT_AMOUNT
field_32744
field_32744
private static final float
m
ITEM_SWING_Z_ROT_AMOUNT
field_32745
field_32745
private static final float
n
EAT_JIGGLE_X_ROT_AMOUNT
field_32746
EAT_OR_DRINK_X_ANGLE_MULTIPLIER
private static final float
o
EAT_JIGGLE_Y_ROT_AMOUNT
field_32747
EAT_OR_DRINK_Y_ANGLE_MULTIPLIER
private static final float
p
EAT_JIGGLE_Z_ROT_AMOUNT
field_32748
EAT_OR_DRINK_Z_ANGLE_MULTIPLIER
private static final float
q
EAT_JIGGLE_X_POS_SCALE
field_32749
field_32749
private static final float
r
EAT_JIGGLE_Y_POS_SCALE
field_32750
field_32750
private static final float
s
EAT_JIGGLE_Z_POS_SCALE
field_32751
field_32751
private static final double
t
EAT_JIGGLE_EXPONENT
field_32752
field_32752
private static final float
u
EAT_EXTRA_JIGGLE_CUTOFF
field_32753
field_32753
private static final float
v
EAT_EXTRA_JIGGLE_SCALE
field_32754
field_32754
private static final float
w
ARM_SWING_X_POS_SCALE
field_32755
field_32755
private static final float
x
ARM_SWING_Y_POS_SCALE
field_32756
field_32756
private static final float
y
ARM_SWING_Z_POS_SCALE
field_32757
field_32757
private static final float
z
ARM_SWING_Y_ROT_AMOUNT
field_32758
ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER
private static final float
A
ARM_SWING_Z_ROT_AMOUNT
field_32689
ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER
private static final float
B
ARM_HEIGHT_SCALE
field_32690
field_32690
private static final float
C
ARM_POS_SCALE
field_32691
field_32691
private static final float
D
ARM_POS_X
field_32692
field_32692
private static final float
E
ARM_POS_Y
field_32693
field_32693
private static final float
F
ARM_POS_Z
field_32694
field_32694
private static final float
G
ARM_PRESWING_ROT_Y
field_32695
field_32695
private static final float
H
ARM_PREROTATION_X_OFFSET
field_32696
field_32696
private static final float
I
ARM_PREROTATION_Y_OFFSET
field_32697
field_32697
private static final float
J
ARM_PREROTATION_Z_OFFSET
field_32698
field_32698
private static final float
K
ARM_POSTROTATION_X_OFFSET
field_32699
ARM_HOLDING_ITEM_TRANSLATE_X
private static final int
L
ARM_ROT_X
field_32700
ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER
private static final int
M
ARM_ROT_Y
field_32701
ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER
private static final int
N
ARM_ROT_Z
field_32702
ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER
private static final float
O
MAP_SWING_X_POS_SCALE
field_32703
field_32703
private static final float
P
MAP_SWING_Z_POS_SCALE
field_32704
field_32704
private static final float
Q
MAP_HANDS_POS_X
field_32705
field_32705
private static final float
R
MAP_HANDS_POS_Y
field_32706
field_32706
private static final float
S
MAP_HANDS_POS_Z
field_32707
field_32707
private static final float
T
MAP_HANDS_HEIGHT_SCALE
field_32708
field_32708
private static final float
U
MAP_HANDS_TILT_SCALE
field_32709
field_32709
private static final float
V
MAP_PLAYER_PITCH_SCALE
field_32710
field_32710
private static final float
W
MAP_HANDS_Z_ROT_AMOUNT
field_32711
field_32711
private static final float
X
MAPHAND_X_ROT_AMOUNT
field_32712
ARM_X_ANGLE_MULTIPLIER
private static final float
Y
MAPHAND_Y_ROT_AMOUNT
field_32713
ARM_Y_ANGLE_MULTIPLIER
private static final float
Z
MAPHAND_Z_ROT_AMOUNT
field_32714
ARM_Z_ANGLE_MULTIPLIER
private static final float
aa
MAP_HAND_X_POS
field_32715
ARM_TRANSLATE_X
private static final float
ab
MAP_HAND_Y_POS
field_32716
ARM_TRANSLATE_Y
private static final float
ac
MAP_HAND_Z_POS
field_32717
ARM_TRANSLATE_Z
private static final float
ad
MAP_SWING_X_ROT_AMOUNT
field_32718
field_32718
private static final float
ae
MAP_PRE_ROT_SCALE
field_32719
FIRST_PERSON_MAP_FIRST_SCALE
private static final float
af
MAP_GLOBAL_X_POS
field_32720
FIRST_PERSON_MAP_TRANSLATE_X
private static final float
ag
MAP_GLOBAL_Y_POS
field_32721
FIRST_PERSON_MAP_TRANSLATE_Y
private static final float
ah
MAP_GLOBAL_Z_POS
field_32722
FIRST_PERSON_MAP_TRANSLATE_Z
private static final float
ai
MAP_FINAL_SCALE
field_32723
FIRST_PERSON_MAP_SECOND_SCALE
private static final int
aj
MAP_BORDER
field_32724
field_32724
private static final int
ak
MAP_HEIGHT
field_32725
field_32725
private static final int
al
MAP_WIDTH
field_32726
field_32726
private static final float
am
BOW_CHARGE_X_POS_SCALE
field_32727
field_32727
private static final float
an
BOW_CHARGE_Y_POS_SCALE
field_32728
field_32728
private static final float
ao
BOW_CHARGE_Z_POS_SCALE
field_32729
field_32729
private static final float
ap
BOW_CHARGE_SHAKE_X_SCALE
field_32730
field_32730
private static final float
aq
BOW_CHARGE_SHAKE_Y_SCALE
field_32731
field_32731
private static final float
ar
BOW_CHARGE_SHAKE_Z_SCALE
field_32732
field_32732
private static final float
as
BOW_CHARGE_Z_SCALE
field_32733
field_32733
private static final float
at
BOW_MIN_SHAKE_CHARGE
field_32734
field_32734
private final Minecraft
au
minecraft
field_4050
client
private final MapRenderState
av
mapRenderState
field_53067
field_53067
private ItemStack
aw
mainHandItem
field_4047
mainHand
private ItemStack
ax
offHandItem
field_4048
offHand
private float
ay
mainHandHeight
field_4043
equipProgressMainHand
private float
az
oMainHandHeight
field_4053
prevEquipProgressMainHand
private float
aA
offHandHeight
field_4052
equipProgressOffHand
private float
aB
oOffHandHeight
field_4051
prevEquipProgressOffHand
private final EntityRenderDispatcher
aC
entityRenderDispatcher
field_4046
entityRenderDispatcher
private final ItemRenderer
aD
itemRenderer
field_4044
itemRenderer

Constructor summary

ModifierConstructor
public (Minecraft client, EntityRenderDispatcher entityRenderDispatcher, ItemRenderer itemRenderer)

Method summary

Modifier and TypeMethod
public void
a(bwg arg0, cxp arg1, cxn arg2, boolean arg3, fgs arg4, gll arg5, int arg6)
renderItem(LivingEntity arg0, ItemStack arg1, ItemDisplayContext arg2, boolean arg3, PoseStack arg4, MultiBufferSource arg5, int arg6)
method_3233(class_1309 arg0, class_1799 arg1, class_811 arg2, boolean arg3, class_4587 arg4, class_4597 arg5, int arg6)
renderItem(LivingEntity entity, ItemStack stack, ModelTransformationMode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
private float
a(float arg0)
calculateMapTilt(float arg0)
method_3227(float arg0)
getMapAngle(float tickDelta)
private void
a(fgs arg0, gll arg1, int arg2, bwa arg3)
renderMapHand(PoseStack arg0, MultiBufferSource arg1, int arg2, HumanoidArm arg3)
method_3216(class_4587 arg0, class_4597 arg1, int arg2, class_1306 arg3)
renderArm(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Arm arm)
private void
a(fgs arg0, gll arg1, int arg2, float arg3, bwa arg4, float arg5, cxp arg6)
renderOneHandedMap(PoseStack arg0, MultiBufferSource arg1, int arg2, float arg3, HumanoidArm arg4, float arg5, ItemStack arg6)
method_3222(class_4587 arg0, class_4597 arg1, int arg2, float arg3, class_1306 arg4, float arg5, class_1799 arg6)
renderMapInOneHand(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, Arm arm, float swingProgress, ItemStack stack)
private void
a(fgs arg0, gll arg1, int arg2, float arg3, float arg4, float arg5)
renderTwoHandedMap(PoseStack arg0, MultiBufferSource arg1, int arg2, float arg3, float arg4, float arg5)
method_3231(class_4587 arg0, class_4597 arg1, int arg2, float arg3, float arg4, float arg5)
renderMapInBothHands(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float pitch, float equipProgress, float swingProgress)
private void
a(fgs arg0, gll arg1, int arg2, cxp arg3)
renderMap(PoseStack arg0, MultiBufferSource arg1, int arg2, ItemStack arg3)
method_3223(class_4587 arg0, class_4597 arg1, int arg2, class_1799 arg3)
renderFirstPersonMap(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int swingProgress, ItemStack stack)
private void
a(fgs arg0, gll arg1, int arg2, float arg3, float arg4, bwa arg5)
renderPlayerArm(PoseStack arg0, MultiBufferSource arg1, int arg2, float arg3, float arg4, HumanoidArm arg5)
method_3219(class_4587 arg0, class_4597 arg1, int arg2, float arg3, float arg4, class_1306 arg5)
renderArmHoldingItem(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float equipProgress, float swingProgress, Arm arm)
private void
a(fgs arg0, float arg1, bwa arg2, cxp arg3, cpx arg4)
applyEatTransform(PoseStack arg0, float arg1, HumanoidArm arg2, ItemStack arg3, Player arg4)
method_3218(class_4587 arg0, float arg1, class_1306 arg2, class_1799 arg3, class_1657 arg4)
applyEatOrDrinkTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player)
private void
a(fgs arg0, float arg1, bwa arg2, cxp arg3, cpx arg4, float arg5)
applyBrushTransform(PoseStack arg0, float arg1, HumanoidArm arg2, ItemStack arg3, Player arg4, float arg5)
method_49340(class_4587 arg0, float arg1, class_1306 arg2, class_1799 arg3, class_1657 arg4, float arg5)
applyBrushTransformation(MatrixStack matrices, float tickDelta, Arm arm, ItemStack stack, PlayerEntity player, float equipProgress)
private void
a(fgs arg0, bwa arg1, float arg2)
applyItemArmAttackTransform(PoseStack arg0, HumanoidArm arg1, float arg2)
method_3217(class_4587 arg0, class_1306 arg1, float arg2)
applySwingOffset(MatrixStack matrices, Arm arm, float swingProgress)
private void
b(fgs arg0, bwa arg1, float arg2)
applyItemArmTransform(PoseStack arg0, HumanoidArm arg1, float arg2)
method_3224(class_4587 arg0, class_1306 arg1, float arg2)
applyEquipOffset(MatrixStack matrices, Arm arm, float equipProgress)
public void
a(float arg0, fgs arg1, gll$a arg2, gkh arg3, int arg4)
renderHandsWithItems(float arg0, PoseStack arg1, MultiBufferSource$BufferSource arg2, LocalPlayer arg3, int arg4)
method_22976(float arg0, class_4587 arg1, class_4597$class_4598 arg2, class_746 arg3, int arg4)
renderItem(float tickDelta, MatrixStack matrices, VertexConsumerProvider$Immediate vertexConsumers, ClientPlayerEntity player, int light)
static ItemInHandRenderer$HandRenderSelection
a(gkh arg0)
evaluateWhichHandsToRender(LocalPlayer arg0)
method_33303(class_746 arg0)
getHandRenderType(ClientPlayerEntity player)
private static ItemInHandRenderer$HandRenderSelection
b(gkh arg0)
selectionUsingItemWhileHoldingBowLike(LocalPlayer arg0)
method_33304(class_746 arg0)
getUsingItemHandRenderType(ClientPlayerEntity player)
private static boolean
a(cxp arg0)
isChargedCrossbow(ItemStack arg0)
method_33302(class_1799 arg0)
isChargedCrossbow(ItemStack stack)
private void
a(gke arg0, float arg1, float arg2, bti arg3, float arg4, cxp arg5, float arg6, fgs arg7, gll arg8, int arg9)
renderArmWithItem(AbstractClientPlayer arg0, float arg1, float arg2, InteractionHand arg3, float arg4, ItemStack arg5, float arg6, PoseStack arg7, MultiBufferSource arg8, int arg9)
method_3228(class_742 arg0, float arg1, float arg2, class_1268 arg3, float arg4, class_1799 arg5, float arg6, class_4587 arg7, class_4597 arg8, int arg9)
renderFirstPersonItem(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
public void
a()
tick()
method_3220()
updateHeldItems()
public void
a(bti arg0)
itemUsed(InteractionHand arg0)
method_3215(class_1268 arg0)
resetEquipProgress(Hand hand)