net.minecraft.world.level.block.piston

public class PistonBaseBlock

extends DirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dxo
net.minecraft.world.level.block.piston.PistonBaseBlock
net.minecraft.class_2665
net.minecraft.block.PistonBlock
net.minecraft.world.level.block.piston.BlockPiston

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PistonBaseBlock>
b
CODEC
field_46530
CODEC
public static final BooleanProperty
c
EXTENDED
field_12191
EXTENDED
public static final int
d
TRIGGER_EXTEND
field_31373
field_31373
public static final int
e
TRIGGER_CONTRACT
field_31374
field_31374
public static final int
f
TRIGGER_DROP
field_31375
field_31375
public static final float
g
PLATFORM_THICKNESS
field_31376
field_31376
protected static final VoxelShape
h
EAST_AABB
field_12188
EXTENDED_EAST_SHAPE
protected static final VoxelShape
i
WEST_AABB
field_12184
EXTENDED_WEST_SHAPE
protected static final VoxelShape
j
SOUTH_AABB
field_12186
EXTENDED_SOUTH_SHAPE
protected static final VoxelShape
k
NORTH_AABB
field_12189
EXTENDED_NORTH_SHAPE
protected static final VoxelShape
l
UP_AABB
field_12185
EXTENDED_UP_SHAPE
protected static final VoxelShape
m
DOWN_AABB
field_12190
EXTENDED_DOWN_SHAPE
private final boolean
n
isSticky
field_12187
sticky

Constructor summary

ModifierConstructor
public (boolean sticky, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PistonBaseBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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)
public void
a(dhi arg0, jh arg1, dxv arg2, bwg arg3, cxp 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)
protected void
a(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
private void
a(dhi arg0, jh arg1, dxv 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)
private boolean
a(dia arg0, jh arg1, jm arg2)
getNeighborSignal(SignalGetter arg0, BlockPos arg1, Direction arg2)
method_11482(class_8235 arg0, class_2338 arg1, class_2350 arg2)
shouldExtend(RedstoneView world, BlockPos pos, Direction pistonFace)
protected boolean
a(dxv arg0, dhi arg1, jh 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)
public static boolean
a(dxv arg0, dhi arg1, jh arg2, jm arg3, boolean arg4, jm 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)
private boolean
a(dhi arg0, jh arg1, jm 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 extend)
protected BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected boolean
g_(dxv arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
protected boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)