Class ShulkerBoxBlock
- All Implemented Interfaces:
- BlockEntityProvider,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - named - net/minecraft/block/ShulkerBoxBlock- intermediary - net/minecraft/class_2480- official - dqr
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ShulkerBoxBlock> static final Identifierprivate static final VoxelShapeprivate static final VoxelShapestatic final EnumProperty<Direction> private static final floatprivate static final VoxelShapeprivate static final Map<Direction, VoxelShape> private static final VoxelShapeprivate static final Textprivate static final VoxelShapeprivate static final VoxelShapeFields inherited from class net.minecraft.block.Blockfield_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.voidappendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.private static booleancanOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) createBlockEntity(BlockPos pos, BlockState state) Returns a new block entity instance.static Blockcom.mojang.serialization.MapCodec<ShulkerBoxBlock> getCodec()getColor()protected intgetComparatorOutput(BlockState state, World world, BlockPos pos) Returns the comparator output of the block, from0to15.getDroppedStacks(BlockState state, LootWorldContext.Builder builder) Returns the block's dropped item stacks.static ItemStackgetItemStack(@Nullable DyeColor color) protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected VoxelShapegetSidesShape(BlockState state, BlockView world, BlockPos pos) <T extends BlockEntity>
 @Nullable BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.protected booleanhasComparatorOutput(BlockState state) Returns whether the block can have a comparator output.protected booleanisTransparent(BlockState state) protected BlockStatemirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) Called when a player breaks a block before the block is removed from the world.protected voidonStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed.protected ActionResultonUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) protected BlockStaterotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.Methods inherited from class net.minecraft.block.BlockWithEntitycreateScreenHandlerFactory, onSyncedBlockEvent, validateTickerMethods inherited from class net.minecraft.block.BlockafterBreak, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createCodec, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getCullingShape, getDefaultMapColor, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onUseWithItem, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.BlockEntityProvidergetGameEventListenerMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/ShulkerBoxBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46440- Lnet/minecraft/class_2480;field_46440:Lcom/mojang/serialization/MapCodec;- official - a- Ldqr;a:Lcom/mojang/serialization/MapCodec;
 
- 
UNKNOWN_CONTENTS_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - UNKNOWN_CONTENTS_TEXT- Lnet/minecraft/block/ShulkerBoxBlock;UNKNOWN_CONTENTS_TEXT:Lnet/minecraft/text/Text;- intermediary - field_49401- Lnet/minecraft/class_2480;field_49401:Lnet/minecraft/class_2561;- official - d- Ldqr;d:Lwp;
 
- 
field_41075private static final float field_41075- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_41075- Lnet/minecraft/block/ShulkerBoxBlock;field_41075:F- intermediary - field_41075- Lnet/minecraft/class_2480;field_41075:F- official - e- Ldqr;e:F
 
- 
UP_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - UP_SHAPE- Lnet/minecraft/block/ShulkerBoxBlock;UP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_41076- Lnet/minecraft/class_2480;field_41076:Lnet/minecraft/class_265;- official - f- Ldqr;f:Lfbv;
 
- 
DOWN_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - DOWN_SHAPE- Lnet/minecraft/block/ShulkerBoxBlock;DOWN_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_41077- Lnet/minecraft/class_2480;field_41077:Lnet/minecraft/class_265;- official - g- Ldqr;g:Lfbv;
 
- 
WEST_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - WEST_SHAPE- Lnet/minecraft/block/ShulkerBoxBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_41078- Lnet/minecraft/class_2480;field_41078:Lnet/minecraft/class_265;- official - h- Ldqr;h:Lfbv;
 
- 
EAST_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - EAST_SHAPE- Lnet/minecraft/block/ShulkerBoxBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_41079- Lnet/minecraft/class_2480;field_41079:Lnet/minecraft/class_265;- official - i- Ldqr;i:Lfbv;
 
- 
NORTH_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - NORTH_SHAPE- Lnet/minecraft/block/ShulkerBoxBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_41080- Lnet/minecraft/class_2480;field_41080:Lnet/minecraft/class_265;- official - j- Ldqr;j:Lfbv;
 
