net.minecraft.world.level.lighting

public abstract class DynamicGraphMinFixedPoint

etj
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.class_3554
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.level.lighting.LightEngineGraph

Field summary

Modifier and TypeField
public static final long
e
SOURCE
field_43397
field_43397
private static final int
a
NO_COMPUTED_LEVEL
field_31706
MAX_LEVEL
protected final int
f
levelCount
field_15783
levelCount
private final LeveledPriorityQueue
b
priorityQueue
field_43396
pendingUpdateQueue
private final it.unimi.dsi.fastutil.longs.Long2ByteMap
c
computedLevels
field_15784
pendingUpdates
private volatile boolean
d
hasWork
field_15782
hasPendingUpdates

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
e(long arg0)
removeFromQueue(long arg0)
method_15483(long arg0)
removePendingUpdate(long id)
public void
a(LongPredicate arg0)
removeIf(LongPredicate arg0)
method_24206(LongPredicate arg0)
removePendingUpdateIf(LongPredicate predicate)
private int
a(int arg0, int arg1)
calculatePriority(int arg0, int arg1)
method_50014(int arg0, int arg1)
calculateLevel(int a, int b)
protected void
f(long arg0)
checkNode(long arg0)
method_15491(long arg0)
resetLevel(long id)
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)
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 arg4, boolean decrease)
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)
protected final boolean
c()
hasWork()
method_15489()
hasPendingUpdates()
protected final int
b(int arg0)
runUpdates(int arg0)
method_15492(int arg0)
applyPendingUpdates(int maxSteps)
public int
d()
getQueueSize()
method_24208()
getPendingUpdateCount()
protected boolean
a(long arg0)
isSource(long arg0)
method_15494(long arg0)
isMarker(long id)
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)
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)
protected abstract int
c(long arg0)
getLevel(long arg0)
method_15480(long arg0)
getLevel(long id)
protected abstract void
a(long arg0, int arg1)
setLevel(long arg0, int arg1)
method_15485(long arg0, int arg1)
setLevel(long id, int level)
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)