Package net.minecraft.block
Class TrappedChestBlock
- All Implemented Interfaces:
BlockEntityProvider
,FluidDrainable
,FluidFillable
,Waterloggable
,ItemConvertible
- Mappings:
Namespace Name official che
intermediary net/minecraft/class_2531
named net/minecraft/block/TrappedChestBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields inherited from class net.minecraft.block.ChestBlock
CHEST_TYPE, DOUBLE_EAST_SHAPE, DOUBLE_NORTH_SHAPE, DOUBLE_SOUTH_SHAPE, DOUBLE_WEST_SHAPE, FACING, field_31057, field_31058, field_31059, SINGLE_SHAPE, WATERLOGGED
Fields inherited from class net.minecraft.block.AbstractChestBlock
entityTypeRetriever
Fields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBlockEntity
(BlockPos pos, BlockState state) boolean
emitsRedstonePower
(BlockState state) protected Stat<Identifier>
int
getStrongRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) int
getWeakRedstonePower
(BlockState state, BlockView world, BlockPos pos, Direction direction) Methods inherited from class net.minecraft.block.ChestBlock
appendProperties, canPathfindThrough, createScreenHandlerFactory, getAnimationProgressRetriever, getBlockEntitySource, getComparatorOutput, getDoubleBlockType, getExpectedEntityType, getFacing, getFluidState, getInventory, getOutlineShape, getPlacementState, getRenderType, getStateForNeighborUpdate, getTicker, hasComparatorOutput, isChestBlocked, mirror, onPlaced, onStateReplaced, onUse, rotate, scheduledTick
Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, onSyncedBlockEvent
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, hasSidedTransparency, isSideInvisible, method_37247, method_37403, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, prepare, randomTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.BlockEntityProvider
getGameEventListener
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Constructor Details
-
TrappedChestBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lckr;<init>(Lckr$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
createBlockEntity
- Specified by:
createBlockEntity
in interfaceBlockEntityProvider
- Overrides:
createBlockEntity
in classChestBlock
- Mappings:
Namespace Name Mixin selector official a
Lcbv;a(Lgg;Lcks;)Lcip;
intermediary method_10123
Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named createBlockEntity
Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
getOpenStat
- Overrides:
getOpenStat
in classChestBlock
- Mappings:
Namespace Name Mixin selector official d
Lcam;d()Lafl;
intermediary method_9755
Lnet/minecraft/class_2281;method_9755()Lnet/minecraft/class_3445;
named getOpenStat
Lnet/minecraft/block/ChestBlock;getOpenStat()Lnet/minecraft/stat/Stat;
-
emitsRedstonePower
- Overrides:
emitsRedstonePower
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official f_
Lckr;f_(Lcks;)Z
intermediary method_9506
Lnet/minecraft/class_4970;method_9506(Lnet/minecraft/class_2680;)Z
named emitsRedstonePower
Lnet/minecraft/block/AbstractBlock;emitsRedstonePower(Lnet/minecraft/block/BlockState;)Z
-
getWeakRedstonePower
public int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) - Overrides:
getWeakRedstonePower
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Lbvt;Lgg;Lgl;)I
intermediary method_9524
Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
named getWeakRedstonePower
Lnet/minecraft/block/AbstractBlock;getWeakRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
getStrongRedstonePower
public int getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) - Overrides:
getStrongRedstonePower
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official b
Lckr;b(Lcks;Lbvt;Lgg;Lgl;)I
intermediary method_9603
Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
named getStrongRedstonePower
Lnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-