Package net.minecraft.block
Class PistonHeadBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.FacingBlock
net.minecraft.block.PistonHeadBlock
- All Implemented Interfaces:
ItemConvertible
- Mappings:
Namespace Name official cnp
intermediary net/minecraft/class_2671
named net/minecraft/block/PistonHeadBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
static final float
protected static final float
protected static final float
protected static final float
private static final VoxelShape[]
protected static final VoxelShape
protected static final VoxelShape
static final BooleanProperty
protected static final VoxelShape
protected static final VoxelShape
private static final VoxelShape[]
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
static final EnumProperty<PistonType>
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
protected static final VoxelShape
Fields inherited from class net.minecraft.block.FacingBlock
FACING
Fields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) boolean
canPathfindThrough
(BlockState state, BlockView world, BlockPos pos, NavigationType type) boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) private static VoxelShape
getHeadShape
(Direction direction, boolean shortHead) private static VoxelShape[]
getHeadShapes
(boolean shortHead) getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getPickStack
(BlockView world, BlockPos pos, BlockState state) getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.boolean
hasSidedTransparency
(BlockState state) private boolean
isAttached
(BlockState headState, BlockState pistonState) mirror
(BlockState state, BlockMirror mirror) void
neighborUpdate
(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify) void
onBreak
(World world, BlockPos pos, BlockState state, PlayerEntity player) void
onStateReplaced
(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
.rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.Methods inherited from class net.minecraft.block.Block
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, isShapeFullCube, isSideInvisible, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
-
Field Details
-
TYPE
- Mappings:
Namespace Name Mixin selector official b
Lcnp;b:Lcou;
intermediary field_12224
Lnet/minecraft/class_2671;field_12224:Lnet/minecraft/class_2754;
named TYPE
Lnet/minecraft/block/PistonHeadBlock;TYPE:Lnet/minecraft/state/property/EnumProperty;
-
SHORT
- Mappings:
Namespace Name Mixin selector official c
Lcnp;c:Lcom;
intermediary field_12227
Lnet/minecraft/class_2671;field_12227:Lnet/minecraft/class_2746;
named SHORT
Lnet/minecraft/block/PistonHeadBlock;SHORT:Lnet/minecraft/state/property/BooleanProperty;
-
field_31377
public static final float field_31377- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcnp;d:F
intermediary field_31377
Lnet/minecraft/class_2671;field_31377:F
named field_31377
Lnet/minecraft/block/PistonHeadBlock;field_31377:F
-
EAST_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official e
Lcnp;e:Ldos;
intermediary field_12222
Lnet/minecraft/class_2671;field_12222:Lnet/minecraft/class_265;
named EAST_HEAD_SHAPE
Lnet/minecraft/block/PistonHeadBlock;EAST_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official f
Lcnp;f:Ldos;
intermediary field_12214
Lnet/minecraft/class_2671;field_12214:Lnet/minecraft/class_265;
named WEST_HEAD_SHAPE
Lnet/minecraft/block/PistonHeadBlock;WEST_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official g
Lcnp;g:Ldos;
intermediary field_12228
Lnet/minecraft/class_2671;field_12228:Lnet/minecraft/class_265;
named SOUTH_HEAD_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SOUTH_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official h
Lcnp;h:Ldos;
intermediary field_12213
Lnet/minecraft/class_2671;field_12213:Lnet/minecraft/class_265;
named NORTH_HEAD_SHAPE
Lnet/minecraft/block/PistonHeadBlock;NORTH_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
UP_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official i
Lcnp;i:Ldos;
intermediary field_12230
Lnet/minecraft/class_2671;field_12230:Lnet/minecraft/class_265;
named UP_HEAD_SHAPE
Lnet/minecraft/block/PistonHeadBlock;UP_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official j
Lcnp;j:Ldos;
intermediary field_12220
Lnet/minecraft/class_2671;field_12220:Lnet/minecraft/class_265;
named DOWN_HEAD_SHAPE
Lnet/minecraft/block/PistonHeadBlock;DOWN_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31378
protected static final float field_31378- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lcnp;k:F
intermediary field_31378
Lnet/minecraft/class_2671;field_31378:F
named field_31378
Lnet/minecraft/block/PistonHeadBlock;field_31378:F
-
field_31379
protected static final float field_31379- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lcnp;l:F
intermediary field_31379
Lnet/minecraft/class_2671;field_31379:F
named field_31379
Lnet/minecraft/block/PistonHeadBlock;field_31379:F
-
field_31380
protected static final float field_31380- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lcnp;m:F
intermediary field_31380
Lnet/minecraft/class_2671;field_31380:F
named field_31380
Lnet/minecraft/block/PistonHeadBlock;field_31380:F
-
UP_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official n
Lcnp;n:Ldos;
intermediary field_12215
Lnet/minecraft/class_2671;field_12215:Lnet/minecraft/class_265;
named UP_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;UP_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official F
Lcnp;F:Ldos;
intermediary field_12226
Lnet/minecraft/class_2671;field_12226:Lnet/minecraft/class_265;
named DOWN_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;DOWN_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official G
Lcnp;G:Ldos;
intermediary field_12221
Lnet/minecraft/class_2671;field_12221:Lnet/minecraft/class_265;
named SOUTH_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SOUTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official H
Lcnp;H:Ldos;
intermediary field_12229
Lnet/minecraft/class_2671;field_12229:Lnet/minecraft/class_265;
named NORTH_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;NORTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official I
Lcnp;I:Ldos;
intermediary field_12218
Lnet/minecraft/class_2671;field_12218:Lnet/minecraft/class_265;
named EAST_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;EAST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official J
Lcnp;J:Ldos;
intermediary field_12223
Lnet/minecraft/class_2671;field_12223:Lnet/minecraft/class_265;
named WEST_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;WEST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_UP_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official K
Lcnp;K:Ldos;
intermediary field_12231
Lnet/minecraft/class_2671;field_12231:Lnet/minecraft/class_265;
named SHORT_UP_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SHORT_UP_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_DOWN_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official L
Lcnp;L:Ldos;
intermediary field_12217
Lnet/minecraft/class_2671;field_12217:Lnet/minecraft/class_265;
named SHORT_DOWN_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SHORT_DOWN_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_SOUTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official M
Lcnp;M:Ldos;
intermediary field_12216
Lnet/minecraft/class_2671;field_12216:Lnet/minecraft/class_265;
named SHORT_SOUTH_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SHORT_SOUTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_NORTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official N
Lcnp;N:Ldos;
intermediary field_12225
Lnet/minecraft/class_2671;field_12225:Lnet/minecraft/class_265;
named SHORT_NORTH_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SHORT_NORTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_EAST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official O
Lcnp;O:Ldos;
intermediary field_12219
Lnet/minecraft/class_2671;field_12219:Lnet/minecraft/class_265;
named SHORT_EAST_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SHORT_EAST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_WEST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official P
Lcnp;P:Ldos;
intermediary field_12212
Lnet/minecraft/class_2671;field_12212:Lnet/minecraft/class_265;
named SHORT_WEST_ARM_SHAPE
Lnet/minecraft/block/PistonHeadBlock;SHORT_WEST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_HEAD_SHAPES
- Mappings:
Namespace Name Mixin selector official Q
Lcnp;Q:[Ldos;
intermediary field_26660
Lnet/minecraft/class_2671;field_26660:[Lnet/minecraft/class_265;
named SHORT_HEAD_SHAPES
Lnet/minecraft/block/PistonHeadBlock;SHORT_HEAD_SHAPES:[Lnet/minecraft/util/shape/VoxelShape;
-
HEAD_SHAPES
- Mappings:
Namespace Name Mixin selector official R
Lcnp;R:[Ldos;
intermediary field_26661
Lnet/minecraft/class_2671;field_26661:[Lnet/minecraft/class_265;
named HEAD_SHAPES
Lnet/minecraft/block/PistonHeadBlock;HEAD_SHAPES:[Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
PistonHeadBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lcnu;<init>(Lcnu$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getHeadShapes
- Mappings:
Namespace Name Mixin selector official a
Lcnp;a(Z)[Ldos;
intermediary method_31019
Lnet/minecraft/class_2671;method_31019(Z)[Lnet/minecraft/class_265;
named getHeadShapes
Lnet/minecraft/block/PistonHeadBlock;getHeadShapes(Z)[Lnet/minecraft/util/shape/VoxelShape;
-
getHeadShape
- Mappings:
Namespace Name Mixin selector official a
Lcnp;a(Lgm;Z)Ldos;
intermediary method_11520
Lnet/minecraft/class_2671;method_11520(Lnet/minecraft/class_2350;Z)Lnet/minecraft/class_265;
named getHeadShape
Lnet/minecraft/block/PistonHeadBlock;getHeadShape(Lnet/minecraft/util/math/Direction;Z)Lnet/minecraft/util/shape/VoxelShape;
-
hasSidedTransparency
- Overrides:
hasSidedTransparency
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official g_
Lcnu;g_(Lcnv;)Z
intermediary method_9526
Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Z
named hasSidedTransparency
Lnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lbzc;Lgh;Ldoe;)Ldos;
intermediary method_9530
Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
named getOutlineShape
Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
isAttached
- Mappings:
Namespace Name Mixin selector official a
Lcnp;a(Lcnv;Lcnv;)Z
intermediary method_26980
Lnet/minecraft/class_2671;method_26980(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Z
named isAttached
Lnet/minecraft/block/PistonHeadBlock;isAttached(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z
-
onBreak
- Overrides:
onBreak
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lbzw;Lgh;Lcnv;Lbnk;)V
intermediary method_9576
Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)V
named onBreak
Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
onStateReplaced
public void onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved) Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)
ifnewState
is different fromstate
. Vanilla blocks perform removal cleanups here.- Overrides:
onStateReplaced
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lbzw;Lgh;Lcnv;Z)V
intermediary method_9536
Lnet/minecraft/class_4970;method_9536(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
named onStateReplaced
Lnet/minecraft/block/AbstractBlock;onStateReplaced(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.- Overrides:
getStateForNeighborUpdate
in 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 new state of this block
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lgm;Lcnv;Lbzx;Lgh;Lgh;)Lcnv;
intermediary method_9559
Lnet/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;
named getStateForNeighborUpdate
Lnet/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;
-
canPlaceAt
- Overrides:
canPlaceAt
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lbzz;Lgh;)Z
intermediary method_9558
Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canPlaceAt
Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
neighborUpdate
public void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify) - Overrides:
neighborUpdate
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lbzw;Lgh;Lccr;Lgh;Z)V
intermediary method_9612
Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
named neighborUpdate
Lnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
-
getPickStack
- Overrides:
getPickStack
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lbzc;Lgh;Lcnv;)Lbtx;
intermediary method_9574
Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;
named getPickStack
Lnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
rotate
Applies a block rotation to a block state.By default, this returns the provided block state.
- Overrides:
rotate
in classAbstractBlock
- Returns:
- the rotated block state
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lcin;)Lcnv;
intermediary method_9598
Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
named rotate
Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
- Overrides:
mirror
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcnu;a(Lcnv;Lcha;)Lcnv;
intermediary method_9569
Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
named mirror
Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
appendProperties
- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lccr;a(Lcnw$a;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-