Class FirstPersonHandsAndItems
java.lang.Object
net.minecraft.client.player.FirstPersonHandsAndItems
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanextractMapRenderState(LocalPlayer player, ItemStack itemStack, MapRenderState state) voidextractRenderState(LocalPlayer player, float partialTicks, FirstPersonHandsAndItemsRenderState state) private static booleanisChargedCrossbow(ItemStack item) voiditemUsed(InteractionHand hand) private booleanshouldInstantlyReplaceVisibleItem(ItemStack currentlyVisibleItem, ItemStack expectedItem, LocalPlayer player) voidtick(LocalPlayer player)
-
Field Details
-
mainHandItem
-
offHandItem
-
mainHandHeight
private float mainHandHeight -
oMainHandHeight
private float oMainHandHeight -
offHandHeight
private float offHandHeight -
oOffHandHeight
private float oOffHandHeight
-
-
Constructor Details
-
FirstPersonHandsAndItems
public FirstPersonHandsAndItems()
-
-
Method Details
-
tick
-
itemUsed
-
extractRenderState
public void extractRenderState(LocalPlayer player, float partialTicks, FirstPersonHandsAndItemsRenderState state) -
shouldInstantlyReplaceVisibleItem
private boolean shouldInstantlyReplaceVisibleItem(ItemStack currentlyVisibleItem, ItemStack expectedItem, LocalPlayer player) -
extractMapRenderState
private boolean extractMapRenderState(LocalPlayer player, ItemStack itemStack, MapRenderState state) -
evaluateWhichHandsToRender
public static FirstPersonHandsAndItemsRenderState.HandRenderSelection evaluateWhichHandsToRender(LocalPlayer player) -
isChargedCrossbow
-