Interface PotatoProjectileBlockHitAction
- All Known Implementing Classes:
AllPotatoProjectileBlockHitActions.PlaceBlockOnGround,AllPotatoProjectileBlockHitActions.PlantCrop
public interface PotatoProjectileBlockHitAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PotatoProjectileBlockHitAction> -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends PotatoProjectileBlockHitAction> codec()booleanexecute(net.minecraft.world.level.LevelAccessor level, net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.BlockHitResult ray)
-
Field Details
-
CODEC
-
-
Method Details
-
execute
boolean execute(net.minecraft.world.level.LevelAccessor level, net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.BlockHitResult ray) -
codec
com.mojang.serialization.MapCodec<? extends PotatoProjectileBlockHitAction> codec()
-