net.minecraft.block

public class BrushableBlock

extends BlockWithEntity implements Falling

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, BlockEntityProvider, Falling

net.minecraft.world.level.block.BrushableBlock
net.minecraft.class_8170
net.minecraft.block.BrushableBlock

Field summary

Modifier and TypeField
private static final IntProperty
DUSTED
field_42774
DUSTED
public static final int
TICK_DELAY
field_42773
field_42773
private final Block
turnsInto
field_43232
baseBlock
private final SoundEvent
brushSound
field_43233
brushingSound
private final SoundEvent
brushCompletedSound
field_43234
brushingCompleteSound

Constructor summary

ModifierConstructor
public (Block baseBlock, SoundEvent brushingSound, SoundEvent brushingCompleteSound, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public void
onPlace(BlockState state, Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
public void
tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public void
onBrokenAfterFall(Level level, BlockPos pos, FallingBlockEntity entity)
method_10129(class_1937 arg0, class_2338 arg1, class_1540 arg2)
onDestroyedOnLanding(World arg0, BlockPos arg1, FallingBlockEntity arg2)
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
public BlockEntity
newBlockEntity(BlockPos worldPosition, BlockState blockState)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public Block
getTurnsInto()
method_49810()
getBaseBlock()
public SoundEvent
getBrushSound()
method_49811()
getBrushingSound()
public SoundEvent
getBrushCompletedSound()
method_49812()
getBrushingCompleteSound()