net.minecraft.world.level.block

public class SugarCaneBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dnz
net.minecraft.world.level.block.SugarCaneBlock
net.minecraft.class_2523
net.minecraft.block.SugarCaneBlock
net.minecraft.src.C_1930_
net.minecraft.world.level.block.BlockReed

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SugarCaneBlock>
a
CODEC
field_46467
CODEC
f_303800_
public static final IntegerProperty
b
AGE
field_11610
AGE
f_57164_
protected static final float
c
AABB_OFFSET
field_31258
field_31258
f_154735_
protected static final VoxelShape
d
SHAPE
field_11611
SHAPE
f_57165_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SugarCaneBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_57194_, C_1559_ p_57195_, C_4675_ p_57196_, C_3051_ arg3)
protected 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_222544_, C_12_ p_222545_, C_4675_ p_222546_, C_212974_ arg3)
protected void
b(dtc arg0, aqu arg1, jd arg2, ayw arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_213898_(C_2064_ p_222549_, C_12_ p_222550_, C_4675_ p_222551_, C_212974_ arg3)
protected 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_57180_, C_4687_ p_57181_, C_2064_ p_57182_, C_1598_ p_57183_, C_4675_ p_57184_, C_4675_ arg5)
protected boolean
a(dtc arg0, dcz arg1, jd arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_57176_, C_1599_ p_57177_, C_4675_ arg2)
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)