Package net.minecraft.block
Class PistonHeadBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizontalFacingBlock
net.minecraft.block.PistonHeadBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official bkwintermediary net/minecraft/class_228named net/minecraft/block/PistonHeadBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapestatic final EnumProperty<class_2229>static final BooleanPropertyprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeFields inherited from class net.minecraft.block.HorizontalFacingBlock
field_18290Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) booleancanPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment) getOutlineShape(BlockState state, BlockView world, BlockPos pos) booleanmethod_11562(BlockState state) booleanmethod_11568(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) private VoxelShapemethod_16851(BlockState blockState) private VoxelShapemethod_16852(BlockState blockState) intmethod_403(BlockState blockState, Random random) method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) voidvoidonBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player) Runs when the block is broken by a player.withMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderLayerType, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16563, method_16564, method_16565, method_16566, method_16568, method_16569, method_16572, method_16573, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_410, method_414, method_416, method_420, method_421, method_435, method_8650, method_8651, method_8653, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18667
- Mappings:
Namespace Name Mixin selector official bLbkw;b:Lbmh;intermediary field_18667Lnet/minecraft/class_228;field_18667:Lnet/minecraft/class_2245;named field_18667Lnet/minecraft/block/PistonHeadBlock;field_18667:Lnet/minecraft/state/property/EnumProperty;
-
field_18668
- Mappings:
Namespace Name Mixin selector official cLbkw;c:Lbmb;intermediary field_18668Lnet/minecraft/class_228;field_18668:Lnet/minecraft/class_2243;named field_18668Lnet/minecraft/block/PistonHeadBlock;field_18668:Lnet/minecraft/state/property/BooleanProperty;
-
field_18669
- Mappings:
Namespace Name Mixin selector official oLbkw;o:Lcew;intermediary field_18669Lnet/minecraft/class_228;field_18669:Lnet/minecraft/class_4100;named field_18669Lnet/minecraft/block/PistonHeadBlock;field_18669:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18670
- Mappings:
Namespace Name Mixin selector official pLbkw;p:Lcew;intermediary field_18670Lnet/minecraft/class_228;field_18670:Lnet/minecraft/class_4100;named field_18670Lnet/minecraft/block/PistonHeadBlock;field_18670:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18671
- Mappings:
Namespace Name Mixin selector official qLbkw;q:Lcew;intermediary field_18671Lnet/minecraft/class_228;field_18671:Lnet/minecraft/class_4100;named field_18671Lnet/minecraft/block/PistonHeadBlock;field_18671:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18672
- Mappings:
Namespace Name Mixin selector official rLbkw;r:Lcew;intermediary field_18672Lnet/minecraft/class_228;field_18672:Lnet/minecraft/class_4100;named field_18672Lnet/minecraft/block/PistonHeadBlock;field_18672:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18673
- Mappings:
Namespace Name Mixin selector official sLbkw;s:Lcew;intermediary field_18673Lnet/minecraft/class_228;field_18673:Lnet/minecraft/class_4100;named field_18673Lnet/minecraft/block/PistonHeadBlock;field_18673:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18674
- Mappings:
Namespace Name Mixin selector official tLbkw;t:Lcew;intermediary field_18674Lnet/minecraft/class_228;field_18674:Lnet/minecraft/class_4100;named field_18674Lnet/minecraft/block/PistonHeadBlock;field_18674:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18675
- Mappings:
Namespace Name Mixin selector official uLbkw;u:Lcew;intermediary field_18675Lnet/minecraft/class_228;field_18675:Lnet/minecraft/class_4100;named field_18675Lnet/minecraft/block/PistonHeadBlock;field_18675:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18676
- Mappings:
Namespace Name Mixin selector official vLbkw;v:Lcew;intermediary field_18676Lnet/minecraft/class_228;field_18676:Lnet/minecraft/class_4100;named field_18676Lnet/minecraft/block/PistonHeadBlock;field_18676:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18677
- Mappings:
Namespace Name Mixin selector official wLbkw;w:Lcew;intermediary field_18677Lnet/minecraft/class_228;field_18677:Lnet/minecraft/class_4100;named field_18677Lnet/minecraft/block/PistonHeadBlock;field_18677:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18678
- Mappings:
Namespace Name Mixin selector official xLbkw;x:Lcew;intermediary field_18678Lnet/minecraft/class_228;field_18678:Lnet/minecraft/class_4100;named field_18678Lnet/minecraft/block/PistonHeadBlock;field_18678:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18679
- Mappings:
Namespace Name Mixin selector official yLbkw;y:Lcew;intermediary field_18679Lnet/minecraft/class_228;field_18679:Lnet/minecraft/class_4100;named field_18679Lnet/minecraft/block/PistonHeadBlock;field_18679:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18680
- Mappings:
Namespace Name Mixin selector official zLbkw;z:Lcew;intermediary field_18680Lnet/minecraft/class_228;field_18680:Lnet/minecraft/class_4100;named field_18680Lnet/minecraft/block/PistonHeadBlock;field_18680:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18661
- Mappings:
Namespace Name Mixin selector official ALbkw;A:Lcew;intermediary field_18661Lnet/minecraft/class_228;field_18661:Lnet/minecraft/class_4100;named field_18661Lnet/minecraft/block/PistonHeadBlock;field_18661:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18662
- Mappings:
Namespace Name Mixin selector official BLbkw;B:Lcew;intermediary field_18662Lnet/minecraft/class_228;field_18662:Lnet/minecraft/class_4100;named field_18662Lnet/minecraft/block/PistonHeadBlock;field_18662:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18663
- Mappings:
Namespace Name Mixin selector official CLbkw;C:Lcew;intermediary field_18663Lnet/minecraft/class_228;field_18663:Lnet/minecraft/class_4100;named field_18663Lnet/minecraft/block/PistonHeadBlock;field_18663:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18664
- Mappings:
Namespace Name Mixin selector official DLbkw;D:Lcew;intermediary field_18664Lnet/minecraft/class_228;field_18664:Lnet/minecraft/class_4100;named field_18664Lnet/minecraft/block/PistonHeadBlock;field_18664:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18665
- Mappings:
Namespace Name Mixin selector official ELbkw;E:Lcew;intermediary field_18665Lnet/minecraft/class_228;field_18665:Lnet/minecraft/class_4100;named field_18665Lnet/minecraft/block/PistonHeadBlock;field_18665:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18666
- Mappings:
Namespace Name Mixin selector official FLbkw;F:Lcew;intermediary field_18666Lnet/minecraft/class_228;field_18666:Lnet/minecraft/class_4100;named field_18666Lnet/minecraft/block/PistonHeadBlock;field_18666:Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
PistonHeadBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
method_16851
- Mappings:
Namespace Name Mixin selector official kLbkw;k(Lblc;)Lcew;intermediary method_16851Lnet/minecraft/class_228;method_16851(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4100;named method_16851Lnet/minecraft/block/PistonHeadBlock;method_16851(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shapes/VoxelShape;
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_16852
- Mappings:
Namespace Name Mixin selector official wLbkw;w(Lblc;)Lcew;intermediary method_16852Lnet/minecraft/class_228;method_16852(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4100;named method_16852Lnet/minecraft/block/PistonHeadBlock;method_16852(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_11568
- Overrides:
method_11568in classBlock- Mappings:
Namespace Name Mixin selector official rLbcs;r(Lblc;)Zintermediary method_11568Lnet/minecraft/class_197;method_11568(Lnet/minecraft/class_2232;)Znamed method_11568Lnet/minecraft/block/Block;method_11568(Lnet/minecraft/block/BlockState;)Z
-
onBreakByPlayer
Runs when the block is broken by a player.- Overrides:
onBreakByPlayerin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateplayer- The player who broke the block- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Laog;)Vintermediary method_8644Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_8659
public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) - Overrides:
method_8659in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
method_403
- Overrides:
method_403in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Lnet/minecraft/class_2232;Ljava/util/Random;)Inamed method_403Lnet/minecraft/block/Block;method_403(Lnet/minecraft/block/BlockState;Ljava/util/Random;)I
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Layc;Lel;)Zintermediary method_16570Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_16570Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
method_8640
- Overrides:
method_8640in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lel;Lblc;)Late;intermediary method_8640Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;named method_8640Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
withRotation
- Overrides:
withRotationin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbhb;)Lblc;intermediary method_11556Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;named withRotationLnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
withMirror
- Overrides:
withMirrorin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbfz;)Lblc;intermediary method_11555Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;named withMirrorLnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-
canPlaceAtSide
public boolean canPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment) - Overrides:
canPlaceAtSidein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;Lcbf;)Zintermediary method_8663Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_4064;)Znamed canPlaceAtSideLnet/minecraft/block/Block;canPlaceAtSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockPlacementEnvironment;)Z
-