Class PotatoCannonProjectileType

java.lang.Object
com.simibubi.create.content.curiosities.weapons.PotatoCannonProjectileType

public class PotatoCannonProjectileType extends Object
  • Constructor Details

    • PotatoCannonProjectileType

      protected PotatoCannonProjectileType()
  • Method Details

    • getItems

      public Set<net.minecraftforge.registries.IRegistryDelegate<net.minecraft.world.item.Item>> getItems()
    • getReloadTicks

      public int getReloadTicks()
    • getDamage

      public int getDamage()
    • getSplit

      public int getSplit()
    • getKnockback

      public float getKnockback()
    • getDrag

      public float getDrag()
    • getVelocityMultiplier

      public float getVelocityMultiplier()
    • getGravityMultiplier

      public float getGravityMultiplier()
    • getSoundPitch

      public float getSoundPitch()
    • isSticky

      public boolean isSticky()
    • getRenderMode

      public PotatoProjectileRenderMode getRenderMode()
    • preEntityHit

      public boolean preEntityHit(net.minecraft.world.phys.EntityHitResult ray)
    • onEntityHit

      public boolean onEntityHit(net.minecraft.world.phys.EntityHitResult ray)
    • onBlockHit

      public boolean onBlockHit(net.minecraft.world.level.LevelAccessor world, net.minecraft.world.phys.BlockHitResult ray)
    • fromJson

      public static PotatoCannonProjectileType fromJson(com.google.gson.JsonObject object)
    • toBuffer

      public static void toBuffer(PotatoCannonProjectileType type, net.minecraft.network.FriendlyByteBuf buffer)
    • fromBuffer

      public static PotatoCannonProjectileType fromBuffer(net.minecraft.network.FriendlyByteBuf buffer)