net.minecraft.world.level.block

public class BrushableBlock

extends BaseEntityBlock implements Fallable

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, Fallable

dks
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(dxw$a<dkm, dxv> 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 RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
public void
b(dxv arg0, dhi arg1, jh arg2, dxv 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(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam 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(dxv arg0, ash arg1, jh arg2, bam 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(dhi arg0, jh arg1, cma 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(dxv arg0, dhi arg1, jh arg2, bam 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(jh arg0, dxv 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()