net.minecraft.world.level.block

public class BrushableBlock

extends BaseEntityBlock implements Fallable

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, Fallable

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BrushableBlock>
a
CODEC
field_46290
CODEC
private static final IntegerProperty
c
DUSTED
field_42774
DUSTED
public static final int
b
TICK_DELAY
field_42773
field_42773
private final Block
d
turnsInto
field_43232
baseBlock
private final SoundEvent
e
brushSound
field_43233
brushingSound
private final SoundEvent
f
brushCompletedSound
field_43234
brushingCompleteSound

Constructor summary

ModifierConstructor
public (Block baseBlock, SoundEvent brushingSound, SoundEvent brushingCompleteSound, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BrushableBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public void
b(dwy arg0, dgj arg1, ji arg2, dwy arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
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
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
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
a(dwy arg0, ard arg1, ji arg2, azh arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
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
a(dgj arg0, ji arg1, clc arg2)
onBrokenAfterFall(Level arg0, BlockPos arg1, FallingBlockEntity arg2)
method_10129(class_1937 arg0, class_2338 arg1, class_1540 arg2)
onDestroyedOnLanding(World arg0, BlockPos arg1, FallingBlockEntity arg2)
public void
a(dwy arg0, dgj arg1, ji arg2, azh arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
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
a(ji arg0, dwy arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public Block
b()
getTurnsInto()
method_49810()
getBaseBlock()
public SoundEvent
c()
getBrushSound()
method_49811()
getBrushingSound()
public SoundEvent
d()
getBrushCompletedSound()
method_49812()
getBrushingCompleteSound()