Class WallBlock
- All Implemented Interfaces:
FluidDrainable,FluidFillable,Waterloggable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name intermediary net/minecraft/class_2544official cygnamed net/minecraft/block/WallBlock
-
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
FieldsModifier and TypeFieldDescriptionprivate final Map<BlockState,VoxelShape> static final EnumProperty<WallShape>private static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intstatic final EnumProperty<WallShape>private final Map<BlockState,VoxelShape> static final EnumProperty<WallShape>private static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapestatic final BooleanPropertystatic final BooleanPropertystatic final EnumProperty<WallShape>Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getFluidState(BlockState state) Returns the state's associated fluid state.getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) private Map<BlockState,VoxelShape> getShapeMap(float float2, float float3, float float4, float float5, float float6, float float7) private BlockStategetStateAt(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) 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 static VoxelShapegetVoxelShape(VoxelShape base, WallShape wallShape, VoxelShape tall, VoxelShape low) private WallShapegetWallShape(boolean connected, VoxelShape aboveShape, VoxelShape tallShape) private static booleanisConnected(BlockState state, Property<WallShape> property) booleanisTransparent(BlockState state, BlockView world, BlockPos pos) mirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.rotate(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, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, 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, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, 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
-
UP
- Mappings:
Namespace Name Mixin selector intermediary field_11717Lnet/minecraft/class_2544;field_11717:Lnet/minecraft/class_2746;official aLcyg;a:Ldcp;named UPLnet/minecraft/block/WallBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
-
EAST_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22156Lnet/minecraft/class_2544;field_22156:Lnet/minecraft/class_2754;official bLcyg;b:Ldcw;named EAST_SHAPELnet/minecraft/block/WallBlock;EAST_SHAPE:Lnet/minecraft/state/property/EnumProperty;
-
NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22157Lnet/minecraft/class_2544;field_22157:Lnet/minecraft/class_2754;official cLcyg;c:Ldcw;named NORTH_SHAPELnet/minecraft/block/WallBlock;NORTH_SHAPE:Lnet/minecraft/state/property/EnumProperty;
-
SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22158Lnet/minecraft/class_2544;field_22158:Lnet/minecraft/class_2754;official dLcyg;d:Ldcw;named SOUTH_SHAPELnet/minecraft/block/WallBlock;SOUTH_SHAPE:Lnet/minecraft/state/property/EnumProperty;
-
WEST_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22159Lnet/minecraft/class_2544;field_22159:Lnet/minecraft/class_2754;official eLcyg;e:Ldcw;named WEST_SHAPELnet/minecraft/block/WallBlock;WEST_SHAPE:Lnet/minecraft/state/property/EnumProperty;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector intermediary field_22160Lnet/minecraft/class_2544;field_22160:Lnet/minecraft/class_2746;official fLcyg;f:Ldcp;named WATERLOGGEDLnet/minecraft/block/WallBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
field_31276
private static final int field_31276- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_31276Lnet/minecraft/class_2544;field_31276:Iofficial iLcyg;i:Inamed field_31276Lnet/minecraft/block/WallBlock;field_31276:I
-
field_31277
private static final int field_31277- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_31277Lnet/minecraft/class_2544;field_31277:Iofficial jLcyg;j:Inamed field_31277Lnet/minecraft/block/WallBlock;field_31277:I
-
field_31278
private static final int field_31278- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_31278Lnet/minecraft/class_2544;field_31278:Iofficial kLcyg;k:Inamed field_31278Lnet/minecraft/block/WallBlock;field_31278:I
-
field_31279
private static final int field_31279- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_31279Lnet/minecraft/class_2544;field_31279:Iofficial lLcyg;l:Inamed field_31279Lnet/minecraft/block/WallBlock;field_31279:I
-
field_31280
private static final int field_31280- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_31280Lnet/minecraft/class_2544;field_31280:Iofficial mLcyg;m:Inamed field_31280Lnet/minecraft/block/WallBlock;field_31280:I
-
field_31281
private static final int field_31281- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_31281Lnet/minecraft/class_2544;field_31281:Iofficial nLcyg;n:Inamed field_31281Lnet/minecraft/block/WallBlock;field_31281:I
-
TALL_POST_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22163Lnet/minecraft/class_2544;field_22163:Lnet/minecraft/class_265;official DLcyg;D:Leet;named TALL_POST_SHAPELnet/minecraft/block/WallBlock;TALL_POST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
TALL_NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22164Lnet/minecraft/class_2544;field_22164:Lnet/minecraft/class_265;official ELcyg;E:Leet;named TALL_NORTH_SHAPELnet/minecraft/block/WallBlock;TALL_NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
TALL_SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22165Lnet/minecraft/class_2544;field_22165:Lnet/minecraft/class_265;official FLcyg;F:Leet;named TALL_SOUTH_SHAPELnet/minecraft/block/WallBlock;TALL_SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
TALL_WEST_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22166Lnet/minecraft/class_2544;field_22166:Lnet/minecraft/class_265;official GLcyg;G:Leet;named TALL_WEST_SHAPELnet/minecraft/block/WallBlock;TALL_WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
TALL_EAST_SHAPE
- Mappings:
Namespace Name Mixin selector intermediary field_22167Lnet/minecraft/class_2544;field_22167:Lnet/minecraft/class_265;official HLcyg;H:Leet;named TALL_EAST_SHAPELnet/minecraft/block/WallBlock;TALL_EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
shapeMap
- Mappings:
Namespace Name Mixin selector intermediary field_22161Lnet/minecraft/class_2544;field_22161:Ljava/util/Map;official gLcyg;g:Ljava/util/Map;named shapeMapLnet/minecraft/block/WallBlock;shapeMap:Ljava/util/Map;
-
collisionShapeMap
- Mappings:
Namespace Name Mixin selector intermediary field_22162Lnet/minecraft/class_2544;field_22162:Ljava/util/Map;official hLcyg;h:Ljava/util/Map;named collisionShapeMapLnet/minecraft/block/WallBlock;collisionShapeMap:Ljava/util/Map;
-
-
Constructor Details
-
WallBlock
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vofficial <init>Ldbx;<init>(Ldbx$d;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getVoxelShape
private static VoxelShape getVoxelShape(VoxelShape base, WallShape wallShape, VoxelShape tall, VoxelShape low) - Mappings:
Namespace Name Mixin selector intermediary method_24426Lnet/minecraft/class_2544;method_24426(Lnet/minecraft/class_265;Lnet/minecraft/class_4778;Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Lnet/minecraft/class_265;official aLcyg;a(Leet;Lddk;Leet;Leet;)Leet;named getVoxelShapeLnet/minecraft/block/WallBlock;getVoxelShape(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/block/enums/WallShape;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/util/shape/VoxelShape;
-
getShapeMap
private Map<BlockState,VoxelShape> getShapeMap(float float2, float float3, float float4, float float5, float float6, float float7) - Mappings:
Namespace Name Mixin selector intermediary method_24420Lnet/minecraft/class_2544;method_24420(FFFFFF)Ljava/util/Map;official aLcyg;a(FFFFFF)Ljava/util/Map;named getShapeMapLnet/minecraft/block/WallBlock;getShapeMap(FFFFFF)Ljava/util/Map;
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector 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 aLdbx;a(Ldby;Lclq;Lgu;Leef;)Leet;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;
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector 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 cLdbx;c(Ldby;Lclq;Lgu;Leef;)Leet;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;
-
shouldConnectTo
- Mappings:
Namespace Name Mixin selector intermediary method_16704Lnet/minecraft/class_2544;method_16704(Lnet/minecraft/class_2680;ZLnet/minecraft/class_2350;)Zofficial aLcyg;a(Ldby;ZLha;)Znamed shouldConnectToLnet/minecraft/block/WallBlock;shouldConnectTo(Lnet/minecraft/block/BlockState;ZLnet/minecraft/util/math/Direction;)Z
-
getPlacementState
- Overrides:
getPlacementStatein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;official aLcpl;a(Lcif;)Ldby;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) 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.util.math.BlockPos, 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 blockdirection- the direction from this block to the neighborneighborState- the state of the updated neighbor blockworld- the worldpos- the position of this blockneighborPos- the position of the neighbor block- Returns:
- the state of the block after a neighboring block's state change
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_9559Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;official aLdbx;a(Ldby;Lha;Ldby;Lcml;Lgu;Lgu;)Ldby;named getStateForNeighborUpdateLnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
isConnected
- Mappings:
Namespace Name Mixin selector intermediary method_24424Lnet/minecraft/class_2544;method_24424(Lnet/minecraft/class_2680;Lnet/minecraft/class_2769;)Zofficial aLcyg;a(Ldby;Lddb;)Znamed isConnectedLnet/minecraft/block/WallBlock;isConnected(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Z
-
shouldUseTallShape
- Mappings:
Namespace Name Mixin selector intermediary method_24427Lnet/minecraft/class_2544;method_24427(Lnet/minecraft/class_265;Lnet/minecraft/class_265;)Zofficial aLcyg;a(Leet;Leet;)Znamed shouldUseTallShapeLnet/minecraft/block/WallBlock;shouldUseTallShape(Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Z
-
getStateAt
private BlockState getStateAt(WorldView world, BlockState state, BlockPos pos, BlockState aboveState) - Mappings:
Namespace Name Mixin selector 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 aLcyg;a(Lcmn;Ldby;Lgu;Ldby;)Ldby;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;
-
getStateWithNeighbor
private BlockState getStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) - Mappings:
Namespace Name Mixin selector 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 aLcyg;a(Lcmn;Lgu;Ldby;Lgu;Ldby;Lha;)Ldby;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;
-
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 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 aLcyg;a(Lcmn;Ldby;Lgu;Ldby;ZZZZ)Ldby;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;
-
shouldHavePost
- Mappings:
Namespace Name Mixin selector intermediary method_27092Lnet/minecraft/class_2544;method_27092(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_265;)Zofficial aLcyg;a(Ldby;Ldby;Leet;)Znamed shouldHavePostLnet/minecraft/block/WallBlock;shouldHavePost(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/shape/VoxelShape;)Z
-
getStateWith
private BlockState getStateWith(BlockState state, boolean north, boolean east, boolean south, boolean west, VoxelShape aboveShape) - Mappings:
Namespace Name Mixin selector intermediary method_24425Lnet/minecraft/class_2544;method_24425(Lnet/minecraft/class_2680;ZZZZLnet/minecraft/class_265;)Lnet/minecraft/class_2680;official aLcyg;a(Ldby;ZZZZLeet;)Ldby;named getStateWithLnet/minecraft/block/WallBlock;getStateWith(Lnet/minecraft/block/BlockState;ZZZZLnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/block/BlockState;
-
getWallShape
- Mappings:
Namespace Name Mixin selector intermediary method_24428Lnet/minecraft/class_2544;method_24428(ZLnet/minecraft/class_265;Lnet/minecraft/class_265;)Lnet/minecraft/class_4778;official aLcyg;a(ZLeet;Leet;)Lddk;named getWallShapeLnet/minecraft/block/WallBlock;getWallShape(ZLnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/shape/VoxelShape;)Lnet/minecraft/block/enums/WallShape;
-
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 intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;official c_Ldbx;c_(Ldby;)Ldxb;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
isTransparent
- Overrides:
isTransparentin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_9579Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Zofficial cLcpl;c(Ldby;Lclq;Lgu;)Znamed isTransparentLnet/minecraft/block/Block;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)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 intermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vofficial aLcpl;a(Ldbz$a;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
rotate
Returnsstaterotated byrotation.By default, this returns the provided block state.
- Overrides:
rotatein classAbstractBlock- Returns:
staterotated byrotation- Mappings:
Namespace Name Mixin selector intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;official aLdbx;a(Ldby;Lcvw;)Ldby;named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
Returnsstatemirrored bymirror.By default, this returns the provided block state.
- Overrides:
mirrorin classAbstractBlock- Returns:
statemirrored bymirror- Mappings:
Namespace Name Mixin selector intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;official aLdbx;a(Ldby;Lcuf;)Ldby;named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-