- 
SOUTH_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - SOUTH_SHAPE- Lnet/minecraft/block/ShulkerBoxBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_41081- Lnet/minecraft/class_2480;field_41081:Lnet/minecraft/class_265;- official - k- Ldqr;k:Lfbv;
 
- 
SIDES_SHAPES- Mappings:
- Namespace - Name - Mixin selector - named - SIDES_SHAPES- Lnet/minecraft/block/ShulkerBoxBlock;SIDES_SHAPES:Ljava/util/Map;- intermediary - field_41082- Lnet/minecraft/class_2480;field_41082:Ljava/util/Map;- official - l- Ldqr;l:Ljava/util/Map;
 
- 
FACING- Mappings:
- Namespace - Name - Mixin selector - named - FACING- Lnet/minecraft/block/ShulkerBoxBlock;FACING:Lnet/minecraft/state/property/EnumProperty;- intermediary - field_11496- Lnet/minecraft/class_2480;field_11496:Lnet/minecraft/class_2754;- official - b- Ldqr;b:Ldxv;
 
- 
CONTENTS_DYNAMIC_DROP_ID- Mappings:
- Namespace - Name - Mixin selector - named - CONTENTS_DYNAMIC_DROP_ID- Lnet/minecraft/block/ShulkerBoxBlock;CONTENTS_DYNAMIC_DROP_ID:Lnet/minecraft/util/Identifier;- intermediary - field_11495- Lnet/minecraft/class_2480;field_11495:Lnet/minecraft/class_2960;- official - c- Ldqr;c:Lakv;
 
- 
color- Mappings:
- Namespace - Name - Mixin selector - named - color- Lnet/minecraft/block/ShulkerBoxBlock;color:Lnet/minecraft/util/DyeColor;- intermediary - field_11494- Lnet/minecraft/class_2480;field_11494:Lnet/minecraft/class_1767;- official - m- Ldqr;m:Lcvn;
 
 
- 
- 
Constructor Details- 
ShulkerBoxBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/ShulkerBoxBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_2480;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldqr;<init>(Lcvn;Ldwx$d;)V
 
 
- 
- 
Method Details- 
getCodec- Specified by:
- getCodecin class- BlockWithEntity
- Mappings:
- Namespace - Name - Mixin selector - named - getCodec- Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;- intermediary - method_53969- Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;- official - a- Ldwx;a()Lcom/mojang/serialization/MapCodec;
 
- 
createBlockEntityReturns a new block entity instance.For example: @Override public BlockEntity createBlockEntity(BlockPos pos, BlockState state) { return new MyBlockEntity(pos, state); }- Returns:
- a new block entity instance
- Implementation Note:
- While this is marked as nullable, in practice this should never return
 null.PistonExtensionBlockis the only block in vanilla that returnsnullinside the implementation.
- Mappings:
- Namespace - Name - Mixin selector - named - createBlockEntity- Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;- intermediary - method_10123- Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;- official - a- Ldmg;a(Lji;Ldwy;)Ldua;
 
- 
getTicker@Nullable public <T extends BlockEntity> @Nullable BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type) Returns the "ticker" for the block's block entity, ornullif the block entity does not need to be ticked.Ticker is a functional interface called every tick to tick the block entity on both the client and the server. Tickers should validate that the passed typeis the one this block expects, and returnnullif it isn't. This is to prevent crashes in rare cases where a mismatch occurs between the position's block and block entity.BlockWithEntity.validateTicker(net.minecraft.block.entity.BlockEntityType<A>, net.minecraft.block.entity.BlockEntityType<E>, net.minecraft.block.entity.BlockEntityTicker<? super E>)can be used to implement the check.Example: public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type) { if (type != YourMod.MY_BLOCK_ENTITY_TYPE) return null; // This should be a static method usable as a BlockEntityTicker. return YourBlockEntity::tick; }- Returns:
- the "ticker" for the block's block entity, or nullif the block entity does not need to be ticked
- Mappings:
- Namespace - Name - Mixin selector - named - getTicker- Lnet/minecraft/block/BlockEntityProvider;getTicker(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/block/entity/BlockEntityTicker;- intermediary - method_31645- Lnet/minecraft/class_2343;method_31645(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2591;)Lnet/minecraft/class_5558;- official - a- Ldmg;a(Ldgj;Ldwy;Lduc;)Ldub;
 
- 
onUseprotected ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit) - Overrides:
- onUsein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - named - onUse- Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;- intermediary - method_55766- Lnet/minecraft/class_4970;method_55766(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;- official - a- Ldwx;a(Ldwy;Ldgj;Lji;Lcoy;Lfax;)Lbsl;
 
- 
canOpenprivate static boolean canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity) - Mappings:
- Namespace - Name - Mixin selector - named - canOpen- Lnet/minecraft/block/ShulkerBoxBlock;canOpen(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;)Z- intermediary - method_33383- Lnet/minecraft/class_2480;method_33383(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2627;)Z- official - a- Ldqr;a(Ldwy;Ldgj;Lji;Ldvm;)Z
 
