Interface ShovelBehaviors.ShovelBehavior

Enclosing class:
ShovelBehaviors

public static interface ShovelBehaviors.ShovelBehavior
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.state.BlockState
    getOutputBlockState(net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    meetsRequirements(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState state)
     
    void
    onSuccess(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState oldState)
     
  • Method Details

    • meetsRequirements

      boolean meetsRequirements(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState state)
    • getOutputBlockState

      net.minecraft.world.level.block.state.BlockState getOutputBlockState(net.minecraft.world.level.block.state.BlockState state)
    • onSuccess

      void onSuccess(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState oldState)