net.minecraft.world.level.block.piston

public class PistonBaseBlock

extends DirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

drx
net.minecraft.world.level.block.piston.PistonBaseBlock
net.minecraft.class_2665
net.minecraft.unmapped.C_tpdcefvs
net.minecraft.block.PistonBlock
net.minecraft.block.piston.PistonBlock
net.minecraft.src.C_2047_
net.minecraft.world.level.block.piston.BlockPiston

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PistonBaseBlock>
b
CODEC
field_46530
f_ipvjsxhz
CODEC
CODEC
f_302388_
public static final BooleanProperty
c
EXTENDED
field_12191
f_pvzpicqg
EXTENDED
EXTENDED
f_60153_
public static final int
d
TRIGGER_EXTEND
field_31373
f_tnkwsjri
field_31373
TRIGGER_EXTEND
f_155888_
public static final int
e
TRIGGER_CONTRACT
field_31374
f_dtwjvhds
field_31374
TRIGGER_RETRACT
f_155889_
public static final int
f
TRIGGER_DROP
field_31375
f_ajnebgtk
field_31375
TRIGGER_DROP
f_155890_
public static final float
g
PLATFORM_THICKNESS
field_31376
f_uodnnqjt
field_31376
PLATFORM_THICKNESS
f_155891_
protected static final VoxelShape
h
EAST_AABB
field_12188
f_trcchiin
EXTENDED_EAST_SHAPE
EXTENDED_EAST_SHAPE
f_60154_
protected static final VoxelShape
i
WEST_AABB
field_12184
f_fwvupsif
EXTENDED_WEST_SHAPE
EXTENDED_WEST_SHAPE
f_60155_
protected static final VoxelShape
j
SOUTH_AABB
field_12186
f_utbsaxbf
EXTENDED_SOUTH_SHAPE
EXTENDED_SOUTH_SHAPE
f_60156_
protected static final VoxelShape
k
NORTH_AABB
field_12189
f_xgarzrog
EXTENDED_NORTH_SHAPE
EXTENDED_NORTH_SHAPE
f_60157_
protected static final VoxelShape
l
UP_AABB
field_12185
f_iongdkns
EXTENDED_UP_SHAPE
EXTENDED_UP_SHAPE
f_60158_
protected static final VoxelShape
m
DOWN_AABB
field_12190
f_sufgtmyq
EXTENDED_DOWN_SHAPE
EXTENDED_DOWN_SHAPE
f_60159_
private final boolean
n
isSticky
field_12187
f_kkrwbewr
sticky
sticky
f_60160_

Constructor summary

ModifierConstructor
public (boolean sticky, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PistonBaseBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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(dca arg0, iz arg1, dse arg2, btr arg3, cur 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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack 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)
protected void
a(dse arg0, dca arg1, iz arg2, dfb arg3, iz 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos 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)
protected void
b(dse arg0, dca arg1, iz arg2, dse 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState 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(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
private void
a(dca arg0, iz arg1, dse arg2)
checkIfExtend(Level arg0, BlockPos arg1, BlockState arg2)
method_11483(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_jsosnkga(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
tryMove(World world, BlockPos pos, BlockState state)
tryMove(World world, BlockPos pos, BlockState state)
m_60167_(C_1596_ p_60169_, C_4675_ p_60170_, C_2064_ arg2)
private boolean
a(dcq arg0, iz arg1, je arg2)
getNeighborSignal(SignalGetter arg0, BlockPos arg1, Direction arg2)
method_11482(class_8235 arg0, class_2338 arg1, class_2350 arg2)
m_kbjhhmlf(C_gpzjbzcw arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
shouldExtend(RedstoneView world, BlockPos pos, Direction pistonFace)
shouldExtend(RedstonePowerView redstoneView, BlockPos pos, Direction facing)
m_60177_(C_276415_ p_60179_, C_4675_ p_60180_, C_4687_ arg2)
protected boolean
a(dse arg0, dca arg1, iz 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)
m_pyvradtj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, int arg3, int arg4)
onSyncedBlockEvent(BlockState arg0, World arg1, BlockPos 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(dse arg0, dca arg1, iz arg2, je arg3, boolean arg4, je 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)
m_ybsqicni(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_xpuuihxf arg3, boolean arg4, C_xpuuihxf arg5)
isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir)
isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonFacing)
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(dca arg0, iz arg1, je 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)
m_jpjefmzi(C_cdctfzbn arg0, C_hynzadkk arg1, C_xpuuihxf arg2, boolean arg3)
move(World world, BlockPos pos, Direction dir, boolean retract)
move(World world, BlockPos pos, Direction facing, boolean extend)
m_60181_(C_1596_ p_60183_, C_4675_ p_60184_, C_4687_ p_60185_, boolean arg3)
protected BlockState
a(dse arg0, dlo arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_60216_, C_1886_ arg1)
protected BlockState
a(dse arg0, djy arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_60213_, C_1838_ arg1)
protected void
a(dsf$a<dfb, dse> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected boolean
f_(dse arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
m_mfmohedo(C_txtbiemp arg0)
hasSidedTransparency(BlockState arg0)
hasSidedTransparency(BlockState arg0)
m_7923_(C_2064_ arg0)
protected boolean
a(dse arg0, eom arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_60190_, C_2754_ arg1)