Class PotatoCannonRenderHandler

java.lang.Object
com.simibubi.create.content.curiosities.zapper.ShootableGadgetRenderHandler
com.simibubi.create.content.curiosities.weapons.PotatoCannonRenderHandler

public class PotatoCannonRenderHandler extends ShootableGadgetRenderHandler
  • Constructor Details

    • PotatoCannonRenderHandler

      public PotatoCannonRenderHandler()
  • Method Details

    • playSound

      protected void playSound(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 position)
      Specified by:
      playSound in class ShootableGadgetRenderHandler
    • appliesTo

      protected boolean appliesTo(net.minecraft.world.item.ItemStack stack)
      Specified by:
      appliesTo in class ShootableGadgetRenderHandler
    • 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:
      transformTool in class ShootableGadgetRenderHandler
    • transformHand

      protected void transformHand(com.mojang.blaze3d.vertex.PoseStack ms, float flip, float equipProgress, float recoil, float pt)
      Specified by:
      transformHand in class ShootableGadgetRenderHandler