net.minecraft.world.level.block

public class BrushableBlock

extends BaseEntityBlock implements Fallable

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, Fallable

dgd
net.minecraft.world.level.block.BrushableBlock
net.minecraft.class_8170
net.minecraft.block.BrushableBlock
net.minecraft.src.C_276390_
net.minecraft.world.level.block.BrushableBlock

Field summary

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

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()
m_304657_()
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public RenderShape
a_(dtc arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public void
b(dtc arg0, dcw arg1, jd arg2, dtc 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)
m_6807_(C_2064_ p_277984_, C_1596_ p_277869_, C_4675_ p_277926_, C_2064_ p_277736_, boolean arg4)
public BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_277455_, C_4687_ p_277832_, C_2064_ p_277473_, C_1598_ p_278111_, C_4675_ p_277904_, C_4675_ arg5)
public void
a(dtc arg0, aqu arg1, jd arg2, ayw 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)
m_213897_(C_2064_ p_277779_, C_12_ p_278019_, C_4675_ p_277471_, C_212974_ arg3)
public void
a(dcw arg0, jd arg1, cjg 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)
m_142525_(C_1596_ p_277734_, C_4675_ p_277539_, C_975_ arg2)
public void
a(dtc arg0, dcw arg1, jd arg2, ayw 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)
m_214162_(C_2064_ p_277525_, C_1596_ p_278107_, C_4675_ p_277574_, C_212974_ arg3)
public BlockEntity
a(jd arg0, dtc arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_277381_, C_2064_ arg1)
public Block
b()
getTurnsInto()
method_49810()
getBaseBlock()
m_277074_()
public SoundEvent
c()
getBrushSound()
method_49811()
getBrushingSound()
m_276856_()
public SoundEvent
d()
getBrushCompletedSound()
method_49812()
getBrushingCompleteSound()
m_277154_()