Class PokemonRarity
java.lang.Object
com.pixelmonmod.pixelmon.blocks.machines.PokemonRarity
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addToNbt
(net.minecraft.nbt.CompoundTag nbt, List<PokemonRarity> rarities) static List<PokemonRarity>
fromNbt
(net.minecraft.nbt.CompoundTag nbt) net.minecraft.resources.ResourceLocation
static PokemonRarity
readFromBuffer
(net.minecraft.network.FriendlyByteBuf buffer) void
writeToBuffer
(net.minecraft.network.FriendlyByteBuf buffer) void
writeToList
(net.minecraft.nbt.ListTag list)
-
Field Details
-
pokemon
-
rarity
public int rarity
-
-
Constructor Details
-
PokemonRarity
-
-
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
-
addToNbt
-
readFromBuffer
-