java.lang.Object
net.minecraft.world.level.saveddata.SavedData
tech.anonymoushacker1279.immersiveweapons.world.level.saveddata.IWSavedData

public class IWSavedData 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>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLantern(net.minecraft.core.BlockPos pos)
     
    Set<net.minecraft.core.BlockPos>
     
    getData(net.minecraft.server.MinecraftServer server)
     
    void
    removeLantern(net.minecraft.core.BlockPos pos)
     
    net.minecraft.nbt.CompoundTag
    save(net.minecraft.nbt.CompoundTag tag, 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
  • Constructor Details

    • IWSavedData

      public IWSavedData()
  • Method Details

    • save

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

      public static IWSavedData getData(net.minecraft.server.MinecraftServer server)
    • getAllLanterns

      public Set<net.minecraft.core.BlockPos> getAllLanterns()
    • addLantern

      public void addLantern(net.minecraft.core.BlockPos pos)
    • removeLantern

      public void removeLantern(net.minecraft.core.BlockPos pos)