Class WallBlock
- All Implemented Interfaces:
FluidDrainable,FluidFillable,Waterloggable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/block/WallBlockintermediary net/minecraft/class_2544official ehj
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.SetBlockStateFlagNested 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 TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WallBlock> private final Function<BlockState, VoxelShape> static final EnumProperty<WallShape> static final EnumProperty<WallShape> private final Function<BlockState, VoxelShape> private static final VoxelShapestatic final EnumProperty<WallShape> static final BooleanPropertystatic final Map<Direction, EnumProperty<WallShape>> private static final Map<Direction, VoxelShape> static final BooleanPropertystatic final EnumProperty<WallShape> Fields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, FORCE_STATE, FORCE_STATE_AND_SKIP_CALLBACKS_AND_DROPS, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_BLOCK_ADDED_CALLBACK, SKIP_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_DROPS, SKIP_REDRAW_AND_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, 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.protected booleancanPathfindThrough(BlockState state, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.private Function<BlockState, VoxelShape> createShapeFunction(float tallHeight, float lowHeight) com.mojang.serialization.MapCodec<WallBlock> getCodec()protected VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected FluidStategetFluidState(BlockState state) Returns the state's associated fluid state.protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) private BlockStategetStateAt(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) 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.private BlockStategetStateWith(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape) private BlockStategetStateWith(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) private BlockStategetStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) private WallShapegetWallShape(boolean connected, VoxelShape aboveShape, VoxelShape tallShape) private static booleanisConnected(BlockState state, Property<WallShape> property) protected booleanisTransparent(BlockState state) protected BlockStatemirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.protected BlockStaterotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.private booleanshouldConnectTo(BlockState state, boolean faceFullSquare, Direction side) private booleanshouldHavePost(BlockState state, BlockState aboveState, VoxelShape aboveShape) private static booleanshouldUseTallShape(VoxelShape aboveShape, VoxelShape tallShape) Methods inherited from class net.minecraft.block.Block
afterBreak, asBlock, asItem, canMobSpawnInside, cannotConnect, createColumnShape, createColumnShape, createCubeShape, createCuboidShape, createCuboidShape, createCuboidZShape, createCuboidZShape, createCuboidZShape, createShapeArray, createShapeFunction, createShapeFunction, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, generateBlockInteractLoot, generateLoot, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getRawIdFromState, getRegistryEntry, 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, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, 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, keepBlockEntityWhenReplacedWith, 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/WallBlock;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_46487Lnet/minecraft/class_2544;field_46487:Lcom/mojang/serialization/MapCodec;official aLehj;a:Lcom/mojang/serialization/MapCodec;
-
UP
- Mappings:
Namespace Name Mixin selector named UPLnet/minecraft/block/WallBlock;UP:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11717Lnet/minecraft/class_2544;field_11717:Lnet/minecraft/class_2746;official bLehj;b:Lemy;
-
EAST_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named EAST_WALL_SHAPELnet/minecraft/block/WallBlock;EAST_WALL_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_55815Lnet/minecraft/class_2544;field_55815:Lnet/minecraft/class_2754;official cLehj;c:Lenf;
-
NORTH_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named NORTH_WALL_SHAPELnet/minecraft/block/WallBlock;NORTH_WALL_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_55816Lnet/minecraft/class_2544;field_55816:Lnet/minecraft/class_2754;official dLehj;d:Lenf;
-
SOUTH_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named SOUTH_WALL_SHAPELnet/minecraft/block/WallBlock;SOUTH_WALL_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_55817Lnet/minecraft/class_2544;field_55817:Lnet/minecraft/class_2754;official eLehj;e:Lenf;
-
WEST_WALL_SHAPE
- Mappings:
Namespace Name Mixin selector named WEST_WALL_SHAPELnet/minecraft/block/WallBlock;WEST_WALL_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_55818Lnet/minecraft/class_2544;field_55818:Lnet/minecraft/class_2754;official fLehj;f:Lenf;
-
WALL_SHAPE_PROPERTIES_BY_DIRECTION
- Mappings:
Namespace Name Mixin selector named WALL_SHAPE_PROPERTIES_BY_DIRECTIONLnet/minecraft/block/WallBlock;WALL_SHAPE_PROPERTIES_BY_DIRECTION:Ljava/util/Map;intermediary field_55819Lnet/minecraft/class_2544;field_55819:Ljava/util/Map;official gLehj;g:Ljava/util/Map;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector named WATERLOGGEDLnet/minecraft/block/WallBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;intermediary field_22160Lnet/minecraft/class_2544;field_22160:Lnet/minecraft/class_2746;official hLehj;h:Lemy;
-
POST_SHAPE_FOR_TALL_TEST
- Mappings:
Namespace Name Mixin selector named POST_SHAPE_FOR_TALL_TESTLnet/minecraft/block/WallBlock;POST_SHAPE_FOR_TALL_TEST:Lnet/minecraft/util/shape/VoxelShape;intermediary field_55813Lnet/minecraft/class_2544;field_55813:Lnet/minecraft/class_265;official RLehj;R:Lfrx;
-
WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTION
- Mappings:
Namespace Name Mixin selector named WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTIONLnet/minecraft/block/WallBlock;WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTION:Ljava/util/Map;intermediary field_55814Lnet/minecraft/class_2544;field_55814:Ljava/util/Map;official SLehj;S:Ljava/util/Map;
-
outlineShapeFunction
- Mappings:
Namespace Name Mixin selector named outlineShapeFunctionLnet/minecraft/block/WallBlock;outlineShapeFunction:Ljava/util/function/Function;intermediary field_55820Lnet/minecraft/class_2544;field_55820:Ljava/util/function/Function;official iLehj;i:Ljava/util/function/Function;
-
collisionShapeFunction
- Mappings:
Namespace Name Mixin selector named collisionShapeFunctionLnet/minecraft/block/WallBlock;collisionShapeFunction:Ljava/util/function/Function;intermediary field_55812Lnet/minecraft/class_2544;field_55812:Ljava/util/function/Function;official DLehj;D:Ljava/util/function/Function;
-
-
Constructor Details
-
WallBlock
- 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>Lemg;<init>(Lemg$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 aLemg;a()Lcom/mojang/serialization/MapCodec;
-
createShapeFunction
- Mappings:
Namespace Name Mixin selector named createShapeFunctionLnet/minecraft/block/WallBlock;createShapeFunction(FF)Ljava/util/function/Function;intermediary method_24420Lnet/minecraft/class_2544;method_24420(FF)Ljava/util/function/Function;official aLehj;a(FF)Ljava/util/function/Function;
-
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 aLemg;a(Lemh;Ldtr;Liz;Lfri;)Lfrx;
-
getCollisionShape
protected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector named getCollisionShapeLnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;intermediary method_9549Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;official bLemg;b(Lemh;Ldtr;Liz;Lfri;)Lfrx;
-
shouldConnectTo
- Mappings:
Namespace Name Mixin selector named shouldConnectToLnet/minecraft/block/WallBlock;shouldConnectTo(Lnet/minecraft/block/BlockState;ZLnet/minecraft/util/math/Direction;)Zintermediary method_16704Lnet/minecraft/class_2544;method_16704(Lnet/minecraft/class_2680;ZLnet/minecraft/class_2350;)Zofficial aLehj;a(Lemh;ZLjf;)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 aLdxq;a(Ldof;)Lemh;
-
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 withAbstractBlock.canPlaceAt(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 aLemg;a(Lemh;Lduq;Ldvd;Liz;Ljf;Liz;Lemh;Lbgq;)Lemh;
-
isConnected
- Mappings:
Namespace Name Mixin selector named isConnectedLnet/minecraft/block/WallBlock;isConnected(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Zintermediary method_24424Lnet/minecraft/class_2544;method_24424(Lnet/minecraft/class_2680;Lnet/minecraft/class_2769;)Zofficial aLehj;a(Lemh;Lenk;)Z
-
shouldUseTallShape
- Mappings:
Namespace Name Mixin selector named shouldUseTallShapeLnet/minecraft/block/WallBlock;shouldUseTallShape(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Zintermediary method_24427Lnet/minecraft/class_2544;method_24427(Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Zofficial aLehj;a(Lfrx;Lfrx;)Z
-
getStateAt
private BlockState getStateAt(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) - Mappings:
Namespace Name Mixin selector named getStateAtLnet/minecraft/block/WallBlock;getStateAt(Lnet/minecraft/world/WorldView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;intermediary method_24421Lnet/minecraft/class_2544;method_24421(Lnet/minecraft/class_4538;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;official aLehj;a(Lduq;Lemh;Liz;Lemh;)Lemh;
-
getStateWithNeighbor
private BlockState getStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) - Mappings:
Namespace Name Mixin selector named getStateWithNeighborLnet/minecraft/block/WallBlock;getStateWithNeighbor(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockState;intermediary method_24423Lnet/minecraft/class_2544;method_24423(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2680;official aLehj;a(Lduq;Liz;Lemh;Liz;Lemh;Ljf;)Lemh;
-
getStateWith
private BlockState getStateWith(WorldView world, BlockState state, BlockPos pos, BlockState aboveState, boolean north, boolean east, boolean south, boolean west) - Mappings:
Namespace Name Mixin selector named getStateWithLnet/minecraft/block/WallBlock;getStateWith(Lnet/minecraft/world/WorldView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;ZZZZ)Lnet/minecraft/block/BlockState;intermediary method_24422Lnet/minecraft/class_2544;method_24422(Lnet/minecraft/class_4538;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;ZZZZ)Lnet/minecraft/class_2680;official aLehj;a(Lduq;Lemh;Liz;Lemh;ZZZZ)Lemh;
-
shouldHavePost
- Mappings:
Namespace Name Mixin selector named shouldHavePostLnet/minecraft/block/WallBlock;shouldHavePost(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/shape/VoxelShape;)Zintermediary method_27092Lnet/minecraft/class_2544;method_27092(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_265;)Zofficial aLehj;a(Lemh;Lemh;Lfrx;)Z
-
getStateWith
private BlockState getStateWith(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape) - Mappings:
Namespace Name Mixin selector named getStateWithLnet/minecraft/block/WallBlock;getStateWith(Lnet/minecraft/block/BlockState;ZZZZLnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/block/BlockState;intermediary method_24425Lnet/minecraft/class_2544;method_24425(Lnet/minecraft/class_2680;ZZZZLnet/minecraft/class_265;)Lnet/minecraft/class_2680;official aLehj;a(Lemh;ZZZZLfrx;)Lemh;
-
getWallShape
- Mappings:
Namespace Name Mixin selector named getWallShapeLnet/minecraft/block/WallBlock;getWallShape(ZLnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/block/enums/WallShape;intermediary method_24428Lnet/minecraft/class_2544;method_24428(ZLnet/minecraft/class_265;Lnet/minecraft/class_265;)Lnet/minecraft/class_4778;official aLehj;a(ZLfrx;Lfrx;)Lenv;
-
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_Lemg;b_(Lemh;)Lfiv;
-
isTransparent
- Overrides:
isTransparentin classAbstractBlock- Mappings:
Namespace Name Mixin selector named isTransparentLnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;)Zintermediary method_9579Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;)Zofficial e_Lemg;e_(Lemh;)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 aLdxq;a(Lemi$a;)V
-
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 aLemg;a(Lemh;Leem;)Lemh;
-
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 aLemg;a(Lemh;Lecv;)Lemh;
-