Package net.minecraft.world
Class SimulationDistanceLevelPropagator
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.ChunkPosDistanceLevelPropagator
net.minecraft.world.SimulationDistanceLevelPropagator
- Mappings:
Namespace Name named net/minecraft/world/SimulationDistanceLevelPropagator
intermediary net/minecraft/class_6609
official aso
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
static final int
protected final Long2ByteMap
private final Long2ObjectOpenHashMap
<SortedArraySet<ChunkTicket<?>>> Fields inherited from class net.minecraft.world.chunk.light.LevelPropagator
field_43397, levelCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long pos, ChunkTicket<?> ticket) <T> void
add
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) protected int
getInitialLevel
(long id) protected int
getLevel
(long id) private int
getLevel
(SortedArraySet<ChunkTicket<?>> ticket) int
private SortedArraySet
<ChunkTicket<?>> getTickets
(long pos) getTickingTicket
(long pos) void
remove
(long pos, ChunkTicket<?> ticket) <T> void
remove
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) protected void
setLevel
(long id, int level) void
void
updatePlayerTickets
(int level) Methods inherited from class net.minecraft.world.ChunkPosDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateLevel
Methods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
-
Field Details
-
field_44858
public static final int field_44858- See Also:
- Mappings:
Namespace Name Mixin selector named field_44858
Lnet/minecraft/world/SimulationDistanceLevelPropagator;field_44858:I
intermediary field_44858
Lnet/minecraft/class_6609;field_44858:I
official a
Laso;a:I
-
field_34889
private static final int field_34889- See Also:
- Mappings:
Namespace Name Mixin selector named field_34889
Lnet/minecraft/world/SimulationDistanceLevelPropagator;field_34889:I
intermediary field_34889
Lnet/minecraft/class_6609;field_34889:I
official c
Laso;c:I
-
levels
- Mappings:
Namespace Name Mixin selector named levels
Lnet/minecraft/world/SimulationDistanceLevelPropagator;levels:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
intermediary field_34888
Lnet/minecraft/class_6609;field_34888:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
official b
Laso;b:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
-
tickets
- Mappings:
Namespace Name Mixin selector named tickets
Lnet/minecraft/world/SimulationDistanceLevelPropagator;tickets:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
intermediary field_34890
Lnet/minecraft/class_6609;field_34890:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
official d
Laso;d:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
SimulationDistanceLevelPropagator
public SimulationDistanceLevelPropagator()
-
-
Method Details
-
getTickets
- Mappings:
Namespace Name Mixin selector named getTickets
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getTickets(J)Lnet/minecraft/util/collection/SortedArraySet;
intermediary method_38644
Lnet/minecraft/class_6609;method_38644(J)Lnet/minecraft/class_4706;
official g
Laso;g(J)Lbaw;
-
getLevel
- Mappings:
Namespace Name Mixin selector named getLevel
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getLevel(Lnet/minecraft/util/collection/SortedArraySet;)I
intermediary method_38639
Lnet/minecraft/class_6609;method_38639(Lnet/minecraft/class_4706;)I
official a
Laso;a(Lbaw;)I
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/world/SimulationDistanceLevelPropagator;add(JLnet/minecraft/server/world/ChunkTicket;)V
intermediary method_38637
Lnet/minecraft/class_6609;method_38637(JLnet/minecraft/class_3228;)V
official a
Laso;a(JLasm;)V
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/world/SimulationDistanceLevelPropagator;remove(JLnet/minecraft/server/world/ChunkTicket;)V
intermediary method_38641
Lnet/minecraft/class_6609;method_38641(JLnet/minecraft/class_3228;)V
official b
Laso;b(JLasm;)V
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/world/SimulationDistanceLevelPropagator;add(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
intermediary method_38638
Lnet/minecraft/class_6609;method_38638(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)V
official a
Laso;a(Lasn;Ldgn;ILjava/lang/Object;)V
-
remove
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/world/SimulationDistanceLevelPropagator;remove(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
intermediary method_38642
Lnet/minecraft/class_6609;method_38642(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)V
official b
Laso;b(Lasn;Ldgn;ILjava/lang/Object;)V
-
updatePlayerTickets
public void updatePlayerTickets(int level) - Mappings:
Namespace Name Mixin selector named updatePlayerTickets
Lnet/minecraft/world/SimulationDistanceLevelPropagator;updatePlayerTickets(I)V
intermediary method_38636
Lnet/minecraft/class_6609;method_38636(I)V
official a
Laso;a(I)V
-
getInitialLevel
protected int getInitialLevel(long id) - Specified by:
getInitialLevel
in classChunkPosDistanceLevelPropagator
- Mappings:
Namespace Name Mixin selector named getInitialLevel
Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
intermediary method_14028
Lnet/minecraft/class_3196;method_14028(J)I
official b
Larq;b(J)I
-
getLevel
- Mappings:
Namespace Name Mixin selector named getLevel
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getLevel(Lnet/minecraft/util/math/ChunkPos;)I
intermediary method_38640
Lnet/minecraft/class_6609;method_38640(Lnet/minecraft/class_1923;)I
official a
Laso;a(Ldgn;)I
-
getLevel
protected int getLevel(long id) - Specified by:
getLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector named getLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
intermediary method_15480
Lnet/minecraft/class_3554;method_15480(J)I
official c
Leti;c(J)I
-
setLevel
protected void setLevel(long id, int level) - Specified by:
setLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector named setLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
intermediary method_15485
Lnet/minecraft/class_3554;method_15485(JI)V
official a
Leti;a(JI)V
-
getTrackedChunks
- Mappings:
Namespace Name Mixin selector named getTrackedChunks
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getTrackedChunks()Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary method_61279
Lnet/minecraft/class_6609;method_61279()Lit/unimi/dsi/fastutil/longs/LongSet;
official a
Laso;a()Lit/unimi/dsi/fastutil/longs/LongSet;
-
updateLevels
public void updateLevels()- Mappings:
Namespace Name Mixin selector named updateLevels
Lnet/minecraft/world/SimulationDistanceLevelPropagator;updateLevels()V
intermediary method_38635
Lnet/minecraft/class_6609;method_38635()V
official b
Laso;b()V
-
getTickingTicket
- Mappings:
Namespace Name Mixin selector named getTickingTicket
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getTickingTicket(J)Ljava/lang/String;
intermediary method_38643
Lnet/minecraft/class_6609;method_38643(J)Ljava/lang/String;
official d
Laso;d(J)Ljava/lang/String;
-