net.minecraft.world.level.block.piston

public class PistonStructureResolver

cee
net.minecraft.world.level.block.piston.PistonStructureResolver
net.minecraft.class_2674
net.minecraft.block.piston.PistonHandler
net.minecraft.block.PistonBlockStructureHelper
net.minecraft.server.v1_16_R3.PistonExtendsChecker

Field summary

Modifier and TypeField
private final Level
a
level
field_12249
world
field_177261_a
private final BlockPos
b
pistonPos
field_12250
posFrom
field_177259_b
private final boolean
c
extending
field_12247
retracted
field_211724_c
private final BlockPos
d
startPos
field_12244
posTo
field_177260_c
private final Direction
e
pushDirection
field_12243
motionDirection
field_177257_d
private final List<BlockPos>
f
toPush
field_12245
movedBlocks
field_177258_e
private final List<BlockPos>
g
toDestroy
field_12246
brokenBlocks
field_177256_f
private final Direction
h
pistonDirection
field_12248
pistonDirection
field_211906_h

Constructor summary

ModifierConstructor
public (Level world, BlockPos pos, Direction dir, boolean retracted)

Method summary

Modifier and TypeMethod
public boolean
a()
resolve()
method_11537()
calculatePush()
func_177253_a()
private static boolean
a(buo arg0)
isSticky(Block arg0)
method_23367(class_2248 arg0)
isBlockSticky(Block block)
func_227029_a_(Block arg0)
private static boolean
a(buo arg0, buo arg1)
canStickToEachOther(Block arg0, Block arg1)
method_23675(class_2248 arg0, class_2248 arg1)
isAdjacentBlockStuck(Block arg0, Block arg1)
func_227030_a_(Block arg0, Block arg1)
private boolean
a(fx arg0, gc arg1)
addBlockLine(BlockPos arg0, Direction arg1)
method_11540(class_2338 arg0, class_2350 arg1)
tryMove(BlockPos pos, Direction dir)
func_177251_a(BlockPos arg0, Direction arg1)
private void
a(int arg0, int arg1)
reorderListAtCollision(int arg0, int arg1)
method_11539(int arg0, int arg1)
setMovedBlocks(int from, int to)
func_177255_a(int arg0, int arg1)
private boolean
a(fx arg0)
addBranchingBlocks(BlockPos arg0)
method_11538(class_2338 arg0)
canMoveAdjacentBlock(BlockPos pos)
func_177250_b(BlockPos arg0)
public List<BlockPos>
c()
getToPush()
method_11541()
getMovedBlocks()
func_177254_c()
getMovedBlocks()
public List<BlockPos>
d()
getToDestroy()
method_11536()
getBrokenBlocks()
func_177252_d()
getBrokenBlocks()