Class NorthstarPotatoProjectileEntityHitActions.Freezing

java.lang.Object
com.lightning.northstar.content.NorthstarPotatoProjectileEntityHitActions.Freezing
All Implemented Interfaces:
com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction
Enclosing class:
NorthstarPotatoProjectileEntityHitActions

public static class NorthstarPotatoProjectileEntityHitActions.Freezing extends Object implements com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction

    com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction.Type
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<NorthstarPotatoProjectileEntityHitActions.Freezing>
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction>
     
    boolean
    execute(net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.EntityHitResult ray, com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction.Type type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Freezing

      public Freezing()
  • Method Details

    • execute

      public boolean execute(net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.EntityHitResult ray, com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction.Type type)
      Specified by:
      execute in interface com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction
    • codec

      public com.mojang.serialization.MapCodec<? extends com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction> codec()
      Specified by:
      codec in interface com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction