net.minecraft.world.level.block

public class DoublePlantBlock

extends BushBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dlw
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(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)
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public void
a(dgj arg0, ji arg1, dwy arg2, bvi arg3, cwq 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(dwy arg0, dgm arg1, ji 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(dgk arg0, dwy arg1, ji 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
b(dgm arg0, ji arg1, dwy 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(dgj arg0, ji arg1, dwy arg2, coy 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(dgj arg0, coy arg1, ji arg2, dwy arg3, dua arg4, cwq 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(dgj arg0, ji arg1, dwy arg2, coy 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(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)
protected long
a(dwy arg0, ji arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)