net.minecraft.world.level.block

public class DoublePlantBlock

extends BushBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dmw
net.minecraft.world.level.block.DoublePlantBlock
net.minecraft.class_2320
net.minecraft.block.TallPlantBlock
net.minecraft.world.level.block.BlockTallPlant

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<DoublePlantBlock>
a
CODEC
field_46338
CODEC
public static final EnumProperty<DoubleBlockHalf>
b
HALF
field_10929
HALF

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends DoublePlantBlock>
a()
codec()
method_53969()
getCodec()
protected 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 BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public void
a(dhi arg0, jh arg1, dxv arg2, bwg arg3, cxp arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
protected boolean
a(dxv arg0, dhl arg1, jh 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)
public static void
a(dhj arg0, dxv arg1, jh arg2, int arg3)
placeAt(LevelAccessor arg0, BlockState arg1, BlockPos arg2, int arg3)
method_10021(class_1936 arg0, class_2680 arg1, class_2338 arg2, int arg3)
placeAt(WorldAccess world, BlockState state, BlockPos pos, int flags)
public static BlockState
c(dhl arg0, jh arg1, dxv arg2)
copyWaterloggedFrom(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_37458(class_4538 arg0, class_2338 arg1, class_2680 arg2)
withWaterloggedState(WorldView world, BlockPos pos, BlockState state)
public BlockState
a(dhi arg0, jh arg1, dxv arg2, cpx arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public void
a(dhi arg0, cpx arg1, jh arg2, dxv arg3, dux arg4, cxp arg5)
playerDestroy(Level arg0, Player arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
protected static void
b(dhi arg0, jh arg1, dxv arg2, cpx arg3)
preventDropFromBottomPart(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_30036(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreakInCreative(World world, BlockPos pos, BlockState state, PlayerEntity player)
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)
protected long
a(dxv arg0, jh arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)