Package net.minecraft.util.worldupdate
Class WorldUpgrader.SimpleRegionStorageUpgrader
java.lang.Object
net.minecraft.util.worldupdate.WorldUpgrader.AbstractUpgrader<SimpleRegionStorage>
net.minecraft.util.worldupdate.WorldUpgrader.SimpleRegionStorageUpgrader
- Direct Known Subclasses:
WorldUpgrader.EntityUpgrader
,WorldUpgrader.PoiUpgrader
- Enclosing class:
WorldUpgrader
abstract class WorldUpgrader.SimpleRegionStorageUpgrader
extends WorldUpgrader.AbstractUpgrader<SimpleRegionStorage>
-
Field Summary
Fields inherited from class net.minecraft.util.worldupdate.WorldUpgrader.AbstractUpgrader
dataFixType, previousWriteFuture
-
Constructor Summary
ConstructorDescriptionSimpleRegionStorageUpgrader
(DataFixTypes p_321688_, String p_321507_, MutableComponent p_321726_, MutableComponent p_321505_) -
Method Summary
Modifier and TypeMethodDescriptionprotected SimpleRegionStorage
createStorage
(RegionStorageInfo p_325941_, Path p_321595_) protected boolean
tryProcessOnePosition
(SimpleRegionStorage p_321490_, ChunkPos p_321657_, ResourceKey<Level> p_321485_) protected abstract CompoundTag
upgradeTag
(SimpleRegionStorage p_321857_, CompoundTag p_321575_) Methods inherited from class net.minecraft.util.worldupdate.WorldUpgrader.AbstractUpgrader
upgrade
-
Constructor Details
-
SimpleRegionStorageUpgrader
SimpleRegionStorageUpgrader(DataFixTypes p_321688_, String p_321507_, MutableComponent p_321726_, MutableComponent p_321505_)
-
-
Method Details
-
createStorage
- Specified by:
createStorage
in classWorldUpgrader.AbstractUpgrader<SimpleRegionStorage>
-
tryProcessOnePosition
protected boolean tryProcessOnePosition(SimpleRegionStorage p_321490_, ChunkPos p_321657_, ResourceKey<Level> p_321485_) - Specified by:
tryProcessOnePosition
in classWorldUpgrader.AbstractUpgrader<SimpleRegionStorage>
-
upgradeTag
-