Package net.nullved.pmweatherapi.data
Class PMWSavedData
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.nullved.pmweatherapi.data.PMWSavedData
@Deprecated(since="0.15.3.3",
forRemoval=true)
public class PMWSavedData
extends net.minecraft.world.level.saveddata.SavedData
Deprecated, for removal: This API element is subject to removal in a future version.
Since 0.15.3.3 | For removal in 0.16.0.0 | Using new Storages system
The
SavedData for PMWeatherAPI- Since:
- 0.14.15.3
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.saveddata.SavedData
net.minecraft.world.level.saveddata.SavedData.Factory<T extends net.minecraft.world.level.saveddata.SavedData> -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.PMWSavedData(net.minecraft.nbt.CompoundTag tag) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.level.saveddata.SavedData.Factory<PMWSavedData> factory()Deprecated, for removal: This API element is subject to removal in a future version.Gets the factory for loading the saved datanet.minecraft.nbt.CompoundTaggetTag()Deprecated, for removal: This API element is subject to removal in a future version.Gets the data loaded from the levelbooleanisDirty()Deprecated, for removal: This API element is subject to removal in a future version.net.minecraft.nbt.CompoundTagsave(net.minecraft.nbt.CompoundTag compoundTag, net.minecraft.core.HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRadarStorage(RadarStorage radarStorage) Deprecated, for removal: This API element is subject to removal in a future version.Sets the radar storage associated with this levelMethods inherited from class net.minecraft.world.level.saveddata.SavedData
save, setDirty, setDirty
-
Constructor Details
-
PMWSavedData
public PMWSavedData()Deprecated, for removal: This API element is subject to removal in a future version. -
PMWSavedData
public PMWSavedData(net.minecraft.nbt.CompoundTag tag) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
factory
Deprecated, for removal: This API element is subject to removal in a future version.Gets the factory for loading the saved data- Returns:
- A
SavedData.FactoryforPMWSavedData - Since:
- 0.14.15.3
-
save
public net.minecraft.nbt.CompoundTag save(net.minecraft.nbt.CompoundTag compoundTag, net.minecraft.core.HolderLookup.Provider provider) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
savein classnet.minecraft.world.level.saveddata.SavedData
-
setRadarStorage
Deprecated, for removal: This API element is subject to removal in a future version.Sets the radar storage associated with this level- Parameters:
radarStorage- The associated level'sRadarStorage- Since:
- 0.14.15.3
-
getTag
public net.minecraft.nbt.CompoundTag getTag()Deprecated, for removal: This API element is subject to removal in a future version.Gets the data loaded from the level- Since:
- 0.14.15.3
-
isDirty
public boolean isDirty()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isDirtyin classnet.minecraft.world.level.saveddata.SavedData
-