Package net.minecraft.block
Class ChestBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.ChestBlock
- All Implemented Interfaces:
BlockEntityProvider,FluidFillable,class_3695,Itemable
- Direct Known Subclasses:
TrappedChestBlock
- Mappings:
Namespace Name official bdhintermediary net/minecraft/class_118named net/minecraft/block/ChestBlock
-
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 DirectionPropertystatic final EnumProperty<class_3773>static final BooleanPropertyprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeFields 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) getBlockRenderType(BlockState state) intgetComparatorOutput(BlockState state, World world, BlockPos pos) getFluidState(BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos) booleanmethod_11562(BlockState state) booleanmethod_11577(BlockState state) booleanmethod_13704(BlockState state) 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) private Directionmethod_16645(ItemPlacementContext itemPlacementContext, Direction direction) private booleanmethod_16646(BlockView blockView, BlockPos blockPos) method_16647(BlockState blockState, World world, BlockPos blockPos, boolean bool) protected class_4472<Identifier>static Directionmethod_16649(BlockState blockState) method_16671(BlockView blockView) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) private booleanmethod_8705(World world, BlockPos blockPos) private booleanmethod_8707(World world, BlockPos blockPos) voidonPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entitybooleantryFillWithFluid(IWorld iWorld, BlockPos blockPos, BlockState blockState, FluidState fluidState) withMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.BlockWithEntity
method_435, method_8651Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getCollisionShape, getDefaultState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderLayerType, 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_13315, method_13703, 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_8640, method_8650, method_8653, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
FACING
- Mappings:
Namespace Name Mixin selector official aLbdh;a:Lbme;intermediary field_9334Lnet/minecraft/class_118;field_9334:Lnet/minecraft/class_2244;named FACINGLnet/minecraft/block/ChestBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
-
field_18238
- Mappings:
Namespace Name Mixin selector official bLbdh;b:Lbmh;intermediary field_18238Lnet/minecraft/class_118;field_18238:Lnet/minecraft/class_2245;named field_18238Lnet/minecraft/block/ChestBlock;field_18238:Lnet/minecraft/state/property/EnumProperty;
-
field_18239
- Mappings:
Namespace Name Mixin selector official cLbdh;c:Lbmb;intermediary field_18239Lnet/minecraft/class_118;field_18239:Lnet/minecraft/class_2243;named field_18239Lnet/minecraft/block/ChestBlock;field_18239:Lnet/minecraft/state/property/BooleanProperty;
-
field_18240
- Mappings:
Namespace Name Mixin selector official oLbdh;o:Lcew;intermediary field_18240Lnet/minecraft/class_118;field_18240:Lnet/minecraft/class_4100;named field_18240Lnet/minecraft/block/ChestBlock;field_18240:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18241
- Mappings:
Namespace Name Mixin selector official pLbdh;p:Lcew;intermediary field_18241Lnet/minecraft/class_118;field_18241:Lnet/minecraft/class_4100;named field_18241Lnet/minecraft/block/ChestBlock;field_18241:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18242
- Mappings:
Namespace Name Mixin selector official qLbdh;q:Lcew;intermediary field_18242Lnet/minecraft/class_118;field_18242:Lnet/minecraft/class_4100;named field_18242Lnet/minecraft/block/ChestBlock;field_18242:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18243
- Mappings:
Namespace Name Mixin selector official rLbdh;r:Lcew;intermediary field_18243Lnet/minecraft/class_118;field_18243:Lnet/minecraft/class_4100;named field_18243Lnet/minecraft/block/ChestBlock;field_18243:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18244
- Mappings:
Namespace Name Mixin selector official sLbdh;s:Lcew;intermediary field_18244Lnet/minecraft/class_118;field_18244:Lnet/minecraft/class_4100;named field_18244Lnet/minecraft/block/ChestBlock;field_18244:Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
ChestBlock
- 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
-
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
-
method_13704
- Overrides:
method_13704in classBlock- Mappings:
Namespace Name Mixin selector official bLbcs;b(Lblc;)Zintermediary method_13704Lnet/minecraft/class_197;method_13704(Lnet/minecraft/class_2232;)Znamed method_13704Lnet/minecraft/block/Block;method_13704(Lnet/minecraft/block/BlockState;)Z
-
getBlockRenderType
- Overrides:
getBlockRenderTypein classBlockWithEntity- Mappings:
Namespace Name Mixin selector official cLbcs;c(Lblc;)Lbgy;intermediary method_11552Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;named getBlockRenderTypeLnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
-
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;
-
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_16649
- Mappings:
Namespace Name Mixin selector official kLbdh;k(Lblc;)Leq;intermediary method_16649Lnet/minecraft/class_118;method_16649(Lnet/minecraft/class_2232;)Lnet/minecraft/class_1354;named method_16649Lnet/minecraft/block/ChestBlock;method_16649(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;
-
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;
-
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_16645
@Nullable private Direction method_16645(ItemPlacementContext itemPlacementContext, Direction direction) - Mappings:
Namespace Name Mixin selector official aLbdh;a(Lark;Leq;)Leq;intermediary method_16645Lnet/minecraft/class_118;method_16645(Lnet/minecraft/class_3544;Lnet/minecraft/class_1354;)Lnet/minecraft/class_1354;named method_16645Lnet/minecraft/block/ChestBlock;method_16645(Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entity- Overrides:
onPlacedin classBlock- Parameters:
world- The world that the block is inpos- The block's positionstate- The block's BlockStateplacer- The entity who placed the blockitemStack- ItemStack instance- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Lafa;Late;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
method_8659
public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) - Overrides:
method_8659in classBlockWithEntity- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
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_16648
- Mappings:
Namespace Name Mixin selector official dLbdh;d()Lwp;intermediary method_16648Lnet/minecraft/class_118;method_16648()Lnet/minecraft/class_4472;named method_16648Lnet/minecraft/block/ChestBlock;method_16648()Lnet/minecraft/class_4472;
-
method_16647
@Nullable public LockableScreenHandlerFactory method_16647(BlockState blockState, World world, BlockPos blockPos, boolean bool) - Mappings:
Namespace Name Mixin selector official aLbdh;a(Lblc;Laxy;Lel;Z)Ladq;intermediary method_16647Lnet/minecraft/class_118;method_16647(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Z)Lnet/minecraft/class_2610;named method_16647Lnet/minecraft/block/ChestBlock;method_16647(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/block/entity/LockableScreenHandlerFactory;
-
method_16671
- Specified by:
method_16671in interfaceBlockEntityProvider- Mappings:
Namespace Name Mixin selector official aLben;a(Laxk;)Lbji;intermediary method_16671Lnet/minecraft/class_1451;method_16671(Lnet/minecraft/class_1158;)Lnet/minecraft/class_226;named method_16671Lnet/minecraft/block/BlockEntityProvider;method_16671(Lnet/minecraft/world/BlockView;)Lnet/minecraft/block/entity/BlockEntity;
-
method_8705
- Mappings:
Namespace Name Mixin selector official aLbdh;a(Laxy;Lel;)Zintermediary method_8705Lnet/minecraft/class_118;method_8705(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed method_8705Lnet/minecraft/block/ChestBlock;method_8705(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_16646
- Mappings:
Namespace Name Mixin selector official aLbdh;a(Laxk;Lel;)Zintermediary method_16646Lnet/minecraft/class_118;method_16646(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Znamed method_16646Lnet/minecraft/block/ChestBlock;method_16646(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_8707
- Mappings:
Namespace Name Mixin selector official bLbdh;b(Laxy;Lel;)Zintermediary method_8707Lnet/minecraft/class_118;method_8707(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed method_8707Lnet/minecraft/block/ChestBlock;method_8707(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_11577
- Overrides:
method_11577in classBlock- Mappings:
Namespace Name Mixin selector official uLbcs;u(Lblc;)Zintermediary method_11577Lnet/minecraft/class_197;method_11577(Lnet/minecraft/class_2232;)Znamed method_11577Lnet/minecraft/block/Block;method_11577(Lnet/minecraft/block/BlockState;)Z
-
getComparatorOutput
- Overrides:
getComparatorOutputin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;)Iintermediary method_8686Lnet/minecraft/class_197;method_8686(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Inamed getComparatorOutputLnet/minecraft/block/Block;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
withRotation
- Overrides:
withRotationin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbhb;)Lblc;intermediary method_11556Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;named withRotationLnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
withMirror
- Overrides:
withMirrorin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbfz;)Lblc;intermediary method_11555Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;named withMirrorLnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
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;
-
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
-