net.minecraft.world.level.block

public class TrapDoorBlock

extends HorizontalDirectionalBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cay
net.minecraft.world.level.block.TrapDoorBlock
net.minecraft.class_2533
net.minecraft.block.TrapdoorBlock
net.minecraft.block.TrapDoorBlock
net.minecraft.server.v1_16_R2.BlockTrapdoor

Field summary

Modifier and TypeField
public static final BooleanProperty
a
OPEN
field_11631
OPEN
field_176283_b
OPEN
public static final EnumProperty<Half>
b
HALF
field_11625
HALF
field_176285_M
HALF
public static final BooleanProperty
c
POWERED
field_11629
POWERED
field_196381_c
public static final BooleanProperty
d
WATERLOGGED
field_11626
WATERLOGGED
field_204614_t
protected static final VoxelShape
e
EAST_OPEN_AABB
field_11627
EAST_SHAPE
field_185734_d
protected static final VoxelShape
f
WEST_OPEN_AABB
field_11630
WEST_SHAPE
field_185735_e
protected static final VoxelShape
g
SOUTH_OPEN_AABB
field_11624
SOUTH_SHAPE
field_185736_f
protected static final VoxelShape
h
NORTH_OPEN_AABB
field_11633
NORTH_SHAPE
field_185737_g
protected static final VoxelShape
i
BOTTOM_AABB
field_11632
OPEN_BOTTOM_SHAPE
field_185732_B
protected static final VoxelShape
j
TOP_AABB
field_11628
OPEN_TOP_SHAPE
field_185733_C

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp 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)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(cee arg0, bqz arg1, fx arg2, cxb 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)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public InteractionResult
a(cee arg0, bru arg1, fx arg2, bft arg3, aoq arg4, dcg 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)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
protected void
a(bft arg0, bru arg1, fx 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)
func_185731_a(PlayerEntity arg0, World arg1, BlockPos arg2, boolean arg3)
public void
a(cee arg0, bru arg1, fx arg2, bul arg3, fx 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)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
public BlockState
a(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(cef$a<bul, cee> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public FluidState
d(cee arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
func_204507_t(BlockState arg0)
public BlockState
a(cee arg0, gc arg1, cee arg2, brv arg3, fx arg4, fx 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)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)