Package net.minecraft.world.updater
Class WorldUpdater.Update<T extends AutoCloseable>
java.lang.Object
net.minecraft.world.updater.WorldUpdater.Update<T>
- Direct Known Subclasses:
WorldUpdater.ChunkPosKeyedStorageUpdate
,WorldUpdater.RegionUpdate
- Enclosing class:
WorldUpdater
- Mappings:
Namespace Name official blz$a
intermediary net/minecraft/class_1257$class_9161
named net/minecraft/world/updater/WorldUpdater$Update
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DataFixTypes
private final MutableText
protected @Nullable CompletableFuture<Void>
private final String
private final MutableText
-
Constructor Summary
ConstructorsConstructorDescriptionUpdate
(DataFixTypes dataFixTypes, String targetName, MutableText upgradingText, MutableText finishedText) -
Method Summary
Modifier and TypeMethodDescriptionprivate ListIterator<WorldUpdater.Region>
enumerateRegions
(String targetName, RegistryKey<World> worldKey) private List<WorldUpdater.Region>
listRegions
(RegistryKey<World> worldKey, String targetName) private List<WorldUpdater.WorldData<T>>
listWoldData
(String targetName) protected abstract T
openStorage
(String targetName, Path worldDirectory, Path targetDirectory) private void
recreate
(RegionFile regionFile) void
update()
private boolean
update
(RegistryKey<World> worldKey, T storage, ChunkPos chunkPos) protected abstract boolean
update
(T storage, ChunkPos chunkPos, RegistryKey<World> worldKey)
-
Field Details
-
upgradingText
- Mappings:
Namespace Name Mixin selector official d
Lblz$a;d:Lwg;
intermediary field_48735
Lnet/minecraft/class_1257$class_9161;field_48735:Lnet/minecraft/class_5250;
named upgradingText
Lnet/minecraft/world/updater/WorldUpdater$Update;upgradingText:Lnet/minecraft/text/MutableText;
-
finishedText
- Mappings:
Namespace Name Mixin selector official e
Lblz$a;e:Lwg;
intermediary field_48736
Lnet/minecraft/class_1257$class_9161;field_48736:Lnet/minecraft/class_5250;
named finishedText
Lnet/minecraft/world/updater/WorldUpdater$Update;finishedText:Lnet/minecraft/text/MutableText;
-
targetName
- Mappings:
Namespace Name Mixin selector official f
Lblz$a;f:Ljava/lang/String;
intermediary field_48737
Lnet/minecraft/class_1257$class_9161;field_48737:Ljava/lang/String;
named targetName
Lnet/minecraft/world/updater/WorldUpdater$Update;targetName:Ljava/lang/String;
-
pendingUpdateFuture
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a:Ljava/util/concurrent/CompletableFuture;
intermediary field_48732
Lnet/minecraft/class_1257$class_9161;field_48732:Ljava/util/concurrent/CompletableFuture;
named pendingUpdateFuture
Lnet/minecraft/world/updater/WorldUpdater$Update;pendingUpdateFuture:Ljava/util/concurrent/CompletableFuture;
-
dataFixTypes
- Mappings:
Namespace Name Mixin selector official b
Lblz$a;b:Laxs;
intermediary field_48733
Lnet/minecraft/class_1257$class_9161;field_48733:Lnet/minecraft/class_4284;
named dataFixTypes
Lnet/minecraft/world/updater/WorldUpdater$Update;dataFixTypes:Lnet/minecraft/datafixer/DataFixTypes;
-
-
Constructor Details
-
Update
Update(DataFixTypes dataFixTypes, String targetName, MutableText upgradingText, MutableText finishedText) - Mappings:
Namespace Name Mixin selector official <init>
Lblz$a;<init>(Lblz;Laxs;Ljava/lang/String;Lwg;Lwg;)V
intermediary <init>
Lnet/minecraft/class_1257$class_9161;<init>(Lnet/minecraft/class_1257;Lnet/minecraft/class_4284;Ljava/lang/String;Lnet/minecraft/class_5250;Lnet/minecraft/class_5250;)V
named <init>
Lnet/minecraft/world/updater/WorldUpdater$Update;<init>(Lnet/minecraft/world/updater/WorldUpdater;Lnet/minecraft/datafixer/DataFixTypes;Ljava/lang/String;Lnet/minecraft/text/MutableText;Lnet/minecraft/text/MutableText;)V
-
-
Method Details
-
update
public void update()- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a()V
intermediary method_56537
Lnet/minecraft/class_1257$class_9161;method_56537()V
named update
Lnet/minecraft/world/updater/WorldUpdater$Update;update()V
-
listWoldData
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Ljava/lang/String;)Ljava/util/List;
intermediary method_56544
Lnet/minecraft/class_1257$class_9161;method_56544(Ljava/lang/String;)Ljava/util/List;
named listWoldData
Lnet/minecraft/world/updater/WorldUpdater$Update;listWoldData(Ljava/lang/String;)Ljava/util/List;
-
openStorage
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
intermediary method_56546
Lnet/minecraft/class_1257$class_9161;method_56546(Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
named openStorage
Lnet/minecraft/world/updater/WorldUpdater$Update;openStorage(Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
-
enumerateRegions
private ListIterator<WorldUpdater.Region> enumerateRegions(String targetName, RegistryKey<World> worldKey) - Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Ljava/lang/String;Lajb;)Ljava/util/ListIterator;
intermediary method_56545
Lnet/minecraft/class_1257$class_9161;method_56545(Ljava/lang/String;Lnet/minecraft/class_5321;)Ljava/util/ListIterator;
named enumerateRegions
Lnet/minecraft/world/updater/WorldUpdater$Update;enumerateRegions(Ljava/lang/String;Lnet/minecraft/registry/RegistryKey;)Ljava/util/ListIterator;
-
listRegions
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Lajb;Ljava/lang/String;)Ljava/util/List;
intermediary method_56539
Lnet/minecraft/class_1257$class_9161;method_56539(Lnet/minecraft/class_5321;Ljava/lang/String;)Ljava/util/List;
named listRegions
Lnet/minecraft/world/updater/WorldUpdater$Update;listRegions(Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Ljava/util/List;
-
update
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Lajb;Ljava/lang/AutoCloseable;Lcvl;)Z
intermediary method_56538
Lnet/minecraft/class_1257$class_9161;method_56538(Lnet/minecraft/class_5321;Ljava/lang/AutoCloseable;Lnet/minecraft/class_1923;)Z
named update
Lnet/minecraft/world/updater/WorldUpdater$Update;update(Lnet/minecraft/registry/RegistryKey;Ljava/lang/AutoCloseable;Lnet/minecraft/util/math/ChunkPos;)Z
-
update
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Ljava/lang/AutoCloseable;Lcvl;Lajb;)Z
intermediary method_56543
Lnet/minecraft/class_1257$class_9161;method_56543(Ljava/lang/AutoCloseable;Lnet/minecraft/class_1923;Lnet/minecraft/class_5321;)Z
named update
Lnet/minecraft/world/updater/WorldUpdater$Update;update(Ljava/lang/AutoCloseable;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/registry/RegistryKey;)Z
-
recreate
- Mappings:
Namespace Name Mixin selector official a
Lblz$a;a(Ldpi;)V
intermediary method_56541
Lnet/minecraft/class_1257$class_9161;method_56541(Lnet/minecraft/class_2861;)V
named recreate
Lnet/minecraft/world/updater/WorldUpdater$Update;recreate(Lnet/minecraft/world/storage/RegionFile;)V
-