net.minecraft.world.level.block.piston

public class PistonHeadBlock

extends DirectionalBlock

All mapped superinterfaces:

ItemLike

cfd
net.minecraft.world.level.block.piston.PistonHeadBlock
net.minecraft.class_2671
net.minecraft.block.PistonHeadBlock
net.minecraft.block.PistonHeadBlock
net.minecraft.server.v1_16_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
o
SOUTH_ARM_AABB
field_12221
SOUTH_ARM_SHAPE
field_185640_E
protected static final VoxelShape
p
NORTH_ARM_AABB
field_12229
NORTH_ARM_SHAPE
field_185642_F
protected static final VoxelShape
q
EAST_ARM_AABB
field_12218
EAST_ARM_SHAPE
field_185644_G
protected static final VoxelShape
r
WEST_ARM_AABB
field_12223
WEST_ARM_SHAPE
field_185645_I
protected static final VoxelShape
s
SHORT_UP_ARM_AABB
field_12231
SHORT_UP_ARM_SHAPE
field_190964_J
protected static final VoxelShape
t
SHORT_DOWN_ARM_AABB
field_12217
SHORT_DOWN_ARM_SHAPE
field_190965_K
protected static final VoxelShape
u
SHORT_SOUTH_ARM_AABB
field_12216
SHORT_SOUTH_ARM_SHAPE
field_190966_L
protected static final VoxelShape
v
SHORT_NORTH_ARM_AABB
field_12225
SHORT_NORTH_ARM_SHAPE
field_190967_M
protected static final VoxelShape
w
SHORT_EAST_ARM_AABB
field_12219
SHORT_EAST_ARM_SHAPE
field_190968_N
protected static final VoxelShape
x
SHORT_WEST_ARM_AABB
field_12212
SHORT_WEST_ARM_SHAPE
field_190969_O

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
private VoxelShape
h(cfj arg0)
getBaseShape(BlockState arg0)
method_11520(class_2680 arg0)
getHeadShape(BlockState state)
func_196424_i(BlockState arg0)
public boolean
c_(cfj arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
func_220074_n(BlockState arg0)
public VoxelShape
b(cfj arg0, bpg arg1, fu arg2, der 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, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private VoxelShape
l(cfj arg0)
getArmShape(BlockState arg0)
method_11519(class_2680 arg0)
getArmShape(BlockState state)
func_196425_x(BlockState arg0)
private boolean
a(cfj arg0, cfj arg1)
isFittingBase(BlockState arg0, BlockState arg1)
method_26980(class_2680 arg0, class_2680 arg1)
method_26980(BlockState arg0, BlockState arg1)
func_235682_a_(BlockState arg0, BlockState arg1)
public void
a(bqb arg0, fu arg1, cfj arg2, bec 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(cfj arg0, bqb arg1, fu arg2, cfj 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)
onStateReplaced(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(cfj arg0, fz arg1, cfj arg2, bqc arg3, fu arg4, fu 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, WorldAccess 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(cfj arg0, bqd arg1, fu 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(cfj arg0, bqb arg1, fu arg2, bvr arg3, fu 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(cfj arg0, cap 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(cfj arg0, bzj 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(cfk$a<bvr, cfj> 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(cfj arg0, bpg arg1, fu arg2, czg arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public ItemStack
a(bpg arg0, fu arg1, cfj 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)