Interface PotatoProjectileBlockHitAction

All Known Implementing Classes:
AllPotatoProjectileBlockHitActions.PlaceBlockOnGround, AllPotatoProjectileBlockHitActions.PlantCrop

public interface PotatoProjectileBlockHitAction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<PotatoProjectileBlockHitAction>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends PotatoProjectileBlockHitAction>
     
    boolean
    execute(net.minecraft.world.level.LevelAccessor level, net.minecraft.world.item.ItemStack projectile, net.minecraft.world.phys.BlockHitResult ray)
     
  • Field Details

  • 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()