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 arl
-
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
Larl;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
Larl;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
Larl;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
Larl;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
Larl;g(J)Lazr;
-
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
Larl;a(Lazr;)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
Larl;a(JLarj;)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
Larl;b(JLarj;)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
Larl;a(Lark;Ldbg;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
Larl;b(Lark;Ldbg;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
Larl;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
Laqs;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
Larl;a(Ldbg;)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
Leni;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
Leni;a(JI)V
-
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 a
Larl;a()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
Larl;d(J)Ljava/lang/String;
-