Class MultifaceBlock
- All Implemented Interfaces:
FluidDrainable,FluidFillable,Waterloggable,ItemConvertible,ToggleableFeature
- Direct Known Subclasses:
MultifaceGrowthBlock
- Mappings:
Namespace Name named net/minecraft/block/MultifaceBlockintermediary net/minecraft/class_5778official dop
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanstatic final com.mojang.serialization.MapCodec<MultifaceBlock> protected static final Direction[]private static final VoxelShapeprivate static final VoxelShapeprivate static final Map<Direction, BooleanProperty> private static final floatprivate final booleanprivate static final VoxelShapeprivate final ImmutableMap<BlockState, VoxelShape> private static final Map<Direction, VoxelShape> private static final VoxelShapeprivate static final VoxelShapestatic final BooleanPropertyprivate static final VoxelShapeFields inherited from class net.minecraft.block.Block
field_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.AbstractBlock
collidable, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.static booleanstatic booleancanGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) booleancanGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) protected booleancanHaveDirection(Direction direction) protected booleancanPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.protected booleancanReplace(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.collectDirections(BlockState state) static bytedirectionsToFlag(Collection<Direction> directions) private static BlockStatedisableDirection(BlockState state, BooleanProperty direction) flagToDirections(byte flag) protected com.mojang.serialization.MapCodec<? extends MultifaceBlock> getCodec()protected FluidStategetFluidState(BlockState state) Returns the state's associated fluid state.protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) static BooleanPropertygetProperty(Direction direction) private static VoxelShapegetShapeForState(BlockState state) protected BlockStategetStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected static booleanhasAnyDirection(BlockState state) static booleanhasDirection(BlockState state, Direction direction) private static booleanisNotFullBlock(BlockState state) private BlockStatemirror(BlockState state, Function<Direction, Direction> mirror) protected BlockStatemirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.protected BlockStaterotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.private static BlockStatewithAllDirections(StateManager<Block, BlockState> stateManager) withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) Methods inherited from class net.minecraft.block.Block
afterBreak, appendTooltip, 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, 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, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabledMethods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/block/MultifaceBlock;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_55079Lnet/minecraft/class_5778;field_55079:Lcom/mojang/serialization/MapCodec;official bLdop;b:Lcom/mojang/serialization/MapCodec;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector named WATERLOGGEDLnet/minecraft/block/MultifaceBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;intermediary field_55497Lnet/minecraft/class_5778;field_55497:Lnet/minecraft/class_2746;official cLdop;c:Ldxp;
-
field_31194
private static final float field_31194- See Also:
- Mappings:
Namespace Name Mixin selector named field_31194Lnet/minecraft/block/MultifaceBlock;field_31194:Fintermediary field_31194Lnet/minecraft/class_5778;field_31194:Fofficial aLdop;a:F
-
UP_SHAPE
- Mappings:
Namespace Name Mixin selector named UP_SHAPELnet/minecraft/block/MultifaceBlock;UP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_28413Lnet/minecraft/class_5778;field_28413:Lnet/minecraft/class_265;official eLdop;e:Lfbv;
-
DOWN_SHAPE
- Mappings:
Namespace Name Mixin selector named DOWN_SHAPELnet/minecraft/block/MultifaceBlock;DOWN_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_28414Lnet/minecraft/class_5778;field_28414:Lnet/minecraft/class_265;official fLdop;f:Lfbv;
-
EAST_SHAPE
- Mappings:
Namespace Name Mixin selector named EAST_SHAPELnet/minecraft/block/MultifaceBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_28415Lnet/minecraft/class_5778;field_28415:Lnet/minecraft/class_265;official gLdop;g:Lfbv;
-
WEST_SHAPE
- Mappings:
Namespace Name Mixin selector named WEST_SHAPELnet/minecraft/block/MultifaceBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_28416Lnet/minecraft/class_5778;field_28416:Lnet/minecraft/class_265;official hLdop;h:Lfbv;
-
SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector named SOUTH_SHAPELnet/minecraft/block/MultifaceBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_28417Lnet/minecraft/class_5778;field_28417:Lnet/minecraft/class_265;official iLdop;i:Lfbv;
-
NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector named NORTH_SHAPELnet/minecraft/block/MultifaceBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_28418Lnet/minecraft/class_5778;field_28418:Lnet/minecraft/class_265;official jLdop;j:Lfbv;
-
FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector named FACING_PROPERTIESLnet/minecraft/block/MultifaceBlock;FACING_PROPERTIES:Ljava/util/Map;intermediary field_28419Lnet/minecraft/class_5778;field_28419:Ljava/util/Map;official kLdop;k:Ljava/util/Map;
-
SHAPES_FOR_DIRECTIONS
- Mappings:
Namespace Name Mixin selector named SHAPES_FOR_DIRECTIONSLnet/minecraft/block/MultifaceBlock;SHAPES_FOR_DIRECTIONS:Ljava/util/Map;intermediary field_28420Lnet/minecraft/class_5778;field_28420:Ljava/util/Map;official lLdop;l:Ljava/util/Map;
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector named DIRECTIONSLnet/minecraft/block/MultifaceBlock;DIRECTIONS:[Lnet/minecraft/util/math/Direction;intermediary field_28421Lnet/minecraft/class_5778;field_28421:[Lnet/minecraft/class_2350;official dLdop;d:[Ljn;
-
SHAPES
- Mappings:
Namespace Name Mixin selector named SHAPESLnet/minecraft/block/MultifaceBlock;SHAPES:Lcom/google/common/collect/ImmutableMap;intermediary field_28422Lnet/minecraft/class_5778;field_28422:Lcom/google/common/collect/ImmutableMap;official mLdop;m:Lcom/google/common/collect/ImmutableMap;
-
hasAllHorizontalDirections
private final boolean hasAllHorizontalDirections- Mappings:
Namespace Name Mixin selector named hasAllHorizontalDirectionsLnet/minecraft/block/MultifaceBlock;hasAllHorizontalDirections:Zintermediary field_28423Lnet/minecraft/class_5778;field_28423:Zofficial nLdop;n:Z
-
canMirrorX
private final boolean canMirrorX- Mappings:
Namespace Name Mixin selector named canMirrorXLnet/minecraft/block/MultifaceBlock;canMirrorX:Zintermediary field_28424Lnet/minecraft/class_5778;field_28424:Zofficial oLdop;o:Z
-
canMirrorZ
private final boolean canMirrorZ- Mappings:
Namespace Name Mixin selector named canMirrorZLnet/minecraft/block/MultifaceBlock;canMirrorZ:Zintermediary field_28425Lnet/minecraft/class_5778;field_28425:Zofficial GLdop;G:Z
-
-
Constructor Details
-
MultifaceBlock
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vofficial <init>Ldwx;<init>(Ldwx$d;)V
-
-
Method Details
-
getCodec
- Overrides:
getCodecin classBlock- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;official aLdwx;a()Lcom/mojang/serialization/MapCodec;
-
collectDirections
- Mappings:
Namespace Name Mixin selector named collectDirectionsLnet/minecraft/block/MultifaceBlock;collectDirections(Lnet/minecraft/block/BlockState;)Ljava/util/Set;intermediary method_41440Lnet/minecraft/class_5778;method_41440(Lnet/minecraft/class_2680;)Ljava/util/Set;official oLdop;o(Ldwy;)Ljava/util/Set;
-
flagToDirections
- Mappings:
Namespace Name Mixin selector named flagToDirectionsLnet/minecraft/block/MultifaceBlock;flagToDirections(B)Ljava/util/Set;intermediary method_41437Lnet/minecraft/class_5778;method_41437(B)Ljava/util/Set;official aLdop;a(B)Ljava/util/Set;
-
directionsToFlag
- Mappings:
Namespace Name Mixin selector named directionsToFlagLnet/minecraft/block/MultifaceBlock;directionsToFlag(Ljava/util/Collection;)Bintermediary method_41439Lnet/minecraft/class_5778;method_41439(Ljava/util/Collection;)Bofficial aLdop;a(Ljava/util/Collection;)B
-
canHaveDirection
- Mappings:
Namespace Name Mixin selector named canHaveDirectionLnet/minecraft/block/MultifaceBlock;canHaveDirection(Lnet/minecraft/util/math/Direction;)Zintermediary method_33369Lnet/minecraft/class_5778;method_33369(Lnet/minecraft/class_2350;)Zofficial aLdop;a(Ljn;)Z
-
appendProperties
Appends 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 classBlock- Mappings:
Namespace Name Mixin selector named appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vofficial aLdjn;a(Ldwz$a;)V
-
getStateForNeighborUpdate
protected BlockState getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.Returning
Blocks.AIRbreaks the block. This is useful to implement supporting block requirement for blocks (if used along withcanPlaceAt(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)).Side effects like activating a redstone component (but not scheduling a tick) should be performed in
AbstractBlock.neighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.Block, net.minecraft.world.block.WireOrientation, boolean)instead. If the block supports waterlogging and currently has water, this method should be overridden to tick the fluid at the block's position.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. This is not called ifBlock.FORCE_STATEflag is set in thesetBlockStatecall.This method can be used for multiple purposes. Here are some examples:
FenceBlockuses it to update the fence's connection when a horizontally neighboring block's state is changed.PlantBlockuses it to break the plant if the state change causes it to lose its supporting block.DoorBlockuses it to copy the state of the other half of the door.SlabBlockuses it to schedule the fluid to tick if waterlogged.SoulSandBlockuses it to schedule the water block above to tick so that it becomes a bubble column.FallingBlockuses it to schedule the block to tick so that it can fall if needed.
- Overrides:
getStateForNeighborUpdatein classAbstractBlock- Parameters:
state- the state of this blockworld- the worldpos- the position of this blockdirection- the direction from this block to the neighborneighborPos- the position of the neighbor blockneighborState- the state of the updated neighbor block- Returns:
- the state of the block after a neighboring block's state change
- See Also:
- Mappings:
Namespace Name Mixin selector named getStateForNeighborUpdateLnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/world/tick/ScheduledTickView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/block/BlockState;intermediary method_9559Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_10225;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)Lnet/minecraft/class_2680;official aLdwx;a(Ldwy;Ldgm;Ldgy;Lji;Ljn;Lji;Ldwy;Lazh;)Ldwy;
-
getFluidState
Returns the state's associated fluid state.Waterloggable blocks must override this to return
Fluids.WATER.getStill(false)when waterlogged.- Overrides:
getFluidStatein classAbstractBlock- Returns:
- the state's associated fluid state
- See Also:
- Mappings:
Namespace Name Mixin selector named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;official b_Ldwx;b_(Ldwy;)Leta;
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getOutlineShapeLnet/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_9530Lnet/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 aLdwx;a(Ldwy;Ldfo;Lji;Lfbg;)Lfbv;
-
canPlaceAt
Returns whether the block can be placed atpos.Blocks with supporting block requirements should override this method. Note that this should also be checked manually during
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 order to break the block that lost its supporting block.This is only checked during the use of block items or by endermen, falling blocks, etc that can place blocks. This does not affect block state changes performed through
World.setBlockState(BlockPos, BlockState)call.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:
canPlaceAtin classAbstractBlock- Returns:
- whether the block can be placed at
pos - See Also:
- Mappings:
Namespace Name Mixin selector named canPlaceAtLnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLdwx;a(Ldwy;Ldgm;Lji;)Z
-
canReplace
Returns whether the item can replace the block.By default, this checks if the block allows replacing and whether the item differs from the block's item. Items composed of multiple blocks, such as candles, vines, or snow layers, should override this to implement additional checks.
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
.invalid reference
World#isClient- Overrides:
canReplacein classAbstractBlock- Returns:
- whether the item can replace the block
- See Also:
- Mappings:
Namespace Name Mixin selector named canReplaceLnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Zintermediary method_9616Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Zofficial aLdwx;a(Ldwy;Ldah;)Z
-
getPlacementState
- Overrides:
getPlacementStatein classBlock- Mappings:
Namespace Name Mixin selector named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;official aLdjn;a(Ldah;)Ldwy;
-
canGrowWithDirection
public boolean canGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector named canGrowWithDirectionLnet/minecraft/block/MultifaceBlock;canGrowWithDirection(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Zintermediary method_41438Lnet/minecraft/class_5778;method_41438(Lnet/minecraft/class_1922;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Zofficial aLdop;a(Ldfo;Ldwy;Lji;Ljn;)Z
-
withDirection
@Nullable public @Nullable BlockState withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector named withDirectionLnet/minecraft/block/MultifaceBlock;withDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockState;intermediary method_33362Lnet/minecraft/class_5778;method_33362(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2680;official cLdop;c(Ldwy;Ldfo;Lji;Ljn;)Ldwy;
-
rotate
Returnsstaterotated byrotation.By default, this returns the provided block state.
- Overrides:
rotatein classAbstractBlock- Returns:
staterotated byrotation- See Also:
- Mappings:
Namespace Name Mixin selector named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;official aLdwx;a(Ldwy;Ldqf;)Ldwy;
-
mirror
Returnsstatemirrored bymirror.By default, this returns the provided block state.
- Overrides:
mirrorin classAbstractBlock- Returns:
statemirrored bymirror- See Also:
- Mappings:
Namespace Name Mixin selector named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;official aLdwx;a(Ldwy;Ldom;)Ldwy;
-
mirror
- Mappings:
Namespace Name Mixin selector named mirrorLnet/minecraft/block/MultifaceBlock;mirror(Lnet/minecraft/block/BlockState;Ljava/util/function/Function;)Lnet/minecraft/block/BlockState;intermediary method_33367Lnet/minecraft/class_5778;method_33367(Lnet/minecraft/class_2680;Ljava/util/function/Function;)Lnet/minecraft/class_2680;official aLdop;a(Ldwy;Ljava/util/function/Function;)Ldwy;
-
hasDirection
- Mappings:
Namespace Name Mixin selector named hasDirectionLnet/minecraft/block/MultifaceBlock;hasDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Zintermediary method_33366Lnet/minecraft/class_5778;method_33366(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Zofficial aLdop;a(Ldwy;Ljn;)Z
-
canGrowOn
- Mappings:
Namespace Name Mixin selector named canGrowOnLnet/minecraft/block/MultifaceBlock;canGrowOn(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Zintermediary method_65162Lnet/minecraft/class_5778;method_65162(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Zofficial aLdop;a(Ldfo;Lji;Ljn;)Z
-
canGrowOn
public static boolean canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector named canGrowOnLnet/minecraft/block/MultifaceBlock;canGrowOn(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_33358Lnet/minecraft/class_5778;method_33358(Lnet/minecraft/class_1922;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLdop;a(Ldfo;Ljn;Lji;Ldwy;)Z
-
disableDirection
- Mappings:
Namespace Name Mixin selector named disableDirectionLnet/minecraft/block/MultifaceBlock;disableDirection(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/BooleanProperty;)Lnet/minecraft/block/BlockState;intermediary method_33365Lnet/minecraft/class_5778;method_33365(Lnet/minecraft/class_2680;Lnet/minecraft/class_2746;)Lnet/minecraft/class_2680;official aLdop;a(Ldwy;Ldxp;)Ldwy;
-
getProperty
- Mappings:
Namespace Name Mixin selector named getPropertyLnet/minecraft/block/MultifaceBlock;getProperty(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/state/property/BooleanProperty;intermediary method_33374Lnet/minecraft/class_5778;method_33374(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2746;official bLdop;b(Ljn;)Ldxp;
-
withAllDirections
- Mappings:
Namespace Name Mixin selector named withAllDirectionsLnet/minecraft/block/MultifaceBlock;withAllDirections(Lnet/minecraft/state/StateManager;)Lnet/minecraft/block/BlockState;intermediary method_33368Lnet/minecraft/class_5778;method_33368(Lnet/minecraft/class_2689;)Lnet/minecraft/class_2680;official aLdop;a(Ldwz;)Ldwy;
-
getShapeForState
- Mappings:
Namespace Name Mixin selector named getShapeForStateLnet/minecraft/block/MultifaceBlock;getShapeForState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_33380Lnet/minecraft/class_5778;method_33380(Lnet/minecraft/class_2680;)Lnet/minecraft/class_265;official rLdop;r(Ldwy;)Lfbv;
-
hasAnyDirection
- Mappings:
Namespace Name Mixin selector named hasAnyDirectionLnet/minecraft/block/MultifaceBlock;hasAnyDirection(Lnet/minecraft/block/BlockState;)Zintermediary method_33381Lnet/minecraft/class_5778;method_33381(Lnet/minecraft/class_2680;)Zofficial qLdop;q(Ldwy;)Z
-
isNotFullBlock
- Mappings:
Namespace Name Mixin selector named isNotFullBlockLnet/minecraft/block/MultifaceBlock;isNotFullBlock(Lnet/minecraft/block/BlockState;)Zintermediary method_33382Lnet/minecraft/class_5778;method_33382(Lnet/minecraft/class_2680;)Zofficial sLdop;s(Ldwy;)Z
-