net.minecraft.world.level.block

public class SaplingBlock

extends VegetationBlock implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

dww
net.minecraft.world.level.block.SaplingBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SaplingBlock>
e
CODEC
public static final IntegerProperty
f
STAGE
private static final VoxelShape
a
SHAPE
protected final TreeGrower
g
treeGrower

Constructor summary

ModifierConstructor
protected (TreeGrower arg0, BlockBehaviour$Properties arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends SaplingBlock>
a()
codec()
protected VoxelShape
a(eeb arg0, dly arg1, jb arg2, fix arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
protected void
b(eeb arg0, aub arg1, jb arg2, bck arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
public void
a(aub arg0, jb arg1, eeb arg2, bck arg3)
advanceTree(ServerLevel arg0, BlockPos arg1, BlockState arg2, RandomSource arg3)
public boolean
a(dmx arg0, jb arg1, eeb arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
public boolean
a(dmu arg0, bck arg1, jb arg2, eeb arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
public void
a(aub arg0, bck arg1, jb arg2, eeb arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
protected void
a(eec$a<dpz, eeb> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)