Package net.minecraft.block
Class TrapdoorBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizotalFacingBlock
net.minecraft.block.TrapdoorBlock
- All Implemented Interfaces:
FluidFillable,class_3695,Itemable
- Mappings:
Namespace Name official bilintermediary net/minecraft/class_205named net/minecraft/block/TrapdoorBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertystatic final EnumProperty<class_3774>static final BooleanPropertystatic final BooleanPropertyprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeFields inherited from class net.minecraft.block.HorizotalFacingBlock
field_18369Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) booleancanFillWithFluid(BlockView blockView, BlockPos blockPos, BlockState blockState, Fluid fluid) booleancanPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment) getFluidState(BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.booleanmethod_11562(BlockState state) protected voidmethod_11640(PlayerEntity playerEntity, World world, BlockPos blockPos, boolean bool) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) method_16563(ItemPlacementContext itemPlacementContext) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) method_16631(IWorld iWorld, BlockPos blockPos, BlockState blockState) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) voidbooleantryFillWithFluid(IWorld iWorld, BlockPos blockPos, BlockState blockState, FluidState fluidState) Methods inherited from class net.minecraft.block.HorizotalFacingBlock
withMirror, withRotationMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16565, method_16566, method_16568, method_16569, method_16570, method_16572, method_16573, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_410, method_414, method_416, method_420, method_435, method_8640, method_8650, method_8651, method_8653, method_8659, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18531
- Mappings:
Namespace Name Mixin selector official aLbil;a:Lbmb;intermediary field_18531Lnet/minecraft/class_205;field_18531:Lnet/minecraft/class_2243;named field_18531Lnet/minecraft/block/TrapdoorBlock;field_18531:Lnet/minecraft/state/property/BooleanProperty;
-
field_18532
- Mappings:
Namespace Name Mixin selector official bLbil;b:Lbmh;intermediary field_18532Lnet/minecraft/class_205;field_18532:Lnet/minecraft/class_2245;named field_18532Lnet/minecraft/block/TrapdoorBlock;field_18532:Lnet/minecraft/state/property/EnumProperty;
-
field_18533
- Mappings:
Namespace Name Mixin selector official cLbil;c:Lbmb;intermediary field_18533Lnet/minecraft/class_205;field_18533:Lnet/minecraft/class_2243;named field_18533Lnet/minecraft/block/TrapdoorBlock;field_18533:Lnet/minecraft/state/property/BooleanProperty;
-
field_18534
- Mappings:
Namespace Name Mixin selector official oLbil;o:Lbmb;intermediary field_18534Lnet/minecraft/class_205;field_18534:Lnet/minecraft/class_2243;named field_18534Lnet/minecraft/block/TrapdoorBlock;field_18534:Lnet/minecraft/state/property/BooleanProperty;
-
field_18535
- Mappings:
Namespace Name Mixin selector official pLbil;p:Lcew;intermediary field_18535Lnet/minecraft/class_205;field_18535:Lnet/minecraft/class_4100;named field_18535Lnet/minecraft/block/TrapdoorBlock;field_18535:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18536
- Mappings:
Namespace Name Mixin selector official qLbil;q:Lcew;intermediary field_18536Lnet/minecraft/class_205;field_18536:Lnet/minecraft/class_4100;named field_18536Lnet/minecraft/block/TrapdoorBlock;field_18536:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18537
- Mappings:
Namespace Name Mixin selector official rLbil;r:Lcew;intermediary field_18537Lnet/minecraft/class_205;field_18537:Lnet/minecraft/class_4100;named field_18537Lnet/minecraft/block/TrapdoorBlock;field_18537:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18538
- Mappings:
Namespace Name Mixin selector official sLbil;s:Lcew;intermediary field_18538Lnet/minecraft/class_205;field_18538:Lnet/minecraft/class_4100;named field_18538Lnet/minecraft/block/TrapdoorBlock;field_18538:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18539
- Mappings:
Namespace Name Mixin selector official tLbil;t:Lcew;intermediary field_18539Lnet/minecraft/class_205;field_18539:Lnet/minecraft/class_4100;named field_18539Lnet/minecraft/block/TrapdoorBlock;field_18539:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18540
- Mappings:
Namespace Name Mixin selector official uLbil;u:Lcew;intermediary field_18540Lnet/minecraft/class_205;field_18540:Lnet/minecraft/class_4100;named field_18540Lnet/minecraft/block/TrapdoorBlock;field_18540:Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
TrapdoorBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
canPlaceAtSide
public boolean canPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment) - Overrides:
canPlaceAtSidein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;Lcbf;)Zintermediary method_8663Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_4064;)Znamed canPlaceAtSideLnet/minecraft/block/Block;canPlaceAtSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockPlacementEnvironment;)Z
-
method_421
public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_421in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Znamed method_421Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
-
method_11640
protected void method_11640(@Nullable PlayerEntity playerEntity, World world, BlockPos blockPos, boolean bool) - Mappings:
Namespace Name Mixin selector official aLbil;a(Laog;Laxy;Lel;Z)Vintermediary method_11640Lnet/minecraft/class_205;method_11640(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Z)Vnamed method_11640Lnet/minecraft/block/TrapdoorBlock;method_11640(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)V
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
method_16563
- Overrides:
method_16563in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lark;)Lblc;intermediary method_16563Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;named method_16563Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-
method_16631
- Specified by:
method_16631in interfaceclass_3695- Mappings:
Namespace Name Mixin selector official aLbcz;a(Laxz;Lel;Lblc;)Lbyv;intermediary method_16631Lnet/minecraft/class_3695;method_16631(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_4023;named method_16631Lnet/minecraft/class_3695;method_16631(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/Fluid;
-
getFluidState
- Overrides:
getFluidStatein classBlock- Mappings:
Namespace Name Mixin selector official hLbcs;h(Lblc;)Lbyw;intermediary method_16594Lnet/minecraft/class_197;method_16594(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4024;named getFluidStateLnet/minecraft/block/Block;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
canFillWithFluid
public boolean canFillWithFluid(BlockView blockView, BlockPos blockPos, BlockState blockState, Fluid fluid) - Specified by:
canFillWithFluidin interfaceFluidFillable- Mappings:
Namespace Name Mixin selector official aLbfv;a(Laxk;Lel;Lblc;Lbyv;)Zintermediary method_16700Lnet/minecraft/class_3711;method_16700(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4023;)Znamed canFillWithFluidLnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
-
tryFillWithFluid
public boolean tryFillWithFluid(IWorld iWorld, BlockPos blockPos, BlockState blockState, FluidState fluidState) - Specified by:
tryFillWithFluidin interfaceFluidFillable- Mappings:
Namespace Name Mixin selector official aLbfv;a(Laxz;Lel;Lblc;Lbyw;)Zintermediary method_16701Lnet/minecraft/class_3711;method_16701(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4024;)Znamed tryFillWithFluidLnet/minecraft/block/FluidFillable;tryFillWithFluid(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-