net.minecraft.world.level.block

public class TrapDoorBlock

extends HorizontalDirectionalBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cya
net.minecraft.world.level.block.TrapDoorBlock
net.minecraft.class_2533
net.minecraft.block.TrapdoorBlock
net.minecraft.src.C_1943_
net.minecraft.world.level.block.BlockTrapdoor

Field summary

Modifier and TypeField
public static final BooleanProperty
a
OPEN
field_11631
OPEN
f_57514_
public static final EnumProperty<Half>
b
HALF
field_11625
HALF
f_57515_
public static final BooleanProperty
c
POWERED
field_11629
POWERED
f_57516_
public static final BooleanProperty
d
WATERLOGGED
field_11626
WATERLOGGED
f_57517_
protected static final int
e
AABB_THICKNESS
field_31266
field_31266
f_154832_
protected static final VoxelShape
f
EAST_OPEN_AABB
field_11627
EAST_SHAPE
f_57518_
protected static final VoxelShape
g
WEST_OPEN_AABB
field_11630
WEST_SHAPE
f_57519_
protected static final VoxelShape
h
SOUTH_OPEN_AABB
field_11624
SOUTH_SHAPE
f_57520_
protected static final VoxelShape
i
NORTH_OPEN_AABB
field_11633
NORTH_SHAPE
f_57521_
protected static final VoxelShape
j
BOTTOM_AABB
field_11632
OPEN_BOTTOM_SHAPE
f_57522_
protected static final VoxelShape
k
TOP_AABB
field_11628
OPEN_TOP_SHAPE
f_57523_
private final BlockSetType
l
type
field_42779
blockSetType
f_271458_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings, BlockSetType blockSetType)

Method summary

Modifier and TypeMethod
public VoxelShape
a(dcb arg0, cls arg1, gu arg2, een 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_57564_, C_1559_ p_57565_, C_4675_ p_57566_, C_3051_ arg3)
public boolean
a(dcb arg0, cls arg1, gu arg2, dxu arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_57536_, C_1559_ p_57537_, C_4675_ p_57538_, C_2754_ arg3)
public InteractionResult
a(dcb arg0, cmm arg1, gu arg2, byo arg3, bdw arg4, eee arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_57541_, C_1596_ p_57542_, C_4675_ p_57543_, C_1141_ p_57544_, C_470_ p_57545_, C_3041_ arg5)
protected void
a(byo arg0, cmm arg1, gu arg2, boolean arg3)
playSound(Player arg0, Level arg1, BlockPos arg2, boolean arg3)
method_10740(class_1657 arg0, class_1937 arg1, class_2338 arg2, boolean arg3)
playToggleSound(PlayerEntity player, World world, BlockPos pos, boolean open)
m_57527_(C_1141_ p_57529_, C_1596_ p_57530_, C_4675_ p_57531_, boolean arg3)
public void
a(dcb arg0, cmm arg1, gu arg2, cpn arg3, gu arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_57548_, C_1596_ p_57549_, C_4675_ p_57550_, C_1706_ p_57551_, C_4675_ p_57552_, boolean arg5)
public BlockState
a(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dcc$a<cpn, dcb> 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)
public FluidState
c_(dcb arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public BlockState
a(dcb arg0, ha arg1, dcb arg2, cmn arg3, gu arg4, gu 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_57555_, C_4687_ p_57556_, C_2064_ p_57557_, C_1598_ p_57558_, C_4675_ p_57559_, C_4675_ arg5)