Class PokemonRarity

java.lang.Object
com.pixelmonmod.pixelmon.blocks.machines.PokemonRarity

public class PokemonRarity extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • writeToBuffer

      public void writeToBuffer(net.minecraft.network.FriendlyByteBuf buffer)
    • writeToList

      public void writeToList(net.minecraft.nbt.ListTag list)
    • getSprite

      public net.minecraft.resources.ResourceLocation getSprite()
    • fromNbt

      public static List<PokemonRarity> fromNbt(net.minecraft.nbt.CompoundTag nbt)
    • addToNbt

      public static void addToNbt(net.minecraft.nbt.CompoundTag nbt, List<PokemonRarity> rarities)
    • readFromBuffer

      public static PokemonRarity readFromBuffer(net.minecraft.network.FriendlyByteBuf buffer)