Class RewardWorldStorage
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
com.hrznstudio.titanium.reward.storage.RewardWorldStorage
public class RewardWorldStorage
extends net.minecraft.world.level.saveddata.SavedData
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddFree(net.minecraft.resources.ResourceLocation resourceLocation) static RewardWorldStorageget(net.minecraft.server.level.ServerLevel world) List<net.minecraft.resources.ResourceLocation>load(net.minecraft.nbt.CompoundTag nbt) voidnet.minecraft.nbt.CompoundTagsave(net.minecraft.nbt.CompoundTag compound) net.minecraft.nbt.CompoundTagMethods inherited from class net.minecraft.world.level.saveddata.SavedData
isDirty, save, setDirty, setDirty
-
Field Details
-
NAME
-
-
Method Details
-
get
-
remove
-
add
-
addFree
public void addFree(net.minecraft.resources.ResourceLocation resourceLocation) -
getFreeRewards
-
getConfiguredPlayers
-
load
-
save
public net.minecraft.nbt.CompoundTag save(net.minecraft.nbt.CompoundTag compound) - Specified by:
savein classnet.minecraft.world.level.saveddata.SavedData
-
serializeSimple
public net.minecraft.nbt.CompoundTag serializeSimple()
-