Package net.frozenblock.lib.item.api.axe
Interface AxeBehaviors.AxeBehavior
- Enclosing class:
AxeBehaviors
public static interface AxeBehaviors.AxeBehavior
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStategetOutputBlockState(net.minecraft.world.level.block.state.BlockState state) booleanmeetsRequirements(net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, net.minecraft.world.level.block.state.BlockState state) voidonSuccess(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)
-