Class BossTierRegistry

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.boss.BossTierRegistry

public class BossTierRegistry extends Object
  • Field Details

    • GSON

      public static final com.google.gson.Gson GSON
    • NOT_BOSS

      public static BossTier NOT_BOSS
  • Constructor Details

    • BossTierRegistry

      public BossTierRegistry()
  • Method Details

    • registerBossTier

      public static void registerBossTier(BossTier bossTier)
    • addNotBossIfNotPresent

      public static void addNotBossIfNotPresent()
    • getBossTier

      public static Optional<BossTier> getBossTier(String id)
    • getBossTierUnsafe

      public static BossTier getBossTierUnsafe(String id)
    • getBossTierOrNotBoss

      public static BossTier getBossTierOrNotBoss(String id)
    • getBossTiers

      public static List<BossTier> getBossTiers()
    • getRandomBossTier

      public static BossTier getRandomBossTier()
    • getRandomSpawnableBossTier

      public static BossTier getRandomSpawnableBossTier()
    • getRandomSpawnableMegaBossTier

      public static BossTier getRandomSpawnableMegaBossTier()
    • reset

      public static void reset()
    • readFromJson

      public static void readFromJson(com.google.gson.Gson gson, com.google.gson.JsonElement json)
    • writeToBuffer

      public static void writeToBuffer(net.minecraft.network.FriendlyByteBuf buf)
    • readFromBuffer

      public static void readFromBuffer(net.minecraft.network.FriendlyByteBuf buf)