Class SpellGlyphData

java.lang.Object
net.minecraft.world.level.saveddata.SavedData
com.binaris.wizardry.content.data.SpellGlyphData

public class SpellGlyphData extends net.minecraft.world.level.saveddata.SavedData
  • Field Details

  • Constructor Details

    • SpellGlyphData

      public SpellGlyphData()
  • Method Details

    • get

      public static SpellGlyphData get(net.minecraft.server.level.ServerLevel world)
    • getGlyphNameFormatted

      public static net.minecraft.network.chat.Component getGlyphNameFormatted(Spell spell, SpellGlyphData data)
    • getGlyphName

      public static String getGlyphName(Spell spell, SpellGlyphData data)
    • getGlyphDescription

      public static String getGlyphDescription(Spell spell, SpellGlyphData data)
    • getGlyphName

      public static String getGlyphName(Spell spell, net.minecraft.server.level.ServerLevel world)
    • getGlyphDescription

      public static String getGlyphDescription(Spell spell, net.minecraft.server.level.ServerLevel world)
    • load

      public static SpellGlyphData load(net.minecraft.nbt.CompoundTag nbt)
    • onServerLevelLoad

      public static void onServerLevelLoad(EBServerLevelLoadEvent event)
    • generateGlyphNames

      public void generateGlyphNames(net.minecraft.world.level.Level world)
    • sync

      public void sync(net.minecraft.server.level.ServerPlayer player)
    • save

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