net.minecraft.world.level.block.piston

public class PistonBaseBlock

extends DirectionalBlock

All mapped superinterfaces:

ItemLike

cea
net.minecraft.world.level.block.piston.PistonBaseBlock
net.minecraft.class_2665
net.minecraft.block.PistonBlock
net.minecraft.block.PistonBlock
net.minecraft.server.v1_16_R3.BlockPiston

Field summary

Modifier and TypeField
public static final BooleanProperty
b
EXTENDED
field_12191
EXTENDED
field_176320_b
EXTENDED
protected static final VoxelShape
c
EAST_AABB
field_12188
EXTENDED_EAST_SHAPE
field_185648_b
protected static final VoxelShape
d
WEST_AABB
field_12184
EXTENDED_WEST_SHAPE
field_185649_c
protected static final VoxelShape
e
SOUTH_AABB
field_12186
EXTENDED_SOUTH_SHAPE
field_185650_d
protected static final VoxelShape
f
NORTH_AABB
field_12189
EXTENDED_NORTH_SHAPE
field_185651_e
protected static final VoxelShape
g
UP_AABB
field_12185
EXTENDED_UP_SHAPE
field_185652_f
protected static final VoxelShape
h
DOWN_AABB
field_12190
EXTENDED_DOWN_SHAPE
field_185653_g
private final boolean
i
isSticky
field_12187
sticky
field_150082_a
sticky

Constructor summary

ModifierConstructor
public (boolean sticky, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
b(ceh arg0, brc arg1, fx arg2, dcs 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)
public void
a(brx arg0, fx arg1, ceh arg2, aqm arg3, bmb 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)
func_180633_a(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
postPlace(World arg0, BlockPosition arg1, IBlockData arg2, EntityLiving arg3, ItemStack arg4)
public void
a(ceh arg0, brx arg1, fx arg2, buo arg3, fx 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 void
b(ceh arg0, brx arg1, fx arg2, ceh 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)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public BlockState
a(bny arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
private void
a(brx arg0, fx arg1, ceh 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)
func_176316_e(World arg0, BlockPos arg1, BlockState arg2)
private boolean
a(brx arg0, fx arg1, gc 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)
func_176318_b(World arg0, BlockPos arg1, Direction arg2)
public boolean
a(ceh arg0, brx arg1, fx 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)
func_189539_a(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
public static boolean
a(ceh arg0, brx arg1, fx arg2, gc arg3, boolean arg4, gc 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 arg0, World arg1, BlockPos arg2, Direction arg3, boolean canBreak, Direction pistonDir)
func_185646_a(BlockState arg0, World arg1, BlockPos arg2, Direction arg3, boolean arg4, Direction arg5)
private boolean
a(brx arg0, fx arg1, gc 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)
func_176319_a(World arg0, BlockPos arg1, Direction arg2, boolean arg3)
public BlockState
a(ceh arg0, bzm 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(ceh arg0, byg 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(cei$a<buo, ceh> 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
c_(ceh arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
func_220074_n(BlockState arg0)
public boolean
a(ceh arg0, brc arg1, fx arg2, cxe 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)