Class WallBlock
- All Implemented Interfaces:
FluidDrainable,FluidFillable,Waterloggable,ItemConvertible,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/block/WallBlockintermediary net/minecraft/class_2544official dox
-
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 TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WallBlock> private 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_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, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, 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.protected booleancanPathfindThrough(BlockState state, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.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 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) protected BlockStategetStateForNeighborUpdate(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) protected booleanisTransparent(BlockState state, BlockView world, BlockPos pos) 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, 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, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, 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, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, 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 aLdox;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 bLdox;b:Ldtt;
-
EAST_SHAPE
- Mappings:
Namespace Name Mixin selector named EAST_SHAPELnet/minecraft/block/WallBlock;EAST_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_22156Lnet/minecraft/class_2544;field_22156:Lnet/minecraft/class_2754;official cLdox;c:Ldua;
-
NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector named NORTH_SHAPELnet/minecraft/block/WallBlock;NORTH_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_22157Lnet/minecraft/class_2544;field_22157:Lnet/minecraft/class_2754;official dLdox;d:Ldua;
-
SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector named SOUTH_SHAPELnet/minecraft/block/WallBlock;SOUTH_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_22158Lnet/minecraft/class_2544;field_22158:Lnet/minecraft/class_2754;official eLdox;e:Ldua;
-
WEST_SHAPE
- Mappings:
Namespace Name Mixin selector named WEST_SHAPELnet/minecraft/block/WallBlock;WEST_SHAPE:Lnet/minecraft/state/property/EnumProperty;intermediary field_22159Lnet/minecraft/class_2544;field_22159:Lnet/minecraft/class_2754;official fLdox;f:Ldua;
-
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 gLdox;g:Ldtt;
-
field_31276
private static final int field_31276- See Also:
- Mappings:
Namespace Name Mixin selector named field_31276Lnet/minecraft/block/WallBlock;field_31276:Iintermediary field_31276Lnet/minecraft/class_2544;field_31276:Iofficial jLdox;j:I
-
field_31277
private static final int field_31277- See Also:
- Mappings:
Namespace Name Mixin selector named field_31277Lnet/minecraft/block/WallBlock;field_31277:Iintermediary field_31277Lnet/minecraft/class_2544;field_31277:Iofficial kLdox;k:I
-
field_31278
private static final int field_31278- See Also:
- Mappings:
Namespace Name Mixin selector named field_31278Lnet/minecraft/block/WallBlock;field_31278:Iintermediary field_31278Lnet/minecraft/class_2544;field_31278:Iofficial lLdox;l:I
-
field_31279
private static final int field_31279- See Also:
- Mappings:
Namespace Name Mixin selector named field_31279Lnet/minecraft/block/WallBlock;field_31279:Iintermediary field_31279Lnet/minecraft/class_2544;field_31279:Iofficial mLdox;m:I
-
field_31280
private static final int field_31280- See Also:
- Mappings:
Namespace Name Mixin selector named field_31280Lnet/minecraft/block/WallBlock;field_31280:Iintermediary field_31280Lnet/minecraft/class_2544;field_31280:Iofficial nLdox;n:I
-
field_31281
private static final int field_31281- See Also:
- Mappings:
Namespace Name Mixin selector named field_31281Lnet/minecraft/block/WallBlock;field_31281:Iintermediary field_31281Lnet/minecraft/class_2544;field_31281:Iofficial oLdox;o:I
-
TALL_POST_SHAPE
- Mappings:
Namespace Name Mixin selector named TALL_POST_SHAPELnet/minecraft/block/WallBlock;TALL_POST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_22163Lnet/minecraft/class_2544;field_22163:Lnet/minecraft/class_265;official FLdox;F:Lexv;
-
TALL_NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector named TALL_NORTH_SHAPELnet/minecraft/block/WallBlock;TALL_NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_22164Lnet/minecraft/class_2544;field_22164:Lnet/minecraft/class_265;official GLdox;G:Lexv;
-
TALL_SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector named TALL_SOUTH_SHAPELnet/minecraft/block/WallBlock;TALL_SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_22165Lnet/minecraft/class_2544;field_22165:Lnet/minecraft/class_265;official HLdox;H:Lexv;
-
TALL_WEST_SHAPE
- Mappings:
Namespace Name Mixin selector named TALL_WEST_SHAPELnet/minecraft/block/WallBlock;TALL_WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_22166Lnet/minecraft/class_2544;field_22166:Lnet/minecraft/class_265;official ILdox;I:Lexv;
-
TALL_EAST_SHAPE
- Mappings:
Namespace Name Mixin selector named TALL_EAST_SHAPELnet/minecraft/block/WallBlock;TALL_EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;intermediary field_22167Lnet/minecraft/class_2544;field_22167:Lnet/minecraft/class_265;official JLdox;J:Lexv;
-
shapeMap
- Mappings:
Namespace Name Mixin selector named shapeMapLnet/minecraft/block/WallBlock;shapeMap:Ljava/util/Map;intermediary field_22161Lnet/minecraft/class_2544;field_22161:Ljava/util/Map;official hLdox;h:Ljava/util/Map;
-
collisionShapeMap
- Mappings:
Namespace Name Mixin selector named collisionShapeMapLnet/minecraft/block/WallBlock;collisionShapeMap:Ljava/util/Map;intermediary field_22162Lnet/minecraft/class_2544;field_22162:Ljava/util/Map;official iLdox;i:Ljava/util/Map;
-
-
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>Ldtb;<init>(Ldtb$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 aLdtb;a()Lcom/mojang/serialization/MapCodec;
-
getVoxelShape
private static VoxelShape getVoxelShape(VoxelShape base, WallShape wallShape, VoxelShape tall, VoxelShape low) - Mappings:
Namespace Name Mixin selector 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;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 aLdox;a(Lexv;Lduo;Lexv;Lexv;)Lexv;
-
getShapeMap
private Map<BlockState,VoxelShape> getShapeMap(float float2, float float3, float float4, float float5, float float6, float float7) - Mappings:
Namespace Name Mixin selector named getShapeMapLnet/minecraft/block/WallBlock;getShapeMap(FFFFFF)Ljava/util/Map;intermediary method_24420Lnet/minecraft/class_2544;method_24420(FFFFFF)Ljava/util/Map;official aLdox;a(FFFFFF)Ljava/util/Map;
-
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 aLdtb;a(Ldtc;Ldcc;Ljd;Lexh;)Lexv;
-
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 bLdtb;b(Ldtc;Ldcc;Ljd;Lexh;)Lexv;
-
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 aLdox;a(Ldtc;ZLji;)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 aLdfy;a(Lcyd;)Ldtc;
-
getStateForNeighborUpdate
protected 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 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;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 aLdtb;a(Ldtc;Lji;Ldtc;Ldcx;Ljd;Ljd;)Ldtc;
-
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 aLdox;a(Ldtc;Lduf;)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 aLdox;a(Lexv;Lexv;)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 aLdox;a(Ldcz;Ldtc;Ljd;Ldtc;)Ldtc;
-
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 aLdox;a(Ldcz;Ljd;Ldtc;Ljd;Ldtc;Lji;)Ldtc;
-
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 aLdox;a(Ldcz;Ldtc;Ljd;Ldtc;ZZZZ)Ldtc;
-
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 aLdox;a(Ldtc;Ldtc;Lexv;)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 aLdox;a(Ldtc;ZZZZLexv;)Ldtc;
-
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 aLdox;a(ZLexv;Lexv;)Lduo;
-
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_Ldtb;b_(Ldtc;)Lepe;
-
isTransparent
- Overrides:
isTransparentin classAbstractBlock- Mappings:
Namespace Name Mixin selector named isTransparentLnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_9579Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Zofficial a_Ldtb;a_(Ldtc;Ldcc;Ljd;)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 aLdfy;a(Ldtd$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 aLdtb;a(Ldtc;Ldmm;)Ldtc;
-
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 aLdtb;a(Ldtc;Ldkv;)Ldtc;
-