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 Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateGlyphNames(net.minecraft.world.level.Level world) static SpellGlyphDataget(net.minecraft.server.level.ServerLevel world) static StringgetGlyphDescription(Spell spell, SpellGlyphData data) static StringgetGlyphDescription(Spell spell, net.minecraft.server.level.ServerLevel world) static StringgetGlyphName(Spell spell, SpellGlyphData data) static StringgetGlyphName(Spell spell, net.minecraft.server.level.ServerLevel world) static net.minecraft.network.chat.ComponentgetGlyphNameFormatted(Spell spell, SpellGlyphData data) static SpellGlyphDataload(net.minecraft.nbt.CompoundTag nbt) static void@NotNull net.minecraft.nbt.CompoundTagsave(@NotNull net.minecraft.nbt.CompoundTag nbt) voidsync(net.minecraft.server.level.ServerPlayer player) Methods inherited from class net.minecraft.world.level.saveddata.SavedData
isDirty, save, setDirty, setDirty
-
Field Details
-
randomNames
-
randomDescriptions
-
-
Constructor Details
-
SpellGlyphData
public SpellGlyphData()
-
-
Method Details
-
get
-
getGlyphNameFormatted
public static net.minecraft.network.chat.Component getGlyphNameFormatted(Spell spell, SpellGlyphData data) -
getGlyphName
-
getGlyphDescription
-
getGlyphName
-
getGlyphDescription
-
load
-
onServerLevelLoad
-
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:
savein classnet.minecraft.world.level.saveddata.SavedData
-