- 
getPlacementState- Overrides:
- getPlacementStatein class- Block
- Mappings:
- Namespace - Name - Mixin selector - named - getPlacementState- Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;- intermediary - method_9605- Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;- official - a- Ldjn;a(Ldah;)Ldwy;
 
- 
appendPropertiesAppends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])inside the method. SeePropertiesfor the list of pre-defined properties.- Overrides:
- appendPropertiesin class- Block
- Mappings:
- Namespace - Name - Mixin selector - named - appendProperties- Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V- intermediary - method_9515- Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V- official - a- Ldjn;a(Ldwz$a;)V
 
- 
onBreakCalled when a player breaks a block before the block is removed from the world. Explosions do not trigger this.Default implementation spawns block breaking particles, angers piglins, and emits game events. Tall or wide blocks such as doors or beds should override this to break the other part (along with AbstractBlock.getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.world.tick.ScheduledTickView, net.minecraft.util.math.BlockPos, net.minecraft.util.math.Direction, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.util.math.random.Random).)In most cases, AbstractBlock.onStateReplaced(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, boolean)orAbstractBlock.onStacksDropped(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.item.ItemStack, boolean)should be used instead. Note that they are called when blocks are broken by explosions as well as players breaking them.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- onBreakin class- Block
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - onBreak- Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/block/BlockState;- intermediary - method_9576- Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)Lnet/minecraft/class_2680;- official - a- Ldjn;a(Ldgj;Lji;Ldwy;Lcoy;)Ldwy;
 
- 
getDroppedStacksReturns the block's dropped item stacks.The default implementation uses loot tables. Blocks with custom drops should not hardcode the drops; instead, make a new loot table. If the loot table needs an additional context, override this method and modify builderbefore callingsuper.getDroppedStacks. An example of this isShulkerBoxBlock. Note that to prevent item duplication, when appending item stacks to the builder,ItemStack.split(int)should be called.This method should not be used for dropping inventory contents ( onStateReplaced(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, boolean)should be used instead) or to drop experience orbs (AbstractBlock.onStacksDropped(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.item.ItemStack, boolean)should be used instead).- Overrides:
- getDroppedStacksin class- AbstractBlock
- Returns:
- the block's dropped item stacks
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getDroppedStacks- Lnet/minecraft/block/AbstractBlock;getDroppedStacks(Lnet/minecraft/block/BlockState;Lnet/minecraft/loot/context/LootWorldContext$Builder;)Ljava/util/List;- intermediary - method_9560- Lnet/minecraft/class_4970;method_9560(Lnet/minecraft/class_2680;Lnet/minecraft/class_8567$class_8568;)Ljava/util/List;- official - a- Ldwx;a(Ldwy;Levv$a;)Ljava/util/List;
 
