net.minecraft.world.level.lighting

public abstract class DynamicGraphMinFixedPoint

dvw
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.class_3554
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.src.C_2672_
net.minecraft.world.level.lighting.LightEngineGraph

Field summary

Modifier and TypeField
private static final int
a
NO_COMPUTED_LEVEL
field_31706
MAX_LEVEL
f_164422_
private final int
b
levelCount
field_15783
levelCount
f_75537_
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet[]
c
queues
field_15785
pendingIdUpdatesByLevel
f_75538_
private final it.unimi.dsi.fastutil.longs.Long2ByteMap
d
computedLevels
field_15784
pendingUpdates
f_75539_
private int
e
firstQueuedLevel
field_15781
minPendingLevel
f_75540_
private volatile boolean
f
hasWork
field_15782
hasPendingUpdates
f_75541_

Constructor summary

ModifierConstructor
protected (int levelCount, int expectedLevelSize, int expectedTotalSize)

Method summary

Modifier and TypeMethod
private int
a(int arg0, int arg1)
getKey(int arg0, int arg1)
method_15490(int arg0, int arg1)
minLevel(int a, int b)
m_75548_(int p_75550_, int arg1)
private void
a(int arg0)
checkFirstQueuedLevel(int arg0)
method_15481(int arg0)
increaseMinPendingLevel(int maxLevel)
m_75546_(int arg0)
protected void
e(long arg0)
removeFromQueue(long arg0)
method_15483(long arg0)
removePendingUpdate(long id)
m_75600_(long arg0)
public void
a(LongPredicate arg0)
removeIf(LongPredicate arg0)
method_24206(LongPredicate arg0)
removePendingUpdateIf(LongPredicate predicate)
m_75581_(LongPredicate arg0)
private void
a(long arg0, int arg1, int arg2, boolean arg3)
dequeue(long arg0, int arg1, int arg2, boolean arg3)
method_15493(long arg0, int arg1, int arg2, boolean arg3)
removePendingUpdate(long id, int level, int levelCount, boolean removeFully)
m_75558_(long p_75560_, int p_75562_, int arg2, boolean arg3)
private void
a(long arg0, int arg1, int arg2)
enqueue(long arg0, int arg1, int arg2)
method_15479(long arg0, int arg1, int arg2)
addPendingUpdate(long id, int level, int targetLevel)
m_75554_(long p_75556_, int arg1, int arg2)
protected void
f(long arg0)
checkNode(long arg0)
method_15491(long arg0)
resetLevel(long id)
m_6185_(long arg0)
protected void
a(long arg0, long arg1, int arg2, boolean arg3)
checkEdge(long arg0, long arg1, int arg2, boolean arg3)
method_15478(long arg0, long arg1, int arg2, boolean arg3)
updateLevel(long sourceId, long id, int level, boolean decrease)
m_75576_(long p_75578_, long p_75580_, int arg2, boolean arg3)
private void
a(long arg0, long arg1, int arg2, int arg3, int arg4, boolean arg5)
checkEdge(long arg0, long arg1, int arg2, int arg3, int arg4, boolean arg5)
method_15482(long arg0, long arg1, int arg2, int arg3, int arg4, boolean arg5)
updateLevel(long sourceId, long id, int level, int currentLevel, int pendingLevel, boolean decrease)
m_75569_(long p_75571_, long p_75573_, int p_75575_, int arg3, int arg4, boolean arg5)
protected final void
b(long arg0, long arg1, int arg2, boolean arg3)
checkNeighbor(long arg0, long arg1, int arg2, boolean arg3)
method_15484(long arg0, long arg1, int arg2, boolean arg3)
propagateLevel(long sourceId, long targetId, int level, boolean decrease)
m_75593_(long p_75595_, long p_75597_, int arg2, boolean arg3)
protected final boolean
b()
hasWork()
method_15489()
hasPendingUpdates()
m_75587_()
protected final int
b(int arg0)
runUpdates(int arg0)
method_15492(int arg0)
applyPendingUpdates(int maxSteps)
m_75588_(int arg0)
public int
c()
getQueueSize()
method_24208()
getPendingUpdateCount()
m_75598_()
protected abstract boolean
a(long arg0)
isSource(long arg0)
method_15494(long arg0)
isMarker(long id)
m_6163_(long arg0)
protected abstract int
a(long arg0, long arg1, int arg2)
getComputedLevel(long arg0, long arg1, int arg2)
method_15486(long arg0, long arg1, int arg2)
recalculateLevel(long id, long excludedId, int maxLevel)
m_6357_(long p_75567_, long arg1, int arg2)
protected abstract void
a(long arg0, int arg1, boolean arg2)
checkNeighborsAfterUpdate(long arg0, int arg1, boolean arg2)
method_15487(long arg0, int arg1, boolean arg2)
propagateLevel(long id, int level, boolean decrease)
m_7900_(long p_75564_, int arg1, boolean arg2)
protected abstract int
c(long arg0)
getLevel(long arg0)
method_15480(long arg0)
getLevel(long id)
m_6172_(long arg0)
protected abstract void
a(long arg0, int arg1)
setLevel(long arg0, int arg1)
method_15485(long arg0, int arg1)
setLevel(long id, int level)
m_7351_(long p_75553_, int arg1)
protected abstract int
b(long arg0, long arg1, int arg2)
computeLevelFromNeighbor(long arg0, long arg1, int arg2)
method_15488(long arg0, long arg1, int arg2)
getPropagatedLevel(long sourceId, long targetId, int level)
m_6359_(long p_75591_, long arg1, int arg2)