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 bpa$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
private final String
protected @Nullable CompletableFuture
<Void> private final String
private final MutableText
-
Constructor Summary
ConstructorsConstructorDescriptionUpdate
(DataFixTypes dataFixTypes, String name, String targetName, MutableText upgradingText, MutableText finishedText) -
Method Summary
Modifier and TypeMethodDescriptionprivate ListIterator
<WorldUpdater.Region> enumerateRegions
(StorageKey key, Path regionDirectory) private static List
<WorldUpdater.Region> listRegions
(StorageKey key, Path regionDirectory) private List
<WorldUpdater.WorldData<T>> protected abstract T
openStorage
(StorageKey key, Path worldDirectory) 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
Lbpa$a;d:Lxi;
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
Lbpa$a;e:Lxi;
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;
-
name
- Mappings:
Namespace Name Mixin selector official f
Lbpa$a;f:Ljava/lang/String;
intermediary field_49072
Lnet/minecraft/class_1257$class_9161;field_49072:Ljava/lang/String;
named name
Lnet/minecraft/world/updater/WorldUpdater$Update;name:Ljava/lang/String;
-
targetName
- Mappings:
Namespace Name Mixin selector official g
Lbpa$a;g: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
Lbpa$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
Lbpa$a;b:Lazf;
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 name, String targetName, MutableText upgradingText, MutableText finishedText) - Mappings:
Namespace Name Mixin selector official <init>
Lbpa$a;<init>(Lbpa;Lazf;Ljava/lang/String;Ljava/lang/String;Lxi;Lxi;)V
intermediary <init>
Lnet/minecraft/class_1257$class_9161;<init>(Lnet/minecraft/class_1257;Lnet/minecraft/class_4284;Ljava/lang/String;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;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
Lbpa$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 b
Lbpa$a;b()Ljava/util/List;
intermediary method_56544
Lnet/minecraft/class_1257$class_9161;method_56544()Ljava/util/List;
named listWoldData
Lnet/minecraft/world/updater/WorldUpdater$Update;listWoldData()Ljava/util/List;
-
openStorage
- Mappings:
Namespace Name Mixin selector official a
Lbpa$a;a(Ldtt;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
intermediary method_56546
Lnet/minecraft/class_1257$class_9161;method_56546(Lnet/minecraft/class_9240;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
named openStorage
Lnet/minecraft/world/updater/WorldUpdater$Update;openStorage(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
-
enumerateRegions
- Mappings:
Namespace Name Mixin selector official b
Lbpa$a;b(Ldtt;Ljava/nio/file/Path;)Ljava/util/ListIterator;
intermediary method_56545
Lnet/minecraft/class_1257$class_9161;method_56545(Lnet/minecraft/class_9240;Ljava/nio/file/Path;)Ljava/util/ListIterator;
named enumerateRegions
Lnet/minecraft/world/updater/WorldUpdater$Update;enumerateRegions(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;)Ljava/util/ListIterator;
-
listRegions
- Mappings:
Namespace Name Mixin selector official c
Lbpa$a;c(Ldtt;Ljava/nio/file/Path;)Ljava/util/List;
intermediary method_56539
Lnet/minecraft/class_1257$class_9161;method_56539(Lnet/minecraft/class_9240;Ljava/nio/file/Path;)Ljava/util/List;
named listRegions
Lnet/minecraft/world/updater/WorldUpdater$Update;listRegions(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;)Ljava/util/List;
-
update
- Mappings:
Namespace Name Mixin selector official a
Lbpa$a;a(Lakg;Ljava/lang/AutoCloseable;Lczk;)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
Lbpa$a;a(Ljava/lang/AutoCloseable;Lczk;Lakg;)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
Lbpa$a;a(Ldtq;)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
-