- 
onStateReplacedprotected void onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called server-side on the old block when the block state is changed. This includes block removal. This is used to update neighboring blocks when an active redstone power source is removed, or to drop the contents of an inventory. The checkstate.isOf(newState.getBlock())can be used to see if the block was removed or not.For most block entities, ItemScatterer.onStateReplaced(net.minecraft.block.BlockState, net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos)provides a good implementation of this method. Make sure to callsuper.onStateReplaced(state, world, pos, newState, moved);after invokingItemScatterermethods.- Overrides:
- onStateReplacedin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - onStateReplaced- Lnet/minecraft/block/AbstractBlock;onStateReplaced(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V- intermediary - method_9536- Lnet/minecraft/class_4970;method_9536(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V- official - a- Ldwx;a(Ldwy;Ldgj;Lji;Ldwy;Z)V
 
- 
appendTooltippublic void appendTooltip(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item. Used by shulker boxes.- Overrides:
- appendTooltipin class- Block
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - appendTooltip- Lnet/minecraft/block/Block;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/Item$TooltipContext;Ljava/util/List;Lnet/minecraft/item/tooltip/TooltipType;)V- intermediary - method_9568- Lnet/minecraft/class_2248;method_9568(Lnet/minecraft/class_1799;Lnet/minecraft/class_1792$class_9635;Ljava/util/List;Lnet/minecraft/class_1836;)V- official - a- Ldjn;a(Lcwq;Lcwm$b;Ljava/util/List;Lcyi;)V
 
- 
getSidesShape- Overrides:
- getSidesShapein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getSidesShape- Lnet/minecraft/block/AbstractBlock;getSidesShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;- intermediary - method_25959- Lnet/minecraft/class_4970;method_25959(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;- official - b_- Ldwx;b_(Ldwy;Ldfo;Lji;)Lfbv;
 
- 
getOutlineShapeprotected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getOutlineShapein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getOutlineShape- Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;- intermediary - method_9530- Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;- official - a- Ldwx;a(Ldwy;Ldfo;Lji;Lfbg;)Lfbv;
 
- 
isTransparent- Overrides:
- isTransparentin class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - named - isTransparent- Lnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;)Z- intermediary - method_9579- Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;)Z- official - e_- Ldwx;e_(Ldwy;)Z
 
- 
hasComparatorOutputReturns whether the block can have a comparator output.This does not check the current comparator output of the block. Use getComparatorOutput(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos)in that case.- Overrides:
- hasComparatorOutputin class- AbstractBlock
- Returns:
- whether the block can have a comparator output
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - hasComparatorOutput- Lnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z- intermediary - method_9498- Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Z- official - c_- Ldwx;c_(Ldwy;)Z
 
- 
getComparatorOutputReturns the comparator output of the block, from0to15.When overriding this, hasComparatorOutput(net.minecraft.block.BlockState)must also be overridden.- Overrides:
- getComparatorOutputin class- AbstractBlock
- Returns:
- the comparator output of the block, from 0to15
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getComparatorOutput- Lnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I- intermediary - method_9572- Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I- official - a- Ldwx;a(Ldwy;Ldgj;Lji;)I
 
- 
get- Mappings:
- Namespace - Name - Mixin selector - named - get- Lnet/minecraft/block/ShulkerBoxBlock;get(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/block/Block;- intermediary - method_10525- Lnet/minecraft/class_2480;method_10525(Lnet/minecraft/class_1767;)Lnet/minecraft/class_2248;- official - a- Ldqr;a(Lcvn;)Ldjn;
 
- 
getColor- Mappings:
- Namespace - Name - Mixin selector - named - getColor- Lnet/minecraft/block/ShulkerBoxBlock;getColor()Lnet/minecraft/util/DyeColor;- intermediary - method_10528- Lnet/minecraft/class_2480;method_10528()Lnet/minecraft/class_1767;- official - b- Ldqr;b()Lcvn;
 
- 
getItemStack- Mappings:
- Namespace - Name - Mixin selector - named - getItemStack- Lnet/minecraft/block/ShulkerBoxBlock;getItemStack(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/item/ItemStack;- intermediary - method_10529- Lnet/minecraft/class_2480;method_10529(Lnet/minecraft/class_1767;)Lnet/minecraft/class_1799;- official - b- Ldqr;b(Lcvn;)Lcwq;
 
- 
rotateReturnsstaterotated byrotation.By default, this returns the provided block state. - Overrides:
- rotatein class- AbstractBlock
- Returns:
- staterotated by- rotation
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - rotate- Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;- intermediary - method_9598- Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;- official - a- Ldwx;a(Ldwy;Ldqf;)Ldwy;
 
- 
mirrorReturnsstatemirrored bymirror.By default, this returns the provided block state. - Overrides:
- mirrorin class- AbstractBlock
- Returns:
- statemirrored by- mirror
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mirror- Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;- intermediary - method_9569- Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;- official - a- Ldwx;a(Ldwy;Ldom;)Ldwy;
 
 
-