Package com.lightning.northstar.content
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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<NorthstarPotatoProjectileEntityHitActions.Freezing> static final NorthstarPotatoProjectileEntityHitActions.Freezing -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction> codec()booleanexecute(net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.EntityHitResult ray, com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction.Type type)
-
Field Details
-
INSTANCE
-
CODEC
public static final com.mojang.serialization.MapCodec<NorthstarPotatoProjectileEntityHitActions.Freezing> CODEC
-
-
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:
executein interfacecom.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction
-
codec
public com.mojang.serialization.MapCodec<? extends com.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction> codec()- Specified by:
codecin interfacecom.simibubi.create.api.equipment.potatoCannon.PotatoProjectileEntityHitAction
-