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

    Constructors
    Constructor
    Description
    Deprecated, 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 Type
    Method
    Description
    static net.minecraft.world.level.saveddata.SavedData.Factory<PMWSavedData>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the factory for loading the saved data
    net.minecraft.nbt.CompoundTag
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the data loaded from the level
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets the radar storage associated with this level

    Methods inherited from class net.minecraft.world.level.saveddata.SavedData

    save, setDirty, setDirty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static 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 data
      Returns:
      A SavedData.Factory for PMWSavedData
      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:
      save in class net.minecraft.world.level.saveddata.SavedData
    • setRadarStorage

      public void setRadarStorage(RadarStorage radarStorage)
      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's RadarStorage
      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:
      isDirty in class net.minecraft.world.level.saveddata.SavedData