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 official afu
intermediary net/minecraft/class_6609
named net/minecraft/world/SimulationDistanceLevelPropagator
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
protected final Long2ByteMap
private final Long2ObjectOpenHashMap<SortedArraySet<ChunkTicket<?>>>
-
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_34889
private static final int field_34889- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lafu;b:I
intermediary field_34889
Lnet/minecraft/class_6609;field_34889:I
named field_34889
Lnet/minecraft/world/SimulationDistanceLevelPropagator;field_34889:I
-
levels
- Mappings:
Namespace Name Mixin selector official a
Lafu;a:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
intermediary field_34888
Lnet/minecraft/class_6609;field_34888:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
named levels
Lnet/minecraft/world/SimulationDistanceLevelPropagator;levels:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
-
tickets
- Mappings:
Namespace Name Mixin selector official c
Lafu;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
intermediary field_34890
Lnet/minecraft/class_6609;field_34890:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
named tickets
Lnet/minecraft/world/SimulationDistanceLevelPropagator;tickets:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
SimulationDistanceLevelPropagator
public SimulationDistanceLevelPropagator()
-
-
Method Details
-
getTickets
- Mappings:
Namespace Name Mixin selector official g
Lafu;g(J)Lama;
intermediary method_38644
Lnet/minecraft/class_6609;method_38644(J)Lnet/minecraft/class_4706;
named getTickets
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getTickets(J)Lnet/minecraft/util/collection/SortedArraySet;
-
getLevel
- Mappings:
Namespace Name Mixin selector official a
Lafu;a(Lama;)I
intermediary method_38639
Lnet/minecraft/class_6609;method_38639(Lnet/minecraft/class_4706;)I
named getLevel
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getLevel(Lnet/minecraft/util/collection/SortedArraySet;)I
-
add
- Mappings:
Namespace Name Mixin selector official a
Lafu;a(JLafs;)V
intermediary method_38637
Lnet/minecraft/class_6609;method_38637(JLnet/minecraft/class_3228;)V
named add
Lnet/minecraft/world/SimulationDistanceLevelPropagator;add(JLnet/minecraft/server/world/ChunkTicket;)V
-
remove
- Mappings:
Namespace Name Mixin selector official b
Lafu;b(JLafs;)V
intermediary method_38641
Lnet/minecraft/class_6609;method_38641(JLnet/minecraft/class_3228;)V
named remove
Lnet/minecraft/world/SimulationDistanceLevelPropagator;remove(JLnet/minecraft/server/world/ChunkTicket;)V
-
add
- Mappings:
Namespace Name Mixin selector official a
Lafu;a(Laft;Lcfh;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
named add
Lnet/minecraft/world/SimulationDistanceLevelPropagator;add(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
-
remove
- Mappings:
Namespace Name Mixin selector official b
Lafu;b(Laft;Lcfh;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
named remove
Lnet/minecraft/world/SimulationDistanceLevelPropagator;remove(Lnet/minecraft/server/world/ChunkTicketType;Lnet/minecraft/util/math/ChunkPos;ILjava/lang/Object;)V
-
updatePlayerTickets
public void updatePlayerTickets(int level) - Mappings:
Namespace Name Mixin selector official a
Lafu;a(I)V
intermediary method_38636
Lnet/minecraft/class_6609;method_38636(I)V
named updatePlayerTickets
Lnet/minecraft/world/SimulationDistanceLevelPropagator;updatePlayerTickets(I)V
-
getInitialLevel
protected int getInitialLevel(long id) - Specified by:
getInitialLevel
in classChunkPosDistanceLevelPropagator
- Mappings:
Namespace Name Mixin selector official b
Lafe;b(J)I
intermediary method_14028
Lnet/minecraft/class_3196;method_14028(J)I
named getInitialLevel
Lnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
-
getLevel
- Mappings:
Namespace Name Mixin selector official a
Lafu;a(Lcfh;)I
intermediary method_38640
Lnet/minecraft/class_6609;method_38640(Lnet/minecraft/class_1923;)I
named getLevel
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getLevel(Lnet/minecraft/util/math/ChunkPos;)I
-
getLevel
protected int getLevel(long id) - Specified by:
getLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official c
Ldol;c(J)I
intermediary method_15480
Lnet/minecraft/class_3554;method_15480(J)I
named getLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
-
setLevel
protected void setLevel(long id, int level) - Specified by:
setLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official a
Ldol;a(JI)V
intermediary method_15485
Lnet/minecraft/class_3554;method_15485(JI)V
named setLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
-
updateLevels
public void updateLevels()- Mappings:
Namespace Name Mixin selector official a
Lafu;a()V
intermediary method_38635
Lnet/minecraft/class_6609;method_38635()V
named updateLevels
Lnet/minecraft/world/SimulationDistanceLevelPropagator;updateLevels()V
-
getTickingTicket
- Mappings:
Namespace Name Mixin selector official d
Lafu;d(J)Ljava/lang/String;
intermediary method_38643
Lnet/minecraft/class_6609;method_38643(J)Ljava/lang/String;
named getTickingTicket
Lnet/minecraft/world/SimulationDistanceLevelPropagator;getTickingTicket(J)Ljava/lang/String;
-