net.minecraft.world.level.block.piston

public class PistonHeadBlock

extends DirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dws
net.minecraft.world.level.block.piston.PistonHeadBlock
net.minecraft.class_2671
net.minecraft.unmapped.C_kovydcjx
net.minecraft.block.PistonHeadBlock
net.minecraft.block.piston.PistonHeadBlock
net.minecraft.src.C_2049_
net.minecraft.world.level.block.piston.BlockPistonExtension

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PistonHeadBlock>
b
CODEC
field_46531
f_yycapthl
CODEC
CODEC
f_303649_
public static final EnumProperty<PistonType>
c
TYPE
field_12224
f_pfmwgbqv
TYPE
TYPE
f_60235_
public static final BooleanProperty
d
SHORT
field_12227
f_mlpracwk
SHORT
SHORT
f_60236_
public static final float
e
PLATFORM
field_31377
f_nrpmdsiq
field_31377
PLATFORM
f_155892_
protected static final VoxelShape
f
EAST_AABB
field_12222
f_rogqhdsm
EAST_HEAD_SHAPE
EAST_HEAD_SHAPE
f_60237_
protected static final VoxelShape
g
WEST_AABB
field_12214
f_exikhpdp
WEST_HEAD_SHAPE
WEST_HEAD_SHAPE
f_60238_
protected static final VoxelShape
h
SOUTH_AABB
field_12228
f_roofwssx
SOUTH_HEAD_SHAPE
SOUTH_HEAD_SHAPE
f_60239_
protected static final VoxelShape
i
NORTH_AABB
field_12213
f_wfykmvbe
NORTH_HEAD_SHAPE
NORTH_HEAD_SHAPE
f_60240_
protected static final VoxelShape
j
UP_AABB
field_12230
f_svmsqucy
UP_HEAD_SHAPE
UP_HEAD_SHAPE
f_60241_
protected static final VoxelShape
k
DOWN_AABB
field_12220
f_imfozjyb
DOWN_HEAD_SHAPE
DOWN_HEAD_SHAPE
f_60242_
protected static final float
l
AABB_OFFSET
field_31378
f_wixcgugt
field_31378
SHAPE_OFFSET
f_155893_
protected static final float
m
EDGE_MIN
field_31379
f_pnzzhdyd
field_31379
EDGE_MIN
f_155894_
protected static final float
n
EDGE_MAX
field_31380
f_rmtylvop
field_31380
EDGE_MAX
f_155895_
protected static final VoxelShape
o
UP_ARM_AABB
field_12215
f_ikishfcx
UP_ARM_SHAPE
UP_ARM_SHAPE
f_60243_
protected static final VoxelShape
G
DOWN_ARM_AABB
field_12226
f_pgogympk
DOWN_ARM_SHAPE
DOWN_ARM_SHAPE
f_60244_
protected static final VoxelShape
H
SOUTH_ARM_AABB
field_12221
f_uarmtvsq
SOUTH_ARM_SHAPE
SOUTH_ARM_SHAPE
f_60245_
protected static final VoxelShape
I
NORTH_ARM_AABB
field_12229
f_fbtweryx
NORTH_ARM_SHAPE
NORTH_ARM_SHAPE
f_60246_
protected static final VoxelShape
J
EAST_ARM_AABB
field_12218
f_pskjvkjq
EAST_ARM_SHAPE
EAST_ARM_SHAPE
f_60247_
protected static final VoxelShape
K
WEST_ARM_AABB
field_12223
f_ibqmbrir
WEST_ARM_SHAPE
WEST_ARM_SHAPE
f_60248_
protected static final VoxelShape
L
SHORT_UP_ARM_AABB
field_12231
f_tavrgebh
SHORT_UP_ARM_SHAPE
SHORT_UP_ARM_SHAPE
f_60249_
protected static final VoxelShape
M
SHORT_DOWN_ARM_AABB
field_12217
f_acanyiod
SHORT_DOWN_ARM_SHAPE
SHORT_DOWN_ARM_SHAPE
f_60250_
protected static final VoxelShape
N
SHORT_SOUTH_ARM_AABB
field_12216
f_qekqdaiy
SHORT_SOUTH_ARM_SHAPE
SHORT_SOUTH_ARM_SHAPE
f_60251_
protected static final VoxelShape
O
SHORT_NORTH_ARM_AABB
field_12225
f_jlgffjvu
SHORT_NORTH_ARM_SHAPE
SHORT_NORTH_ARM_SHAPE
f_60252_
protected static final VoxelShape
P
SHORT_EAST_ARM_AABB
field_12219
f_rugptczp
SHORT_EAST_ARM_SHAPE
SHORT_EAST_ARM_SHAPE
f_60253_
protected static final VoxelShape
Q
SHORT_WEST_ARM_AABB
field_12212
f_kduvtkyq
SHORT_WEST_ARM_SHAPE
SHORT_WEST_ARM_SHAPE
f_60254_
private static final VoxelShape[]
R
SHAPES_SHORT
field_26660
f_fsdkqqeh
SHORT_HEAD_SHAPES
SHORT_HEAD_SHAPES
f_60255_
private static final VoxelShape[]
S
SHAPES_LONG
field_26661
f_kdbdjdtl
HEAD_SHAPES
HEAD_SHAPES
f_60256_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected com.mojang.serialization.MapCodec<PistonHeadBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
private static VoxelShape[]
a(boolean arg0)
makeShapes(boolean arg0)
method_31019(boolean arg0)
m_qmysaxez(boolean arg0)
getHeadShapes(boolean shortHead)
getHeadShapes(boolean shortHead)
m_60312_(boolean p_60313_)
private static VoxelShape
a(jn arg0, boolean arg1)
calculateShape(Direction arg0, boolean arg1)
method_11520(class_2350 arg0, boolean arg1)
m_eixcaufc(C_xpuuihxf arg0, boolean arg1)
getHeadShape(Direction direction, boolean shortHead)
getHeadShape(Direction direction, boolean shortHead)
m_60309_(C_4687_ p_60310_, boolean p_60311_)
protected boolean
g_(dwy 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 VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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_60321_, C_1559_ p_60322_, C_4675_ p_60323_, C_3051_ arg3)
private boolean
a(dwy arg0, dwy arg1)
isFittingBase(BlockState arg0, BlockState arg1)
method_26980(class_2680 arg0, class_2680 arg1)
m_danlnhky(C_txtbiemp arg0, C_txtbiemp arg1)
isAttached(BlockState headState, BlockState pistonState)
isAttached(BlockState headState, BlockState pistonState)
m_60297_(C_2064_ p_60299_, C_2064_ arg1)
public BlockState
a(dgj arg0, ji arg1, dwy arg2, coy arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
m_tjijvtpb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_jzrpycqo arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
m_5707_(C_1596_ p_60266_, C_4675_ p_60267_, C_2064_ p_60268_, C_1141_ arg3)
protected void
a(dwy arg0, dgj arg1, ji arg2, dwy arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_60283_, C_1596_ p_60284_, C_4675_ p_60285_, C_2064_ p_60286_, boolean arg4)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_369952_, C_1599_ p_368902_, C_346056_ p_60305_, C_4675_ p_60302_, C_4687_ p_60306_, C_4675_ p_60303_, C_2064_ p_364503_, C_212974_ arg7)
protected boolean
a(dwy arg0, dgm arg1, ji arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_60289_, C_1599_ p_60290_, C_4675_ arg2)
protected void
a(dwy arg0, dgj arg1, ji arg2, djn arg3, eui 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_ctatbkvy arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
m_6861_(C_2064_ p_60276_, C_1596_ p_60277_, C_4675_ p_60278_, C_1706_ p_360849_, C_346043_ p_60280_, boolean arg5)
protected ItemStack
a(dgm arg0, ji arg1, dwy arg2, boolean arg3)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
m_orfjlsuz(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_48663_(C_1599_ p_60262_, C_4675_ p_60263_, C_2064_ p_377775_, boolean arg3)
protected BlockState
a(dwy arg0, dqf 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_60296_, C_1886_ arg1)
protected BlockState
a(dwy arg0, dom 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_60293_, C_1838_ arg1)
protected void
a(dwz$a<djn, dwy> 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
a(dwy arg0, etp 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_60273_, C_2754_ arg1)