public class PotatoCannonRenderHandler extends ShootableGadgetRenderHandler
dontReequipLeft, dontReequipRight, lastLeftHandAnimation, lastRightHandAnimation, leftHandAnimation, rightHandAnimation| Constructor and Description |
|---|
PotatoCannonRenderHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
appliesTo(net.minecraft.item.ItemStack stack) |
void |
beforeShoot(float nextPitch,
net.minecraft.util.math.vector.Vector3d location,
net.minecraft.util.math.vector.Vector3d motion,
net.minecraft.item.ItemStack stack) |
protected void |
playSound(net.minecraft.util.Hand hand,
net.minecraft.util.math.vector.Vector3d position) |
protected void |
transformHand(com.mojang.blaze3d.matrix.MatrixStack ms,
float flip,
float equipProgress,
float recoil,
float pt) |
protected void |
transformTool(com.mojang.blaze3d.matrix.MatrixStack ms,
float flip,
float equipProgress,
float recoil,
float pt) |
animationDecay, dontAnimateItem, getAnimation, onRenderPlayerHand, registerListeners, shoot, tickprotected void playSound(net.minecraft.util.Hand hand,
net.minecraft.util.math.vector.Vector3d position)
playSound in class ShootableGadgetRenderHandlerprotected boolean appliesTo(net.minecraft.item.ItemStack stack)
appliesTo in class ShootableGadgetRenderHandlerpublic void beforeShoot(float nextPitch,
net.minecraft.util.math.vector.Vector3d location,
net.minecraft.util.math.vector.Vector3d motion,
net.minecraft.item.ItemStack stack)
protected void transformTool(com.mojang.blaze3d.matrix.MatrixStack ms,
float flip,
float equipProgress,
float recoil,
float pt)
transformTool in class ShootableGadgetRenderHandlerprotected void transformHand(com.mojang.blaze3d.matrix.MatrixStack ms,
float flip,
float equipProgress,
float recoil,
float pt)
transformHand in class ShootableGadgetRenderHandler