Class PotatoCannonRenderHandler
java.lang.Object
com.simibubi.create.content.curiosities.zapper.ShootableGadgetRenderHandler
com.simibubi.create.content.curiosities.weapons.PotatoCannonRenderHandler
-
Field Summary
Fields inherited from class com.simibubi.create.content.curiosities.zapper.ShootableGadgetRenderHandler
dontReequipLeft, dontReequipRight, lastLeftHandAnimation, lastRightHandAnimation, leftHandAnimation, rightHandAnimation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanappliesTo(net.minecraft.world.item.ItemStack stack) voidbeforeShoot(float nextPitch, net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack stack) protected voidplaySound(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 position) protected voidtransformHand(com.mojang.blaze3d.vertex.PoseStack ms, float flip, float equipProgress, float recoil, float pt) protected voidtransformTool(com.mojang.blaze3d.vertex.PoseStack ms, float flip, float equipProgress, float recoil, float pt) Methods inherited from class com.simibubi.create.content.curiosities.zapper.ShootableGadgetRenderHandler
animationDecay, dontAnimateItem, getAnimation, onRenderPlayerHand, registerListeners, shoot, tick
-
Constructor Details
-
PotatoCannonRenderHandler
public PotatoCannonRenderHandler()
-
-
Method Details
-
playSound
protected void playSound(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 position) - Specified by:
playSoundin classShootableGadgetRenderHandler
-
appliesTo
protected boolean appliesTo(net.minecraft.world.item.ItemStack stack) - Specified by:
appliesToin classShootableGadgetRenderHandler
-
beforeShoot
public void beforeShoot(float nextPitch, net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack stack) -
transformTool
protected void transformTool(com.mojang.blaze3d.vertex.PoseStack ms, float flip, float equipProgress, float recoil, float pt) - Specified by:
transformToolin classShootableGadgetRenderHandler
-
transformHand
protected void transformHand(com.mojang.blaze3d.vertex.PoseStack ms, float flip, float equipProgress, float recoil, float pt) - Specified by:
transformHandin classShootableGadgetRenderHandler
-