net.minecraft.world.level.block.piston

public class PistonHeadBlock

extends DirectionalBlock

All mapped superinterfaces:

ItemLike

byd
net.minecraft.world.level.block.piston.PistonHeadBlock
net.minecraft.class_2671
net.minecraft.block.PistonHeadBlock
net.minecraft.block.PistonHeadBlock
net.minecraft.server.v1_15_R1.BlockPistonExtension

Field summary

Modifier and TypeField
public static final EnumProperty<PistonType>
b
TYPE
field_12224
TYPE
field_176325_b
TYPE
public static final BooleanProperty
c
SHORT
field_12227
SHORT
field_176327_M
SHORT
protected static final VoxelShape
d
EAST_AABB
field_12222
EAST_HEAD_SHAPE
field_185635_c
protected static final VoxelShape
e
WEST_AABB
field_12214
WEST_HEAD_SHAPE
field_185637_d
protected static final VoxelShape
f
SOUTH_AABB
field_12228
SOUTH_HEAD_SHAPE
field_185639_e
protected static final VoxelShape
g
NORTH_AABB
field_12213
NORTH_HEAD_SHAPE
field_185641_f
protected static final VoxelShape
h
UP_AABB
field_12230
UP_HEAD_SHAPE
field_185643_g
protected static final VoxelShape
i
DOWN_AABB
field_12220
DOWN_HEAD_SHAPE
field_185634_B
protected static final VoxelShape
j
UP_ARM_AABB
field_12215
UP_ARM_SHAPE
field_185636_C
protected static final VoxelShape
k
DOWN_ARM_AABB
field_12226
DOWN_ARM_SHAPE
field_185638_D
protected static final VoxelShape
w
SOUTH_ARM_AABB
field_12221
SOUTH_ARM_SHAPE
field_185640_E
protected static final VoxelShape
x
NORTH_ARM_AABB
field_12229
NORTH_ARM_SHAPE
field_185642_F
protected static final VoxelShape
y
EAST_ARM_AABB
field_12218
EAST_ARM_SHAPE
field_185644_G
protected static final VoxelShape
z
WEST_ARM_AABB
field_12223
WEST_ARM_SHAPE
field_185645_I
protected static final VoxelShape
A
SHORT_UP_ARM_AABB
field_12231
SHORT_UP_ARM_SHAPE
field_190964_J
protected static final VoxelShape
B
SHORT_DOWN_ARM_AABB
field_12217
SHORT_DOWN_ARM_SHAPE
field_190965_K
protected static final VoxelShape
C
SHORT_SOUTH_ARM_AABB
field_12216
SHORT_SOUTH_ARM_SHAPE
field_190966_L
protected static final VoxelShape
D
SHORT_NORTH_ARM_AABB
field_12225
SHORT_NORTH_ARM_SHAPE
field_190967_M
protected static final VoxelShape
E
SHORT_EAST_ARM_AABB
field_12219
SHORT_EAST_ARM_SHAPE
field_190968_N
protected static final VoxelShape
F
SHORT_WEST_ARM_AABB
field_12212
SHORT_WEST_ARM_SHAPE
field_190969_O

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
private VoxelShape
h(byj arg0)
getBaseShape(BlockState arg0)
method_11520(class_2680 arg0)
getHeadShape(BlockState state)
func_196424_i(BlockState arg0)
public boolean
o(byj arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
func_220074_n(BlockState arg0)
public VoxelShape
a(byj arg0, bjg arg1, fk arg2, cvq arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private VoxelShape
i(byj arg0)
getArmShape(BlockState arg0)
method_11519(class_2680 arg0)
getArmShape(BlockState state)
func_196425_x(BlockState arg0)
public void
a(bjw arg0, fk arg1, byj arg2, ayj arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
func_176208_a(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public void
a(byj arg0, bjw arg1, fk arg2, byj arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public BlockState
a(byj arg0, fp arg1, byj arg2, bjx arg3, fk arg4, fk arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public boolean
a(byj arg0, bjz arg1, fk arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public void
a(byj arg0, bjw arg1, fk arg2, bph arg3, fk arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
public BlockState
a(byj arg0, btu arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(byj arg0, bsu arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
protected void
a(byk$a<bph, byj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public boolean
a(byj arg0, bjg arg1, fk arg2, cqr arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public ItemStack
a(bjg arg0, fk arg1, byj arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
func_185473_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)