net.minecraft.client.renderer

public class ItemInHandRenderer

gev
net.minecraft.client.renderer.ItemInHandRenderer
net.minecraft.class_759
net.minecraft.client.render.item.HeldItemRenderer
net.minecraft.src.C_4131_

Field summary

Modifier and TypeField
private static final RenderType
a
MAP_BACKGROUND
field_21807
MAP_BACKGROUND
f_109297_
private static final RenderType
b
MAP_BACKGROUND_CHECKERBOARD
field_21808
MAP_BACKGROUND_CHECKERBOARD
f_109298_
private static final float
c
ITEM_SWING_X_POS_SCALE
field_32735
field_32735
f_172888_
private static final float
d
ITEM_SWING_Y_POS_SCALE
field_32736
field_32736
f_172889_
private static final float
e
ITEM_SWING_Z_POS_SCALE
field_32737
field_32737
f_172890_
private static final float
f
ITEM_HEIGHT_SCALE
field_32738
field_32738
f_172891_
private static final float
g
ITEM_POS_X
field_32739
EQUIP_OFFSET_TRANSLATE_X
f_172892_
private static final float
h
ITEM_POS_Y
field_32740
EQUIP_OFFSET_TRANSLATE_Y
f_172893_
private static final float
i
ITEM_POS_Z
field_32741
EQUIP_OFFSET_TRANSLATE_Z
f_172894_
private static final float
j
ITEM_PRESWING_ROT_Y
field_32742
field_32742
f_172895_
private static final float
k
ITEM_SWING_X_ROT_AMOUNT
field_32743
field_32743
f_172896_
private static final float
l
ITEM_SWING_Y_ROT_AMOUNT
field_32744
field_32744
f_172897_
private static final float
m
ITEM_SWING_Z_ROT_AMOUNT
field_32745
field_32745
f_172898_
private static final float
n
EAT_JIGGLE_X_ROT_AMOUNT
field_32746
EAT_OR_DRINK_X_ANGLE_MULTIPLIER
f_172899_
private static final float
o
EAT_JIGGLE_Y_ROT_AMOUNT
field_32747
EAT_OR_DRINK_Y_ANGLE_MULTIPLIER
f_172900_
private static final float
p
EAT_JIGGLE_Z_ROT_AMOUNT
field_32748
EAT_OR_DRINK_Z_ANGLE_MULTIPLIER
f_172901_
private static final float
q
EAT_JIGGLE_X_POS_SCALE
field_32749
field_32749
f_172902_
private static final float
r
EAT_JIGGLE_Y_POS_SCALE
field_32750
field_32750
f_172903_
private static final float
s
EAT_JIGGLE_Z_POS_SCALE
field_32751
field_32751
f_172904_
private static final double
t
EAT_JIGGLE_EXPONENT
field_32752
field_32752
f_172905_
private static final float
u
EAT_EXTRA_JIGGLE_CUTOFF
field_32753
field_32753
f_172906_
private static final float
v
EAT_EXTRA_JIGGLE_SCALE
field_32754
field_32754
f_172907_
private static final float
w
ARM_SWING_X_POS_SCALE
field_32755
field_32755
f_172908_
private static final float
x
ARM_SWING_Y_POS_SCALE
field_32756
field_32756
f_172909_
private static final float
y
ARM_SWING_Z_POS_SCALE
field_32757
field_32757
f_172910_
private static final float
z
ARM_SWING_Y_ROT_AMOUNT
field_32758
ARM_HOLDING_ITEM_SECOND_Y_ANGLE_MULTIPLIER
f_172911_
private static final float
A
ARM_SWING_Z_ROT_AMOUNT
field_32689
ARM_HOLDING_ITEM_FIRST_Z_ANGLE_MULTIPLIER
f_172842_
private static final float
B
ARM_HEIGHT_SCALE
field_32690
field_32690
f_172843_
private static final float
C
ARM_POS_SCALE
field_32691
field_32691
f_172844_
private static final float
D
ARM_POS_X
field_32692
field_32692
f_172845_
private static final float
E
ARM_POS_Y
field_32693
field_32693
f_172846_
private static final float
F
ARM_POS_Z
field_32694
field_32694
f_172847_
private static final float
G
ARM_PRESWING_ROT_Y
field_32695
field_32695
f_172848_
private static final float
H
ARM_PREROTATION_X_OFFSET
field_32696
field_32696
f_172849_
private static final float
I
ARM_PREROTATION_Y_OFFSET
field_32697
field_32697
f_172850_
private static final float
J
ARM_PREROTATION_Z_OFFSET
field_32698
field_32698
f_172851_
private static final float
K
ARM_POSTROTATION_X_OFFSET
field_32699
ARM_HOLDING_ITEM_TRANSLATE_X
f_172852_
private static final int
L
ARM_ROT_X
field_32700
ARM_HOLDING_ITEM_X_ANGLE_MULTIPLIER
f_172853_
private static final int
M
ARM_ROT_Y
field_32701
ARM_HOLDING_ITEM_THIRD_Y_ANGLE_MULTIPLIER
f_172854_
private static final int
N
ARM_ROT_Z
field_32702
ARM_HOLDING_ITEM_SECOND_Z_ANGLE_MULTIPLIER
f_172855_
private static final float
O
MAP_SWING_X_POS_SCALE
field_32703
field_32703
f_172856_
private static final float
P
MAP_SWING_Z_POS_SCALE
field_32704
field_32704
f_172857_
private static final float
Q
MAP_HANDS_POS_X
field_32705
field_32705
f_172858_
private static final float
R
MAP_HANDS_POS_Y
field_32706
field_32706
f_172859_
private static final float
S
MAP_HANDS_POS_Z
field_32707
field_32707
f_172860_
private static final float
T
MAP_HANDS_HEIGHT_SCALE
field_32708
field_32708
f_172861_
private static final float
U
MAP_HANDS_TILT_SCALE
field_32709
field_32709
f_172862_
private static final float
V
MAP_PLAYER_PITCH_SCALE
field_32710
field_32710
f_172863_
private static final float
W
MAP_HANDS_Z_ROT_AMOUNT
field_32711
field_32711
f_172864_
private static final float
X
MAPHAND_X_ROT_AMOUNT
field_32712
ARM_X_ANGLE_MULTIPLIER
f_172865_
private static final float
Y
MAPHAND_Y_ROT_AMOUNT
field_32713
ARM_Y_ANGLE_MULTIPLIER
f_172866_
private static final float
Z
MAPHAND_Z_ROT_AMOUNT
field_32714
ARM_Z_ANGLE_MULTIPLIER
f_172867_
private static final float
aa
MAP_HAND_X_POS
field_32715
ARM_TRANSLATE_X
f_172868_
private static final float
ab
MAP_HAND_Y_POS
field_32716
ARM_TRANSLATE_Y
f_172869_
private static final float
ac
MAP_HAND_Z_POS
field_32717
ARM_TRANSLATE_Z
f_172870_
private static final float
ad
MAP_SWING_X_ROT_AMOUNT
field_32718
field_32718
f_172871_
private static final float
ae
MAP_PRE_ROT_SCALE
field_32719
FIRST_PERSON_MAP_FIRST_SCALE
f_172872_
private static final float
af
MAP_GLOBAL_X_POS
field_32720
FIRST_PERSON_MAP_TRANSLATE_X
f_172873_
private static final float
ag
MAP_GLOBAL_Y_POS
field_32721
FIRST_PERSON_MAP_TRANSLATE_Y
f_172874_
private static final float
ah
MAP_GLOBAL_Z_POS
field_32722
FIRST_PERSON_MAP_TRANSLATE_Z
f_172875_
private static final float
ai
MAP_FINAL_SCALE
field_32723
FIRST_PERSON_MAP_SECOND_SCALE
f_172876_
private static final int
aj
MAP_BORDER
field_32724
field_32724
f_172877_
private static final int
ak
MAP_HEIGHT
field_32725
field_32725
f_172878_
private static final int
al
MAP_WIDTH
field_32726
field_32726
f_172879_
private static final float
am
BOW_CHARGE_X_POS_SCALE
field_32727
field_32727
f_172880_
private static final float
an
BOW_CHARGE_Y_POS_SCALE
field_32728
field_32728
f_172881_
private static final float
ao
BOW_CHARGE_Z_POS_SCALE
field_32729
field_32729
f_172882_
private static final float
ap
BOW_CHARGE_SHAKE_X_SCALE
field_32730
field_32730
f_172883_
private static final float
aq
BOW_CHARGE_SHAKE_Y_SCALE
field_32731
field_32731
f_172884_
private static final float
ar
BOW_CHARGE_SHAKE_Z_SCALE
field_32732
field_32732
f_172885_
private static final float
as
BOW_CHARGE_Z_SCALE
field_32733
field_32733
f_172886_
private static final float
at
BOW_MIN_SHAKE_CHARGE
field_32734
field_32734
f_172887_
private final Minecraft
au
minecraft
field_4050
client
f_109299_
private ItemStack
av
mainHandItem
field_4047
mainHand
f_109300_
private ItemStack
aw
offHandItem
field_4048
offHand
f_109301_
private float
ax
mainHandHeight
field_4043
equipProgressMainHand
f_109302_
private float
ay
oMainHandHeight
field_4053
prevEquipProgressMainHand
f_109303_
private float
az
offHandHeight
field_4052
equipProgressOffHand
f_109304_
private float
aA
oOffHandHeight
field_4051
prevEquipProgressOffHand
f_109305_
private final EntityRenderDispatcher
aB
entityRenderDispatcher
field_4046
entityRenderDispatcher
f_109306_
private final ItemRenderer
aC
itemRenderer
field_4044
itemRenderer
f_109307_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(btn arg0, cuq arg1, cun arg2, boolean arg3, fbi arg4, gez 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)
m_269530_(C_524_ p_270793_, C_1391_ p_270837_, C_268388_ p_270203_, boolean p_270974_, C_3181_ p_270686_, C_4139_ p_270103_, int arg6)
private float
a(float arg0)
calculateMapTilt(float arg0)
method_3227(float arg0)
getMapAngle(float tickDelta)
m_109312_(float arg0)
private void
a(fbi arg0, gez arg1, int arg2, btg 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)
m_109361_(C_3181_ p_109363_, C_4139_ p_109364_, int p_109365_, C_520_ arg3)
private void
a(fbi arg0, gez arg1, int arg2, float arg3, btg arg4, float arg5, cuq 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)
m_109353_(C_3181_ p_109355_, C_4139_ p_109356_, int p_109357_, float p_109358_, C_520_ p_109359_, float p_109360_, C_1391_ arg6)
private void
a(fbi arg0, gez 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)
m_109339_(C_3181_ p_109341_, C_4139_ p_109342_, int p_109343_, float p_109344_, float p_109345_, float arg5)
private void
a(fbi arg0, gez arg1, int arg2, cuq 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)
m_109366_(C_3181_ p_109368_, C_4139_ p_109369_, int p_109370_, C_1391_ arg3)
private void
a(fbi arg0, gez arg1, int arg2, float arg3, float arg4, btg 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)
m_109346_(C_3181_ p_109348_, C_4139_ p_109349_, int p_109350_, float p_109351_, float p_109352_, C_520_ arg5)
private void
a(fbi arg0, float arg1, btg arg2, cuq arg3, cmx 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)
m_109330_(C_3181_ p_109332_, float p_109333_, C_520_ p_109334_, C_1391_ p_343800_, C_1141_ arg4)
private void
a(fbi arg0, float arg1, btg arg2, cuq arg3, cmx 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)
m_271982_(C_3181_ p_273245_, float p_273726_, C_520_ p_272809_, C_1391_ p_344712_, C_1141_ p_273333_, float arg5)
private void
a(fbi arg0, btg 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)
m_109335_(C_3181_ p_109337_, C_520_ p_109338_, float arg2)
private void
b(fbi arg0, btg 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)
m_109382_(C_3181_ p_109384_, C_520_ p_109385_, float arg2)
public void
a(float arg0, fbi arg1, gez$a arg2, geb 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)
m_109314_(float p_109316_, C_3181_ p_109317_, C_4139_$C_4140_ p_109318_, C_4105_ p_109319_, int arg4)
static ItemInHandRenderer$HandRenderSelection
a(geb arg0)
evaluateWhichHandsToRender(LocalPlayer arg0)
method_33303(class_746 arg0)
getHandRenderType(ClientPlayerEntity player)
m_172914_(C_4105_ p_172915_)
private static ItemInHandRenderer$HandRenderSelection
b(geb arg0)
selectionUsingItemWhileHoldingBowLike(LocalPlayer arg0)
method_33304(class_746 arg0)
getUsingItemHandRenderType(ClientPlayerEntity player)
m_172916_(C_4105_ p_172917_)
private static boolean
a(cuq arg0)
isChargedCrossbow(ItemStack arg0)
method_33302(class_1799 arg0)
isChargedCrossbow(ItemStack stack)
m_172912_(C_1391_ p_172913_)
private void
a(gdy arg0, float arg1, float arg2, bqq arg3, float arg4, cuq arg5, float arg6, fbi arg7, gez 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)
m_109371_(C_4102_ p_109373_, float p_109374_, float p_109375_, C_470_ p_109376_, float p_109377_, C_1391_ p_109378_, float p_109379_, C_3181_ p_109380_, C_4139_ p_109381_, int arg9)
public void
a()
tick()
method_3220()
updateHeldItems()
m_109311_()
public void
a(bqq arg0)
itemUsed(InteractionHand arg0)
method_3215(class_1268 arg0)
resetEquipProgress(Hand hand)
m_109320_(C_470_ arg0)