net.minecraft.world.level.block.entity

public class ConduitBlockEntity

extends BlockEntity

ctr
net.minecraft.world.level.block.entity.ConduitBlockEntity
net.minecraft.class_2597
net.minecraft.block.entity.ConduitBlockEntity
net.minecraft.src.C_2002_
net.minecraft.world.level.block.entity.TileEntityConduit

Field summary

Modifier and TypeField
private static final int
b
BLOCK_REFRESH_RATE
field_31333
field_31333
f_155390_
private static final int
c
EFFECT_DURATION
field_31334
field_31334
f_155391_
private static final float
d
ROTATION_SPEED
field_31335
field_31335
f_155392_
private static final int
e
MIN_ACTIVE_SIZE
field_31336
field_31336
f_155393_
private static final int
f
MIN_KILL_SIZE
field_31337
MIN_BLOCKS_TO_ACTIVATE
f_155394_
private static final int
g
KILL_RANGE
field_31338
field_31338
f_155395_
private static final Block[]
h
VALID_BLOCKS
field_11931
ACTIVATING_BLOCKS
f_59184_
public int
a
tickCount
field_11936
ticks
f_59183_
private float
i
activeRotation
field_11932
ticksActive
f_59185_
private boolean
j
isActive
field_11934
active
f_59186_
private boolean
k
isHunting
field_11933
eyeOpen
f_59187_
private final List<BlockPos>
l
effectBlocks
field_11937
activatingBlocks
f_59188_
private LivingEntity
m
destroyTarget
field_11939
targetEntity
f_59189_
private UUID
q
destroyTargetUUID
field_11935
targetUuid
f_59190_
private long
r
nextAmbientSoundActivation
field_11938
nextAmbientSoundTime
f_59191_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public void
a(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(pj arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_38247()
toUpdatePacket()
m_58483_()
public CompoundTag
aa_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public static void
a(cgx arg0, gt arg1, cvo arg2, ctr arg3)
clientTick(Level arg0, BlockPos arg1, BlockState arg2, ConduitBlockEntity arg3)
method_31675(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2597 arg3)
clientTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
m_155403_(C_1596_ p_155404_, C_4675_ p_155405_, C_2064_ p_155406_, C_2002_ p_155407_)
public static void
b(cgx arg0, gt arg1, cvo arg2, ctr arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, ConduitBlockEntity arg3)
method_31677(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2597 arg3)
serverTick(World world, BlockPos pos, BlockState state, ConduitBlockEntity blockEntity)
m_155438_(C_1596_ p_155439_, C_4675_ p_155440_, C_2064_ p_155441_, C_2002_ p_155442_)
private static void
a(ctr arg0, List<gt> arg1)
updateHunting(ConduitBlockEntity arg0, List<BlockPos> arg1)
method_31676(class_2597 arg0, List<class_2338> arg1)
openEye(ConduitBlockEntity blockEntity, List<BlockPos> activatingBlocks)
m_155428_(C_2002_ p_155429_, List<C_4675_> p_155430_)
private static boolean
a(cgx arg0, gt arg1, List<gt> arg2)
updateShape(Level arg0, BlockPos arg1, List<BlockPos> arg2)
method_11069(class_1937 arg0, class_2338 arg1, List<class_2338> arg2)
updateActivatingBlocks(World world, BlockPos pos, List<BlockPos> activatingBlocks)
m_155414_(C_1596_ p_155415_, C_4675_ p_155416_, List<C_4675_> p_155417_)
private static void
b(cgx arg0, gt arg1, List<gt> arg2)
applyEffects(Level arg0, BlockPos arg1, List<BlockPos> arg2)
method_11055(class_1937 arg0, class_2338 arg1, List<class_2338> arg2)
givePlayersEffects(World world, BlockPos pos, List<BlockPos> activatingBlocks)
m_155443_(C_1596_ p_155444_, C_4675_ p_155445_, List<C_4675_> p_155446_)
private static void
a(cgx arg0, gt arg1, cvo arg2, List<gt> arg3, ctr arg4)
updateDestroyTarget(Level arg0, BlockPos arg1, BlockState arg2, List<BlockPos> arg3, ConduitBlockEntity arg4)
method_11068(class_1937 arg0, class_2338 arg1, class_2680 arg2, List<class_2338> arg3, class_2597 arg4)
attackHostileEntity(World world, BlockPos pos, BlockState state, List<BlockPos> activatingBlocks, ConduitBlockEntity blockEntity)
m_155408_(C_1596_ p_155409_, C_4675_ p_155410_, C_2064_ p_155411_, List<C_4675_> p_155412_, C_2002_ p_155413_)
private static void
a(cgx arg0, gt arg1, ctr arg2)
updateClientTarget(Level arg0, BlockPos arg1, ConduitBlockEntity arg2)
method_11064(class_1937 arg0, class_2338 arg1, class_2597 arg2)
updateTargetEntity(World world, BlockPos pos, ConduitBlockEntity blockEntity)
m_155399_(C_1596_ p_155400_, C_4675_ p_155401_, C_2002_ p_155402_)
private static AABB
a(gt arg0)
getDestroyRangeAABB(BlockPos arg0)
method_11059(class_2338 arg0)
getAttackZone(BlockPos pos)
m_155431_(C_4675_ p_155432_)
private static LivingEntity
a(cgx arg0, gt arg1, UUID arg2)
findDestroyTarget(Level arg0, BlockPos arg1, UUID arg2)
method_11056(class_1937 arg0, class_2338 arg1, UUID arg2)
findTargetEntity(World world, BlockPos pos, UUID uuid)
m_155424_(C_1596_ p_155425_, C_4675_ p_155426_, UUID p_155427_)
private static void
a(cgx arg0, gt arg1, List<gt> arg2, bbn arg3, int arg4)
animationTick(Level arg0, BlockPos arg1, List<BlockPos> arg2, Entity arg3, int arg4)
method_11063(class_1937 arg0, class_2338 arg1, List<class_2338> arg2, class_1297 arg3, int arg4)
spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, Entity entity, int ticks)
m_155418_(C_1596_ p_155419_, C_4675_ p_155420_, List<C_4675_> p_155421_, C_507_ p_155422_, int p_155423_)
public boolean
d()
isActive()
method_11065()
isActive()
m_59216_()
public boolean
f()
isHunting()
method_11066()
isEyeOpen()
m_59217_()
private void
a(boolean arg0)
setHunting(boolean arg0)
method_11062(boolean arg0)
setEyeOpen(boolean eyeOpen)
m_59214_(boolean arg0)
public float
a(float arg0)
getActiveRotation(float arg0)
method_11061(float arg0)
getRotation(float tickDelta)
m_59197_(float arg0)