Interface PotatoProjectileEntityHitAction
- All Known Implementing Classes:
AllPotatoProjectileEntityHitActions.ChorusTeleport,AllPotatoProjectileEntityHitActions.CureZombieVillager,AllPotatoProjectileEntityHitActions.FoodEffects,AllPotatoProjectileEntityHitActions.PotionEffect,AllPotatoProjectileEntityHitActions.SetOnFire,AllPotatoProjectileEntityHitActions.SuspiciousStew
public interface PotatoProjectileEntityHitAction
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PotatoProjectileEntityHitAction> -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends PotatoProjectileEntityHitAction> codec()booleanexecute(net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.EntityHitResult ray, PotatoProjectileEntityHitAction.Type type)
-
Field Details
-
CODEC
-
-
Method Details
-
execute
boolean execute(net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.EntityHitResult ray, PotatoProjectileEntityHitAction.Type type) -
codec
com.mojang.serialization.MapCodec<? extends PotatoProjectileEntityHitAction> codec()
-