Class FirstPersonArms
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.armature.vanilla.FirstPersonArms
Your own arms in first person, posed as the player's clips pose them (
VanillaModel.firstPersonArms). Drawn in
the hand pass, in place of vanilla's first-person hands: from the camera, the player's own model is laid out as it
stands (feet below the eyes, body facing and tilting with where you look), posed exactly as others see it, and only
its arms and what they hold are drawn. Being in the hand pass, they have the hands' own depth and near
plane, so they never sink into walls or get cut by the camera.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandraw(float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector collector, net.minecraft.client.player.LocalPlayer player, int light) Draws the arms if they should be; true when they were, and vanilla's hands should not be.
-
Method Details
-
draw
public static boolean draw(float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector collector, net.minecraft.client.player.LocalPlayer player, int light) Draws the arms if they should be; true when they were, and vanilla's hands should not be.
-