Package net.minecraft.block
Class AbstractChestBlock<E extends BlockEntity>
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.AbstractChestBlock<E>
- All Implemented Interfaces:
BlockEntityProvider,ItemConvertible,ToggleableFeature
- Direct Known Subclasses:
ChestBlock,EnderChestBlock
- Mappings:
Namespace Name official coeintermediary net/minecraft/class_4739named net/minecraft/block/AbstractChestBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeSupplier) -
Method Summary
Modifier and TypeMethodDescriptionabstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, getRenderType, onSyncedBlockEventMethods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRequiredFeatures, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onUse, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.BlockEntityProvider
createBlockEntity, getGameEventListener, getTickerMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
entityTypeRetriever
- Mappings:
Namespace Name Mixin selector official aLcoe;a:Ljava/util/function/Supplier;intermediary field_21796Lnet/minecraft/class_4739;field_21796:Ljava/util/function/Supplier;named entityTypeRetrieverLnet/minecraft/block/AbstractChestBlock;entityTypeRetriever:Ljava/util/function/Supplier;
-
-
Constructor Details
-
AbstractChestBlock
protected AbstractChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeSupplier) - Mappings:
Namespace Name Mixin selector official <init>Lcoe;<init>(Ldbx$d;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_4739;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/function/Supplier;)Vnamed <init>Lnet/minecraft/block/AbstractChestBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/function/Supplier;)V
-
-
Method Details
-
getBlockEntitySource
public abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity> getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked) - Mappings:
Namespace Name Mixin selector official aLcoe;a(Ldby;Lcmk;Lgu;Z)Lcro$c;intermediary method_24167Lnet/minecraft/class_4739;method_24167(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_4732$class_4734;named getBlockEntitySourceLnet/minecraft/block/AbstractChestBlock;getBlockEntitySource(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/block/DoubleBlockProperties$PropertySource;
-