类 WorldUpdater
- java.lang.Object
-
- net.minecraft.world.updater.WorldUpdater
-
public class WorldUpdater extends Object
- Mappings:
Namespace Name official aquintermediary net/minecraft/class_1257named net/minecraft/world/updater/WorldUpdater
-
-
字段概要
字段 修饰符和类型 字段 说明 private com.mojang.datafixers.DataFixerdataFixerprivate Object2FloatMap<RegistryKey<World>>dimensionProgressprivate booleandoneprivate booleaneraseCacheprivate booleankeepUpgradingChunksprivate static LoggerLOGGERprivate PersistentStateManagerpersistentStateManagerprivate floatprogressprivate static PatternREGION_FILE_PATTERNprivate LevelStorage.Sessionsessionprivate intskippedChunkCountprivate Textstatusprivate inttotalChunkCountprivate static ThreadFactoryUPDATE_THREAD_FACTORYprivate ThreadupdateThreadprivate intupgradedChunkCountprivate ImmutableSet<RegistryKey<World>>worlds
-
构造器概要
构造器 构造器 说明 WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, ImmutableSet<RegistryKey<World>> worlds, boolean eraseCache)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcancel()private List<ChunkPos>getChunkPositions(RegistryKey<World> world)floatgetProgress()floatgetProgress(RegistryKey<World> world)intgetSkippedChunkCount()TextgetStatus()intgetTotalChunkCount()intgetUpgradedChunkCount()ImmutableSet<RegistryKey<World>>getWorlds()booleanisDone()private voidupdateWorld()
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLaqu;a:Lorg/apache/logging/log4j/Logger;intermediary field_5756Lnet/minecraft/class_1257;field_5756:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/updater/WorldUpdater;LOGGER:Lorg/apache/logging/log4j/Logger;
-
UPDATE_THREAD_FACTORY
private static final ThreadFactory UPDATE_THREAD_FACTORY
- Mappings:
Namespace Name Mixin selector official bLaqu;b:Ljava/util/concurrent/ThreadFactory;intermediary field_5757Lnet/minecraft/class_1257;field_5757:Ljava/util/concurrent/ThreadFactory;named UPDATE_THREAD_FACTORYLnet/minecraft/world/updater/WorldUpdater;UPDATE_THREAD_FACTORY:Ljava/util/concurrent/ThreadFactory;
-
REGION_FILE_PATTERN
private static final Pattern REGION_FILE_PATTERN
- Mappings:
Namespace Name Mixin selector official pLaqu;p:Ljava/util/regex/Pattern;intermediary field_17622Lnet/minecraft/class_1257;field_17622:Ljava/util/regex/Pattern;named REGION_FILE_PATTERNLnet/minecraft/world/updater/WorldUpdater;REGION_FILE_PATTERN:Ljava/util/regex/Pattern;
-
worlds
private final ImmutableSet<RegistryKey<World>> worlds
- Mappings:
Namespace Name Mixin selector official cLaqu;c:Lcom/google/common/collect/ImmutableSet;intermediary field_25354Lnet/minecraft/class_1257;field_25354:Lcom/google/common/collect/ImmutableSet;named worldsLnet/minecraft/world/updater/WorldUpdater;worlds:Lcom/google/common/collect/ImmutableSet;
-
eraseCache
private final boolean eraseCache
- Mappings:
Namespace Name Mixin selector official dLaqu;d:Zintermediary field_19225Lnet/minecraft/class_1257;field_19225:Znamed eraseCacheLnet/minecraft/world/updater/WorldUpdater;eraseCache:Z
-
session
private final LevelStorage.Session session
- Mappings:
Namespace Name Mixin selector official eLaqu;e:Ldhb$a;intermediary field_24083Lnet/minecraft/class_1257;field_24083:Lnet/minecraft/class_32$class_5143;named sessionLnet/minecraft/world/updater/WorldUpdater;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
updateThread
private final Thread updateThread
- Mappings:
Namespace Name Mixin selector official fLaqu;f:Ljava/lang/Thread;intermediary field_5767Lnet/minecraft/class_1257;field_5767:Ljava/lang/Thread;named updateThreadLnet/minecraft/world/updater/WorldUpdater;updateThread:Ljava/lang/Thread;
-
dataFixer
private final com.mojang.datafixers.DataFixer dataFixer
- Mappings:
Namespace Name Mixin selector official gLaqu;g:Lcom/mojang/datafixers/DataFixer;intermediary field_24084Lnet/minecraft/class_1257;field_24084:Lcom/mojang/datafixers/DataFixer;named dataFixerLnet/minecraft/world/updater/WorldUpdater;dataFixer:Lcom/mojang/datafixers/DataFixer;
-
keepUpgradingChunks
private volatile boolean keepUpgradingChunks
- Mappings:
Namespace Name Mixin selector official hLaqu;h:Zintermediary field_5760Lnet/minecraft/class_1257;field_5760:Znamed keepUpgradingChunksLnet/minecraft/world/updater/WorldUpdater;keepUpgradingChunks:Z
-
done
private volatile boolean done
- Mappings:
Namespace Name Mixin selector official iLaqu;i:Zintermediary field_5759Lnet/minecraft/class_1257;field_5759:Znamed doneLnet/minecraft/world/updater/WorldUpdater;done:Z
-
progress
private volatile float progress
- Mappings:
Namespace Name Mixin selector official jLaqu;j:Fintermediary field_5763Lnet/minecraft/class_1257;field_5763:Fnamed progressLnet/minecraft/world/updater/WorldUpdater;progress:F
-
totalChunkCount
private volatile int totalChunkCount
- Mappings:
Namespace Name Mixin selector official kLaqu;k:Iintermediary field_5768Lnet/minecraft/class_1257;field_5768:Inamed totalChunkCountLnet/minecraft/world/updater/WorldUpdater;totalChunkCount:I
-
upgradedChunkCount
private volatile int upgradedChunkCount
- Mappings:
Namespace Name Mixin selector official lLaqu;l:Iintermediary field_5766Lnet/minecraft/class_1257;field_5766:Inamed upgradedChunkCountLnet/minecraft/world/updater/WorldUpdater;upgradedChunkCount:I
-
skippedChunkCount
private volatile int skippedChunkCount
- Mappings:
Namespace Name Mixin selector official mLaqu;m:Iintermediary field_5764Lnet/minecraft/class_1257;field_5764:Inamed skippedChunkCountLnet/minecraft/world/updater/WorldUpdater;skippedChunkCount:I
-
dimensionProgress
private final Object2FloatMap<RegistryKey<World>> dimensionProgress
- Mappings:
Namespace Name Mixin selector official nLaqu;n:Lit/unimi/dsi/fastutil/objects/Object2FloatMap;intermediary field_5762Lnet/minecraft/class_1257;field_5762:Lit/unimi/dsi/fastutil/objects/Object2FloatMap;named dimensionProgressLnet/minecraft/world/updater/WorldUpdater;dimensionProgress:Lit/unimi/dsi/fastutil/objects/Object2FloatMap;
-
status
private volatile Text status
- Mappings:
Namespace Name Mixin selector official oLaqu;o:Lon;intermediary field_5765Lnet/minecraft/class_1257;field_5765:Lnet/minecraft/class_2561;named statusLnet/minecraft/world/updater/WorldUpdater;status:Lnet/minecraft/text/Text;
-
persistentStateManager
private final PersistentStateManager persistentStateManager
- Mappings:
Namespace Name Mixin selector official qLaqu;q:Ldgx;intermediary field_5755Lnet/minecraft/class_1257;field_5755:Lnet/minecraft/class_26;named persistentStateManagerLnet/minecraft/world/updater/WorldUpdater;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
-
-
构造器详细资料
-
WorldUpdater
public WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, ImmutableSet<RegistryKey<World>> worlds, boolean eraseCache)
- Mappings:
Namespace Name Mixin selector official <init>Laqu;<init>(Ldhb$a;Lcom/mojang/datafixers/DataFixer;Lcom/google/common/collect/ImmutableSet;Z)Vintermediary <init>Lnet/minecraft/class_1257;<init>(Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;Lcom/google/common/collect/ImmutableSet;Z)Vnamed <init>Lnet/minecraft/world/updater/WorldUpdater;<init>(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/datafixers/DataFixer;Lcom/google/common/collect/ImmutableSet;Z)V
-
-
方法详细资料
-
cancel
public void cancel()
- Mappings:
Namespace Name Mixin selector official aLaqu;a()Vintermediary method_5402Lnet/minecraft/class_1257;method_5402()Vnamed cancelLnet/minecraft/world/updater/WorldUpdater;cancel()V
-
updateWorld
private void updateWorld()
- Mappings:
Namespace Name Mixin selector official iLaqu;i()Vintermediary method_5404Lnet/minecraft/class_1257;method_5404()Vnamed updateWorldLnet/minecraft/world/updater/WorldUpdater;updateWorld()V
-
getChunkPositions
private List<ChunkPos> getChunkPositions(RegistryKey<World> world)
- Mappings:
Namespace Name Mixin selector official bLaqu;b(Lwo;)Ljava/util/List;intermediary method_17830Lnet/minecraft/class_1257;method_17830(Lnet/minecraft/class_5321;)Ljava/util/List;named getChunkPositionsLnet/minecraft/world/updater/WorldUpdater;getChunkPositions(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/List;
-
isDone
public boolean isDone()
- Mappings:
Namespace Name Mixin selector official bLaqu;b()Zintermediary method_5403Lnet/minecraft/class_1257;method_5403()Znamed isDoneLnet/minecraft/world/updater/WorldUpdater;isDone()Z
-
getWorlds
public ImmutableSet<RegistryKey<World>> getWorlds()
- Mappings:
Namespace Name Mixin selector official cLaqu;c()Lcom/google/common/collect/ImmutableSet;intermediary method_28304Lnet/minecraft/class_1257;method_28304()Lcom/google/common/collect/ImmutableSet;named getWorldsLnet/minecraft/world/updater/WorldUpdater;getWorlds()Lcom/google/common/collect/ImmutableSet;
-
getProgress
public float getProgress(RegistryKey<World> world)
- Mappings:
Namespace Name Mixin selector official aLaqu;a(Lwo;)Fintermediary method_5393Lnet/minecraft/class_1257;method_5393(Lnet/minecraft/class_5321;)Fnamed getProgressLnet/minecraft/world/updater/WorldUpdater;getProgress(Lnet/minecraft/util/registry/RegistryKey;)F
-
getProgress
public float getProgress()
- Mappings:
Namespace Name Mixin selector official dLaqu;d()Fintermediary method_5401Lnet/minecraft/class_1257;method_5401()Fnamed getProgressLnet/minecraft/world/updater/WorldUpdater;getProgress()F
-
getTotalChunkCount
public int getTotalChunkCount()
- Mappings:
Namespace Name Mixin selector official eLaqu;e()Iintermediary method_5397Lnet/minecraft/class_1257;method_5397()Inamed getTotalChunkCountLnet/minecraft/world/updater/WorldUpdater;getTotalChunkCount()I
-
getUpgradedChunkCount
public int getUpgradedChunkCount()
- Mappings:
Namespace Name Mixin selector official fLaqu;f()Iintermediary method_5400Lnet/minecraft/class_1257;method_5400()Inamed getUpgradedChunkCountLnet/minecraft/world/updater/WorldUpdater;getUpgradedChunkCount()I
-
getSkippedChunkCount
public int getSkippedChunkCount()
- Mappings:
Namespace Name Mixin selector official gLaqu;g()Iintermediary method_5399Lnet/minecraft/class_1257;method_5399()Inamed getSkippedChunkCountLnet/minecraft/world/updater/WorldUpdater;getSkippedChunkCount()I
-
getStatus
public Text getStatus()
- Mappings:
Namespace Name Mixin selector official hLaqu;h()Lon;intermediary method_5394Lnet/minecraft/class_1257;method_5394()Lnet/minecraft/class_2561;named getStatusLnet/minecraft/world/updater/WorldUpdater;getStatus()Lnet/minecraft/text/Text;
-
-