net.minecraft.world.level.block.piston

public class PistonBaseBlock

extends DirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dyf
net.minecraft.world.level.block.piston.PistonBaseBlock
net.minecraft.class_2665
net.minecraft.block.PistonBlock

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 int
g
PLATFORM_THICKNESS
field_31376
field_31376
private static final Map<Direction, VoxelShape>
h
SHAPES
field_55824
EXTENDED_SHAPES_BY_DIRECTION
private final boolean
i
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(dym arg0, dgv arg1, jj arg2, fcz 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(dhp arg0, jj arg1, dym arg2, bwr arg3, cxy 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(dym arg0, dhp arg1, jj arg2, dku arg3, ewb 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
a(dym arg0, dhp arg1, jj arg2, dym 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(dbn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
private void
a(dhp arg0, jj arg1, dym 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(dih arg0, jj arg1, jo 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(dym arg0, dhp arg1, jj 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(dym arg0, dhp arg1, jj arg2, jo arg3, boolean arg4, jo 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(dhp arg0, jj arg1, jo 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(dym arg0, drm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dym arg0, dpv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dyn$a<dku, dym> 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_(dym arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
protected boolean
a(dym arg0, evi arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)