net.minecraft.world.level.block

public class DoublePlantBlock

extends BushBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dig
net.minecraft.world.level.block.DoublePlantBlock
net.minecraft.class_2320
net.minecraft.block.TallPlantBlock
net.minecraft.src.C_1772_
net.minecraft.world.level.block.BlockTallPlant

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends DoublePlantBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
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_52895_, C_4687_ p_52896_, C_2064_ p_52897_, C_1598_ p_52898_, C_4675_ p_52899_, C_4675_ arg5)
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public void
a(dcw arg0, jd arg1, dtc arg2, btn arg3, cuq 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)
m_6402_(C_1596_ p_52873_, C_4675_ p_52874_, C_2064_ p_52875_, C_524_ p_52876_, C_1391_ arg4)
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_52888_, C_1599_ p_52889_, C_4675_ arg2)
public static void
a(dcx arg0, dtc arg1, jd 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)
m_153173_(C_1598_ p_153174_, C_2064_ p_153175_, C_4675_ p_153176_, int p_153177_)
public static BlockState
c(dcz arg0, jd arg1, dtc 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)
m_182453_(C_1599_ p_182454_, C_4675_ p_182455_, C_2064_ p_182456_)
public BlockState
a(dcw arg0, jd arg1, dtc arg2, cmx 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)
m_5707_(C_1596_ p_52879_, C_4675_ p_52880_, C_2064_ p_52881_, C_1141_ arg3)
public void
a(dcw arg0, cmx arg1, jd arg2, dtc arg3, dqh arg4, cuq 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)
m_6240_(C_1596_ p_52866_, C_1141_ p_52867_, C_4675_ p_52868_, C_2064_ p_52869_, C_1991_ p_52870_, C_1391_ arg5)
protected static void
b(dcw arg0, jd arg1, dtc arg2, cmx 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)
m_52903_(C_1596_ p_52904_, C_4675_ p_52905_, C_2064_ p_52906_, C_1141_ p_52907_)
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)
protected long
a(dtc arg0, jd arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)
m_7799_(C_2064_ p_52892_, C_4675_ arg1)