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_332054_, String p_328150_, MutableComponent p_336376_, MutableComponent p_335930_) -
Method Summary
Modifier and TypeMethodDescriptionprotected SimpleRegionStorage
createStorage
(RegionStorageInfo p_328549_, Path p_333111_) protected boolean
tryProcessOnePosition
(SimpleRegionStorage p_327888_, ChunkPos p_328250_, ResourceKey<Level> p_329996_) protected abstract CompoundTag
upgradeTag
(SimpleRegionStorage p_328302_, CompoundTag p_330493_) Methods inherited from class net.minecraft.util.worldupdate.WorldUpgrader.AbstractUpgrader
upgrade
-
Constructor Details
-
SimpleRegionStorageUpgrader
SimpleRegionStorageUpgrader(DataFixTypes p_332054_, String p_328150_, MutableComponent p_336376_, MutableComponent p_335930_)
-
-
Method Details
-
createStorage
- Specified by:
createStorage
in classWorldUpgrader.AbstractUpgrader<SimpleRegionStorage>
-
tryProcessOnePosition
protected boolean tryProcessOnePosition(SimpleRegionStorage p_327888_, ChunkPos p_328250_, ResourceKey<Level> p_329996_) - Specified by:
tryProcessOnePosition
in classWorldUpgrader.AbstractUpgrader<SimpleRegionStorage>
-
upgradeTag
-