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
- Direct Known Subclasses:
ChestBlock
,EnderChestBlock
public abstract class AbstractChestBlock<E extends BlockEntity> extends BlockWithEntity
- Mappings:
Namespace Name official bvo
intermediary net/minecraft/class_4739
named net/minecraft/block/AbstractChestBlock
-
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 Modifier and Type Field Description protected Supplier<BlockEntityType<? extends E>>
entityTypeRetriever
Fields inherited from class net.minecraft.block.Block
LOGGER, 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
Constructors Modifier Constructor Description protected
AbstractChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeSupplier)
-
Method Summary
Modifier and Type Method Description abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity>
getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)
Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, getRenderType, onSyncedBlockEvent
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onUse, prepare, randomTick, rotate, scheduledTick
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
createBlockEntity, getGameEventListener, getTicker
-
Field Details
-
entityTypeRetriever
- Mappings:
Namespace Name Mixin selector official a
Lbvo;a:Ljava/util/function/Supplier;
intermediary field_21796
Lnet/minecraft/class_4739;field_21796:Ljava/util/function/Supplier;
named entityTypeRetriever
Lnet/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>
Lbvo;<init>(Lchs$c;Ljava/util/function/Supplier;)V
intermediary <init>
Lnet/minecraft/class_4739;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/function/Supplier;)V
named <init>
Lnet/minecraft/block/AbstractChestBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/function/Supplier;)V
-
-
Method Details
-
getBlockEntitySource
@Environment(CLIENT) public abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity> getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)- Mappings:
Namespace Name Mixin selector official a
Lbvo;a(Lcht;Lbtv;Lfx;Z)Lbyr$c;
intermediary method_24167
Lnet/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 getBlockEntitySource
Lnet/minecraft/block/AbstractChestBlock;getBlockEntitySource(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/block/DoubleBlockProperties$PropertySource;
-