net.minecraft.world.level.block.piston

public class PistonBaseBlock

extends DirectionalBlock

All mapped superinterfaces:

ItemLike

cvh
net.minecraft.world.level.block.piston.PistonBaseBlock
net.minecraft.class_2665
net.minecraft.block.PistonBlock
net.minecraft.src.C_2047_
net.minecraft.world.level.block.piston.BlockPiston

Field summary

Modifier and TypeField
public static final BooleanProperty
b
EXTENDED
field_12191
EXTENDED
f_60153_
public static final int
c
TRIGGER_EXTEND
field_31373
field_31373
f_155888_
public static final int
d
TRIGGER_CONTRACT
field_31374
field_31374
f_155889_
public static final int
e
TRIGGER_DROP
field_31375
field_31375
f_155890_
public static final float
f
PLATFORM_THICKNESS
field_31376
field_31376
f_155891_
protected static final VoxelShape
g
EAST_AABB
field_12188
EXTENDED_EAST_SHAPE
f_60154_
protected static final VoxelShape
h
WEST_AABB
field_12184
EXTENDED_WEST_SHAPE
f_60155_
protected static final VoxelShape
i
SOUTH_AABB
field_12186
EXTENDED_SOUTH_SHAPE
f_60156_
protected static final VoxelShape
j
NORTH_AABB
field_12189
EXTENDED_NORTH_SHAPE
f_60157_
protected static final VoxelShape
k
UP_AABB
field_12185
EXTENDED_UP_SHAPE
f_60158_
protected static final VoxelShape
l
DOWN_AABB
field_12190
EXTENDED_DOWN_SHAPE
f_60159_
private final boolean
m
isSticky
field_12187
sticky
f_60160_

Constructor summary

ModifierConstructor
public (boolean sticky, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
a(cvo arg0, cgd arg1, gt arg2, dwv 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)
m_5940_(C_2064_ p_60221_, C_1559_ p_60222_, C_4675_ p_60223_, C_3051_ arg3)
public void
a(cgx arg0, gt arg1, cvo arg2, bcc arg3, cax arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_60173_, C_4675_ p_60174_, C_2064_ p_60175_, C_524_ p_60176_, C_1391_ arg4)
public void
a(cvo arg0, cgx arg1, gt arg2, cjt arg3, gt 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)
m_6861_(C_2064_ p_60199_, C_1596_ p_60200_, C_4675_ p_60201_, C_1706_ p_60202_, C_4675_ p_60203_, boolean arg5)
public void
b(cvo arg0, cgx arg1, gt arg2, cvo arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_60226_, C_1596_ p_60227_, C_4675_ p_60228_, C_2064_ p_60229_, boolean arg4)
public BlockState
a(ccx arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
private void
a(cgx arg0, gt arg1, cvo arg2)
checkIfExtend(Level arg0, BlockPos arg1, BlockState arg2)
method_11483(class_1937 arg0, class_2338 arg1, class_2680 arg2)
tryMove(World world, BlockPos pos, BlockState state)
m_60167_(C_1596_ p_60169_, C_4675_ p_60170_, C_2064_ arg2)
private boolean
a(cgx arg0, gt arg1, gy arg2)
getNeighborSignal(Level arg0, BlockPos arg1, Direction arg2)
method_11482(class_1937 arg0, class_2338 arg1, class_2350 arg2)
shouldExtend(World world, BlockPos pos, Direction pistonFace)
m_60177_(C_1596_ p_60179_, C_4675_ p_60180_, C_4687_ arg2)
public boolean
a(cvo arg0, cgx arg1, gt arg2, int arg3, int arg4)
triggerEvent(BlockState arg0, Level arg1, BlockPos arg2, int arg3, int arg4)
method_9592(class_2680 arg0, class_1937 arg1, class_2338 arg2, int arg3, int arg4)
onSyncedBlockEvent(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
m_8133_(C_2064_ p_60193_, C_1596_ p_60194_, C_4675_ p_60195_, int p_60196_, int arg4)
public static boolean
a(cvo arg0, cgx arg1, gt arg2, gy arg3, boolean arg4, gy arg5)
isPushable(BlockState arg0, Level arg1, BlockPos arg2, Direction arg3, boolean arg4, Direction arg5)
method_11484(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3, boolean arg4, class_2350 arg5)
isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir)
m_60204_(C_2064_ p_60205_, C_1596_ p_60206_, C_4675_ p_60207_, C_4687_ p_60208_, boolean p_60209_, C_4687_ p_60210_)
private boolean
a(cgx arg0, gt arg1, gy arg2, boolean arg3)
moveBlocks(Level arg0, BlockPos arg1, Direction arg2, boolean arg3)
method_11481(class_1937 arg0, class_2338 arg1, class_2350 arg2, boolean arg3)
move(World world, BlockPos pos, Direction dir, boolean retract)
m_60181_(C_1596_ p_60183_, C_4675_ p_60184_, C_4687_ p_60185_, boolean arg3)
public BlockState
a(cvo arg0, cpw arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_60216_, C_1886_ arg1)
public BlockState
a(cvo arg0, coh arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_60213_, C_1838_ arg1)
protected void
a(cvp$a<cjt, cvo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2066_<C_1706_, C_2064_> arg0)
public boolean
g_(cvo arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
public boolean
a(cvo arg0, cgd arg1, gt arg2, dqm 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)
m_7357_(C_2064_ p_60188_, C_1559_ p_60189_, C_4675_ p_60190_, C_2754_ arg3)