Class ZapperRenderHandler
java.lang.Object
com.simibubi.create.content.curiosities.zapper.ShootableGadgetRenderHandler
com.simibubi.create.content.curiosities.zapper.ZapperRenderHandler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.simibubi.create.content.curiosities.zapper.ShootableGadgetRenderHandler
dontReequipLeft, dontReequipRight, lastLeftHandAnimation, lastRightHandAnimation, leftHandAnimation, rightHandAnimation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanappliesTo(net.minecraft.world.item.ItemStack stack) protected voidplaySound(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 position) voidtick()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
-
Field Details
-
cachedBeams
-
-
Constructor Details
-
ZapperRenderHandler
public ZapperRenderHandler()
-
-
Method Details
-
appliesTo
protected boolean appliesTo(net.minecraft.world.item.ItemStack stack) - Specified by:
appliesToin classShootableGadgetRenderHandler
-
tick
public void tick()- Overrides:
tickin classShootableGadgetRenderHandler
-
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
-
playSound
protected void playSound(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 position) - Specified by:
playSoundin classShootableGadgetRenderHandler
-
addBeam
-