Class SaveableItemCooldowns

java.lang.Object
net.frozenblock.lib.item.impl.SaveableItemCooldowns

public class SaveableItemCooldowns extends Object
  • Constructor Details

    • SaveableItemCooldowns

      public SaveableItemCooldowns()
  • Method Details

    • makeSaveableCooldownInstanceList

      @NotNull public static @NotNull List<SaveableItemCooldowns.SaveableCooldownInstance> makeSaveableCooldownInstanceList(@NotNull @NotNull net.minecraft.server.level.ServerPlayer player)
    • saveCooldowns

      public static void saveCooldowns(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag, @NotNull @NotNull net.minecraft.server.level.ServerPlayer player)
    • readCooldowns

      @NotNull public static @NotNull List<SaveableItemCooldowns.SaveableCooldownInstance> readCooldowns(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag)
    • setCooldowns

      public static void setCooldowns(@NotNull @NotNull List<SaveableItemCooldowns.SaveableCooldownInstance> saveableCooldownInstances, @NotNull @NotNull net.minecraft.server.level.ServerPlayer player)