public class PixelmonStatsData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
Attack |
int |
Defense |
int |
HP |
int |
SpecialAttack |
int |
SpecialDefense |
int |
Speed |
Constructor and Description |
---|
PixelmonStatsData() |
PixelmonStatsData(net.minecraft.nbt.CompoundNBT nbt) |
PixelmonStatsData(PermanentStats permanentStats) |
Modifier and Type | Method and Description |
---|---|
static PixelmonStatsData |
createPacket(PokemonLink pixelmon)
Creates a stats container with a Pokémon.
|
void |
readPacketData(io.netty.buffer.ByteBuf data) |
void |
writePacketData(io.netty.buffer.ByteBuf buffer) |
public int HP
public int Speed
public int Attack
public int Defense
public int SpecialAttack
public int SpecialDefense
public PixelmonStatsData()
public PixelmonStatsData(net.minecraft.nbt.CompoundNBT nbt)
public PixelmonStatsData(PermanentStats permanentStats)
public static PixelmonStatsData createPacket(PokemonLink pixelmon)
pixelmon
- The Pokémon to create a stats container for.public void writePacketData(io.netty.buffer.ByteBuf buffer)
public void readPacketData(io.netty.buffer.ByteBuf data)