Class WindStorage

java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.frozenblock.lib.wind.impl.WindStorage

public class WindStorage extends net.minecraft.world.level.saveddata.SavedData
  • 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>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WindStorage(WindManager windManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull WindStorage
    load(@NotNull net.minecraft.nbt.CompoundTag compoundTag, WindManager manager)
     
    @NotNull net.minecraft.nbt.CompoundTag
    save(@NotNull net.minecraft.nbt.CompoundTag compoundTag, net.minecraft.core.HolderLookup.Provider provider)
     

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

    isDirty, save, setDirty, setDirty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WindStorage

      public WindStorage(WindManager windManager)
  • Method Details

    • save

      @NotNull public @NotNull net.minecraft.nbt.CompoundTag save(@NotNull @NotNull net.minecraft.nbt.CompoundTag compoundTag, net.minecraft.core.HolderLookup.Provider provider)
      Specified by:
      save in class net.minecraft.world.level.saveddata.SavedData
    • load

      @NotNull public static @NotNull WindStorage load(@NotNull @NotNull net.minecraft.nbt.CompoundTag compoundTag, WindManager manager)