net.minecraft.world.level.block

public class TrapDoorBlock

extends HorizontalDirectionalBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

bve
net.minecraft.world.level.block.TrapDoorBlock
net.minecraft.class_2533
net.minecraft.block.TrapdoorBlock
net.minecraft.block.TrapDoorBlock
net.minecraft.server.v1_15_R1.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 (Block$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
a(byg arg0, bjd arg1, fk arg2, cvn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(byg arg0, bjd arg1, fk arg2, cqo arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public InteractionResult
a(byg arg0, bjt arg1, fk arg2, ayg arg3, ajh arg4, cvd 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(ayg arg0, bjt arg1, fk 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(byg arg0, bjt arg1, fk arg2, bpe arg3, fk 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(bcn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(byh$a<bpe, byg> 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
a_(byg arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
func_204507_t(BlockState arg0)
public BlockState
a(byg arg0, fp arg1, byg arg2, bju arg3, fk arg4, fk 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, IWorld 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)
public boolean
a(byg arg0, bjd arg1, fk arg2, akr<?> arg3)
isValidSpawn(BlockState arg0, BlockGetter arg1, BlockPos arg2, EntityType<?> arg3)
method_9523(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_1299<?> arg3)
allowsSpawning(BlockState arg0, BlockView arg1, BlockPos arg2, EntityType<?> arg3)
func_220067_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, EntityType<?> arg3)