net.minecraft.world.level.block.piston

public class MovingPistonBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

ckl
net.minecraft.world.level.block.piston.MovingPistonBlock
net.minecraft.class_2667
net.minecraft.unmapped.C_yqbibfrg
net.minecraft.block.PistonExtensionBlock
net.minecraft.src.C_2044_
net.minecraft.world.level.block.piston.BlockPistonMoving

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_12196
f_xcreetym
FACING
f_60046_
public static final EnumProperty<PistonType>
b
TYPE
field_12197
f_ffpotnhz
TYPE
f_60047_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public BlockEntity
a(gg arg0, ckt arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_155880_, C_2064_ arg1)
createTile(BlockPosition arg0, IBlockData arg1)
public static BlockEntity
a(gg arg0, ckt arg1, ckt arg2, gl arg3, boolean arg4, boolean arg5)
newMovingBlockEntity(BlockPos arg0, BlockState arg1, BlockState arg2, Direction arg3, boolean arg4, boolean arg5)
method_11489(class_2338 arg0, class_2680 arg1, class_2680 arg2, class_2350 arg3, boolean arg4, boolean arg5)
m_vksmmlah(C_hynzadkk arg0, C_txtbiemp arg1, C_txtbiemp arg2, C_xpuuihxf arg3, boolean arg4, boolean arg5)
createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source)
m_155881_(C_4675_ p_155882_, C_2064_ p_155883_, C_2064_ p_155884_, C_4687_ p_155885_, boolean p_155886_, boolean p_155887_)
public <T extends BlockEntity> BlockEntityTicker<T>
a(bwq arg0, ckt arg1, cis<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
m_ujgennlh(C_cdctfzbn arg0, C_txtbiemp arg1, C_wgqvodus<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_155876_, C_2064_ p_155877_, C_1992_<T> arg2)
public void
a(ckt arg0, bwq arg1, gg arg2, ckt 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)
m_6810_(C_2064_ p_60078_, C_1596_ p_60079_, C_4675_ p_60080_, C_2064_ p_60081_, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(bwr arg0, gg arg1, ckt arg2)
destroy(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_9585(class_1936 arg0, class_2338 arg1, class_2680 arg2)
m_pwlljkia(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
m_6786_(C_1598_ p_60062_, C_4675_ p_60063_, C_2064_ arg2)
postBreak(GeneratorAccess arg0, BlockPosition arg1, IBlockData arg2)
public InteractionResult
a(ckt arg0, bwq arg1, gg arg2, bke arg3, asa arg4, dmw arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_60071_, C_1596_ p_60072_, C_4675_ p_60073_, C_1141_ p_60074_, C_470_ p_60075_, C_3041_ arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public List<ItemStack>
a(ckt arg0, dip$a arg1)
getDrops(BlockState arg0, LootContext$Builder arg1)
method_9560(class_2680 arg0, class_47$class_48 arg1)
m_tgwcmyam(C_txtbiemp arg0, C_iakykpgh$C_xdyltqvb arg1)
getDroppedStacks(BlockState arg0, LootContext$Builder arg1)
m_7381_(C_2064_ p_60090_, C_2811_$C_2813_ arg1)
public VoxelShape
a(ckt arg0, bvu arg1, gg arg2, dnf 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)
m_5940_(C_2064_ p_60100_, C_1559_ p_60101_, C_4675_ p_60102_, C_3051_ arg3)
public VoxelShape
c(ckt arg0, bvu arg1, gg arg2, dnf arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_phzfypqf(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5939_(C_2064_ p_60105_, C_1559_ p_60106_, C_4675_ p_60107_, C_3051_ arg3)
private PistonMovingBlockEntity
a(bvu arg0, gg arg1)
getBlockEntity(BlockGetter arg0, BlockPos arg1)
method_11488(class_1922 arg0, class_2338 arg1)
m_llleflen(C_peaveboq arg0, C_hynzadkk arg1)
getPistonBlockEntity(BlockView world, BlockPos pos)
m_60053_(C_1559_ p_60055_, C_4675_ arg1)
public ItemStack
a(bvu arg0, gg arg1, ckt arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_jsiqlbgd(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1559_ p_60058_, C_4675_ p_60059_, C_2064_ arg2)
public BlockState
a(ckt arg0, cfl 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)
m_6843_(C_2064_ p_60087_, C_1886_ arg1)
public BlockState
a(ckt arg0, cdy 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)
m_6943_(C_2064_ p_60084_, C_1838_ arg1)
protected void
a(cku$a<bzp, ckt> 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)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public boolean
a(ckt arg0, bvu arg1, gg arg2, dhb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_60066_, C_1559_ p_60067_, C_4675_ p_60068_, C_2754_ arg3)