net.minecraft.block.entity

public class PistonBlockEntity

extends BlockEntity implements Tickable

All mapped superinterfaces:

Tickable

ced
net.minecraft.world.level.block.piston.PistonMovingBlockEntity
net.minecraft.class_2669
net.minecraft.block.entity.PistonBlockEntity
net.minecraft.unmapped.C_wpearmnv
net.minecraft.tileentity.PistonTileEntity
net.minecraft.tileentity.PistonTileEntity

Field summary

Modifier and TypeField
private BlockState
a
movedState
field_12204
pushedBlock
f_rvkdkxam
field_200231_a
pistonState
private Direction
b
direction
field_12201
facing
f_rbuxpdya
field_174931_f
pistonFacing
private boolean
c
extending
field_12203
extending
f_wpwkhlxx
field_145875_k
extending
private boolean
g
isSourcePiston
field_12202
source
f_qviclatw
field_145872_l
shouldHeadBeRendered
private static final ThreadLocal<Direction>
h
NOCLIP
field_12205
field_12205
f_nljvvfry
field_190613_i
MOVING_ENTITY
private float
i
progress
field_12207
progress
f_kuqnpbhp
field_145873_m
progress
private float
j
progressO
field_12206
lastProgress
f_ejhvuroq
field_145870_n
lastProgress
private long
k
lastTicked
field_12208
savedWorldTime
f_jmavxxxf
field_211147_k
lastTicked
private int
l
deathTicks
field_26705
field_26705
f_kqmwaqkf
field_242697_l
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()
toInitialChunkDataTag()
m_escrnqip()
func_189517_E_()
getUpdateTag()
public boolean
d()
isExtending()
method_11501()
isExtending()
m_wsirbeyt()
func_145868_b()
isExtending()
public Direction
f()
getDirection()
method_11498()
getFacing()
m_froifngc()
func_212363_d()
getFacing()
public boolean
h()
isSourcePiston()
method_11515()
isSource()
m_fcrbddkq()
func_145867_d()
shouldPistonHeadBeRendered()
public float
a(float arg0)
getProgress(float arg0)
method_11499(float arg0)
getProgress(float tickDelta)
m_osnvduwy(float arg0)
func_145860_a(float arg0)
getProgress(float ticks)
private float
e(float arg0)
getExtendedProgress(float arg0)
method_11504(float arg0)
getAmountExtended(float progress)
m_szaasgba(float arg0)
func_184320_e(float arg0)
getExtendedProgress(float progress)
private BlockState
x()
getCollisionRelatedBlockState()
method_11496()
getHeadBlockState()
m_zqowmlcs()
func_190606_j()
getCollisionRelatedBlockState()
private void
f(float arg0)
moveCollidedEntities(float arg0)
method_11503(float arg0)
pushEntities(float nextProgress)
m_eoastxgq(float arg0)
func_184322_i(float arg0)
moveCollidedEntities(float progress)
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)
m_cnjlnveg(C_xpuuihxf arg0, C_astfners arg1, double arg2, C_xpuuihxf arg3)
func_227022_a_(Direction arg0, Entity arg1, double arg2, Direction arg3)
pushEntity(Direction direction, Entity entity, double progress, Direction arg3)
private void
g(float arg0)
moveStuckEntities(float arg0)
method_23674(float arg0)
method_23674(float arg0)
m_sctqdyqc(float arg0)
func_227024_g_(float arg0)
func_227024_g_(float progress)
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)
m_ktfnieqa(C_hbcjzgoe arg0, C_astfners arg1)
func_227021_a_(AxisAlignedBB arg0, Entity arg1)
canPushEntity(AxisAlignedBB shape, Entity entity)
private boolean
y()
isStickyForEntities()
method_23364()
isPushingHoneyBlock()
m_hlnudkkk()
func_227025_y_()
isHoney()
public Direction
j()
getMovementDirection()
method_11506()
getMovementDirection()
m_usuotmqt()
func_195509_h()
getMotionDirection()
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)
m_gnbgcwpf(C_hbcjzgoe arg0, C_xpuuihxf arg1, C_hbcjzgoe arg2)
func_190612_a(AxisAlignedBB arg0, Direction arg1, AxisAlignedBB arg2)
getMovement(AxisAlignedBB headShape, Direction direction, AxisAlignedBB facing)
private Box
a(dci arg0)
moveByPositionAndProgress(AABB arg0)
method_11500(class_238 arg0)
offsetHeadBox(Box box)
m_nxxtthvz(C_hbcjzgoe arg0)
func_190607_a(AxisAlignedBB arg0)
moveByPositionAndProgress(AxisAlignedBB boundingBox)
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)
m_anfbgbcl(C_astfners arg0, C_xpuuihxf arg1, double arg2)
func_190605_a(Entity arg0, Direction arg1, double arg2)
fixEntityWithinPistonBase(Entity arg0, Direction arg1, double progress)
public BlockState
k()
getMovedState()
method_11495()
getPushedBlock()
m_jyvwmixj()
func_200230_i()
getPistonState()
public void
l()
finalTick()
method_11513()
finish()
m_szmbtwln()
func_145866_f()
clearPistonTileEntity()
public void
aj_()
tick()
method_16896()
tick()
m_wqkjfdad()
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, CompoundTag arg1)
m_dfzdncts(C_txtbiemp arg0, C_hhlwcnih arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
read(BlockState arg0, CompoundNBT arg1)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
m_fzlqwslp(C_hhlwcnih arg0)
func_189515_b(CompoundNBT arg0)
write(CompoundNBT 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)
m_hsrsrqug(C_peaveboq arg0, C_hynzadkk arg1)
func_195508_a(IBlockReader arg0, BlockPos arg1)
getCollisionShape(IBlockReader reader, BlockPos pos)
public long
m()
getLastTicked()
method_11508()
getSavedWorldTime()
m_dsbevonu()
func_211146_k()
getLastTicked()
public float
b(float arg0)
getXOff(float arg0)
method_11494(float arg0)
getRenderOffsetX(float tickDelta)
m_tlxmitvb(float arg0)
func_174929_b(float arg0)
getOffsetX(float ticks)
public float
c(float arg0)
getYOff(float arg0)
method_11511(float arg0)
getRenderOffsetY(float tickDelta)
m_puhmodtg(float arg0)
func_174928_c(float arg0)
getOffsetY(float ticks)
public float
d(float arg0)
getZOff(float arg0)
method_11507(float arg0)
getRenderOffsetZ(float tickDelta)
m_runhxkmh(float arg0)
func_174926_d(float arg0)
getOffsetZ(float ticks)
public double
i()
getViewDistance()
method_11006()
getSquaredRenderDistance()
m_okdyaxmd()
func_145833_n()
getMaxRenderDistanceSquared()