Class SkyblockSavedData

java.lang.Object
net.minecraft.world.level.saveddata.SavedData
vazkii.botania.common.world.SkyblockSavedData

public class SkyblockSavedData 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 net.minecraft.world.level.saveddata.SavedData.Factory<SkyblockSavedData>
     
    final com.google.common.collect.BiMap<IslandPos,UUID>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SkyblockSavedData(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(UUID playerId)
     
    get(net.minecraft.server.level.ServerLevel world)
     
     
    @NotNull net.minecraft.nbt.CompoundTag
    save(@NotNull net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries)
     

    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

    • FACTORY

      public static final net.minecraft.world.level.saveddata.SavedData.Factory<SkyblockSavedData> FACTORY
    • skyblocks

      public final com.google.common.collect.BiMap<IslandPos,UUID> skyblocks
  • Constructor Details

    • SkyblockSavedData

      public SkyblockSavedData()
    • SkyblockSavedData

      public SkyblockSavedData(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries)
  • Method Details

    • get

      public static SkyblockSavedData get(net.minecraft.server.level.ServerLevel world)
    • getSpawn

      public IslandPos getSpawn()
    • create

      public IslandPos create(UUID playerId)
    • save

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