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.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(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)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> 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)
m_6807_(C_2064_ p_277984_, C_1596_ p_277869_, C_4675_ p_277926_, C_2064_ p_277736_, 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)
m_7417_(C_2064_ p_365867_, C_1599_ p_367791_, C_346056_ p_278111_, C_4675_ p_277455_, C_4687_ p_277904_, C_4675_ p_277832_, C_2064_ p_364049_, C_212974_ 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)
m_213897_(C_2064_ p_277779_, C_12_ p_278019_, C_4675_ p_277471_, C_212974_ 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)
m_142525_(C_1596_ p_277734_, C_4675_ p_277539_, C_975_ 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)
m_214162_(C_2064_ p_277525_, C_1596_ p_278107_, C_4675_ p_277574_, C_212974_ 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)
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_()