net.minecraft.world.level.block.piston

public class PistonMovingBlockEntity

extends BlockEntity implements TickableBlockEntity

All mapped superinterfaces:

TickableBlockEntity

ced
net.minecraft.world.level.block.piston.PistonMovingBlockEntity
net.minecraft.class_2669
net.minecraft.block.entity.PistonBlockEntity
net.minecraft.tileentity.PistonTileEntity
net.minecraft.server.v1_16_R3.TileEntityPiston

Field summary

Modifier and TypeField
private BlockState
a
movedState
field_12204
pushedBlock
field_200231_a
private Direction
b
direction
field_12201
facing
field_174931_f
private boolean
c
extending
field_12203
extending
field_145875_k
private boolean
g
isSourcePiston
field_12202
source
field_145872_l
private static final ThreadLocal<Direction>
h
NOCLIP
field_12205
field_12205
field_190613_i
private float
i
progress
field_12207
progress
field_145873_m
private float
j
progressO
field_12206
lastProgress
field_145870_n
private long
k
lastTicked
field_12208
savedWorldTime
field_211147_k
private int
l
deathTicks
field_26705
field_26705
field_242697_l

Constructor summary

ModifierConstructor
public ()
public (BlockState pushedBlock, Direction facing, boolean extending, boolean source)

Method summary

Modifier and TypeMethod
public CompoundTag
b()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
func_189517_E_()
public boolean
d()
isExtending()
method_11501()
isExtending()
func_145868_b()
public Direction
f()
getDirection()
method_11498()
getFacing()
func_212363_d()
public boolean
h()
isSourcePiston()
method_11515()
isSource()
func_145867_d()
public float
a(float arg0)
getProgress(float arg0)
method_11499(float arg0)
getProgress(float tickDelta)
func_145860_a(float arg0)
private float
e(float arg0)
getExtendedProgress(float arg0)
method_11504(float arg0)
getAmountExtended(float progress)
func_184320_e(float arg0)
private BlockState
x()
getCollisionRelatedBlockState()
method_11496()
getHeadBlockState()
func_190606_j()
private void
f(float arg0)
moveCollidedEntities(float arg0)
method_11503(float arg0)
pushEntities(float nextProgress)
func_184322_i(float arg0)
private static void
a(gc arg0, aqa arg1, double arg2, gc arg3)
moveEntityByPiston(Direction arg0, Entity arg1, double arg2, Direction arg3)
method_23672(class_2350 arg0, class_1297 arg1, double arg2, class_2350 arg3)
method_23672(Direction arg0, Entity arg1, double arg2, Direction arg3)
func_227022_a_(Direction arg0, Entity arg1, double arg2, Direction arg3)
private void
g(float arg0)
moveStuckEntities(float arg0)
method_23674(float arg0)
method_23674(float arg0)
func_227024_g_(float arg0)
private static boolean
a(dci arg0, aqa arg1)
matchesStickyCritera(AABB arg0, Entity arg1)
method_23671(class_238 arg0, class_1297 arg1)
method_23671(Box arg0, Entity arg1)
func_227021_a_(AxisAlignedBB arg0, Entity arg1)
private boolean
y()
isStickyForEntities()
method_23364()
isPushingHoneyBlock()
func_227025_y_()
public Direction
j()
getMovementDirection()
method_11506()
getMovementDirection()
func_195509_h()
private static double
a(dci arg0, gc arg1, dci arg2)
getMovement(AABB arg0, Direction arg1, AABB arg2)
method_11497(class_238 arg0, class_2350 arg1, class_238 arg2)
getIntersectionSize(Box arg0, Direction arg1, Box arg2)
func_190612_a(AxisAlignedBB arg0, Direction arg1, AxisAlignedBB arg2)
private AABB
a(dci arg0)
moveByPositionAndProgress(AABB arg0)
method_11500(class_238 arg0)
offsetHeadBox(Box box)
func_190607_a(AxisAlignedBB arg0)
private void
a(aqa arg0, gc arg1, double arg2)
fixEntityWithinPistonBase(Entity arg0, Direction arg1, double arg2)
method_11514(class_1297 arg0, class_2350 arg1, double arg2)
push(Entity entity, Direction direction, double amount)
func_190605_a(Entity arg0, Direction arg1, double arg2)
public BlockState
k()
getMovedState()
method_11495()
getPushedBlock()
func_200230_i()
public void
l()
finalTick()
method_11513()
finish()
func_145866_f()
public void
aj_()
tick()
method_16896()
tick()
func_73660_a()
tick()
public void
a(ceh arg0, md arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, NbtCompound arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public VoxelShape
a(brc arg0, fx arg1)
getCollisionShape(BlockGetter arg0, BlockPos arg1)
method_11512(class_1922 arg0, class_2338 arg1)
getCollisionShape(BlockView world, BlockPos pos)
func_195508_a(IBlockReader arg0, BlockPos arg1)
public long
m()
getLastTicked()
method_11508()
getSavedWorldTime()
func_211146_k()
public float
b(float arg0)
getXOff(float arg0)
method_11494(float arg0)
getRenderOffsetX(float tickDelta)
func_174929_b(float arg0)
public float
c(float arg0)
getYOff(float arg0)
method_11511(float arg0)
getRenderOffsetY(float tickDelta)
func_174928_c(float arg0)
public float
d(float arg0)
getZOff(float arg0)
method_11507(float arg0)
getRenderOffsetZ(float tickDelta)
func_174926_d(float arg0)
public double
i()
getViewDistance()
method_11006()
getRenderDistance()
func_145833_n()