net.minecraft.world.level.block.piston

public class PistonBaseBlock

extends DirectionalBlock

All mapped superinterfaces:

ItemLike

bxz
net.minecraft.world.level.block.piston.PistonBaseBlock
net.minecraft.class_2665
net.minecraft.block.PistonBlock
net.minecraft.block.PistonBlock
net.minecraft.server.v1_15_R1.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
isSticky
field_150082_a
sticky

Constructor summary

ModifierConstructor
public (boolean isSticky, Block$Properties settings)

Method summary

Modifier and TypeMethod
public boolean
c(byg arg0, bjd arg1, fk arg2)
isSuffocating(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_16362(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canSuffocate(BlockState arg0, BlockView arg1, BlockPos arg2)
func_229869_c_(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public VoxelShape
a(byg arg0, bjd arg1, fk arg2, cvn 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)
public boolean
d(byg arg0, bjd arg1, fk arg2)
isRedstoneConductor(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9521(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isSimpleFullBlock(BlockState arg0, BlockView arg1, BlockPos arg2)
func_220081_d(BlockState arg0, IBlockReader arg1, BlockPos arg2)
isOccluding(IBlockData arg0, IBlockAccess arg1, BlockPosition arg2)
public void
a(bjt arg0, fk arg1, byg arg2, akw arg3, bek 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(byg arg0, bjt arg1, fk arg2, bpe 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 void
b(byg arg0, bjt arg1, fk arg2, byg 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(bcn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
private void
a(bjt arg0, fk arg1, byg 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(bjt arg0, fk arg1, fp 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(byg arg0, bjt arg1, fk 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)
onBlockAction(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(byg arg0, bjt arg1, fk arg2, fp arg3, boolean arg4, fp 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 motionDir, boolean canBreak, Direction pistonDir)
func_185646_a(BlockState arg0, World arg1, BlockPos arg2, Direction arg3, boolean arg4, Direction arg5)
private boolean
a(bjt arg0, fk arg1, fp 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(byg arg0, btr 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(byg arg0, bsr 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(byh$a<bpe, byg> 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
o(byg arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
func_220074_n(BlockState arg0)
public boolean
a(byg arg0, bjd arg1, fk arg2, cqo 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)