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 ailintermediary net/minecraft/class_6609named net/minecraft/world/SimulationDistanceLevelPropagator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intstatic final intprotected final Long2ByteMapprivate final Long2ObjectOpenHashMap<SortedArraySet<ChunkTicket<?>>>Fields inherited from class net.minecraft.world.chunk.light.LevelPropagator
field_43397, levelCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long pos, ChunkTicket<?> ticket) <T> voidadd(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) protected intgetInitialLevel(long id) protected intgetLevel(long id) private intgetLevel(SortedArraySet<ChunkTicket<?>> ticket) intprivate SortedArraySet<ChunkTicket<?>>getTickets(long pos) getTickingTicket(long pos) voidremove(long pos, ChunkTicket<?> ticket) <T> voidremove(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) protected voidsetLevel(long id, int level) voidvoidupdatePlayerTickets(int level) Methods inherited from class net.minecraft.world.ChunkPosDistanceLevelPropagator
getPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateLevelMethods 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 official aLail;a:Iintermediary field_44858Lnet/minecraft/class_6609;field_44858:Inamed field_44858Lnet/minecraft/world/SimulationDistanceLevelPropagator;field_44858:I
-
field_34889
private static final int field_34889- See Also:
- Mappings:
Namespace Name Mixin selector official cLail;c:Iintermediary field_34889Lnet/minecraft/class_6609;field_34889:Inamed field_34889Lnet/minecraft/world/SimulationDistanceLevelPropagator;field_34889:I
-
levels
- Mappings:
Namespace Name Mixin selector official bLail;b:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;intermediary field_34888Lnet/minecraft/class_6609;field_34888:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;named levelsLnet/minecraft/world/SimulationDistanceLevelPropagator;levels:Lit/unimi/dsi/fastutil/longs/Long2ByteMap;
-
tickets
- Mappings:
Namespace Name Mixin selector official dLail;d:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;intermediary field_34890Lnet/minecraft/class_6609;field_34890:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;named ticketsLnet/minecraft/world/SimulationDistanceLevelPropagator;tickets:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
SimulationDistanceLevelPropagator
public SimulationDistanceLevelPropagator()
-
-
Method Details
-
getTickets
- Mappings:
Namespace Name Mixin selector official gLail;g(J)Lapo;intermediary method_38644Lnet/minecraft/class_6609;method_38644(J)Lnet/minecraft/class_4706;named getTicketsLnet/minecraft/world/SimulationDistanceLevelPropagator;getTickets(J)Lnet/minecraft/util/collection/SortedArraySet;
-
getLevel
- Mappings:
Namespace Name Mixin selector official aLail;a(Lapo;)Iintermediary method_38639Lnet/minecraft/class_6609;method_38639(Lnet/minecraft/class_4706;)Inamed getLevelLnet/minecraft/world/SimulationDistanceLevelPropagator;getLevel(Lnet/minecraft/util/collection/SortedArraySet;)I
-
add
- Mappings:
Namespace Name Mixin selector official aLail;a(JLaij;)Vintermediary method_38637Lnet/minecraft/class_6609;method_38637(JLnet/minecraft/class_3228;)Vnamed addLnet/minecraft/world/SimulationDistanceLevelPropagator;add(JLnet/minecraft/server/world/ChunkTicket;)V
-
remove
- Mappings:
Namespace Name Mixin selector official bLail;b(JLaij;)Vintermediary method_38641Lnet/minecraft/class_6609;method_38641(JLnet/minecraft/class_3228;)Vnamed removeLnet/minecraft/world/SimulationDistanceLevelPropagator;remove(JLnet/minecraft/server/world/ChunkTicket;)V
-
add
- Mappings:
Namespace Name Mixin selector official aLail;a(Laik;Lclr;ILjava/lang/Object;)Vintermediary method_38638Lnet/minecraft/class_6609;method_38638(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)Vnamed addLnet/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 bLail;b(Laik;Lclr;ILjava/lang/Object;)Vintermediary method_38642Lnet/minecraft/class_6609;method_38642(Lnet/minecraft/class_3230;Lnet/minecraft/class_1923;ILjava/lang/Object;)Vnamed removeLnet/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 aLail;a(I)Vintermediary method_38636Lnet/minecraft/class_6609;method_38636(I)Vnamed updatePlayerTicketsLnet/minecraft/world/SimulationDistanceLevelPropagator;updatePlayerTickets(I)V
-
getInitialLevel
protected int getInitialLevel(long id) - Specified by:
getInitialLevelin classChunkPosDistanceLevelPropagator- Mappings:
Namespace Name Mixin selector official bLahu;b(J)Iintermediary method_14028Lnet/minecraft/class_3196;method_14028(J)Inamed getInitialLevelLnet/minecraft/world/ChunkPosDistanceLevelPropagator;getInitialLevel(J)I
-
getLevel
- Mappings:
Namespace Name Mixin selector official aLail;a(Lclr;)Iintermediary method_38640Lnet/minecraft/class_6609;method_38640(Lnet/minecraft/class_1923;)Inamed getLevelLnet/minecraft/world/SimulationDistanceLevelPropagator;getLevel(Lnet/minecraft/util/math/ChunkPos;)I
-
getLevel
protected int getLevel(long id) - Specified by:
getLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official cLdwn;c(J)Iintermediary method_15480Lnet/minecraft/class_3554;method_15480(J)Inamed getLevelLnet/minecraft/world/chunk/light/LevelPropagator;getLevel(J)I
-
setLevel
protected void setLevel(long id, int level) - Specified by:
setLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official aLdwn;a(JI)Vintermediary method_15485Lnet/minecraft/class_3554;method_15485(JI)Vnamed setLevelLnet/minecraft/world/chunk/light/LevelPropagator;setLevel(JI)V
-
updateLevels
public void updateLevels()- Mappings:
Namespace Name Mixin selector official aLail;a()Vintermediary method_38635Lnet/minecraft/class_6609;method_38635()Vnamed updateLevelsLnet/minecraft/world/SimulationDistanceLevelPropagator;updateLevels()V
-
getTickingTicket
- Mappings:
Namespace Name Mixin selector official dLail;d(J)Ljava/lang/String;intermediary method_38643Lnet/minecraft/class_6609;method_38643(J)Ljava/lang/String;named getTickingTicketLnet/minecraft/world/SimulationDistanceLevelPropagator;getTickingTicket(J)Ljava/lang/String;
-