public class WorldGymData
extends net.minecraft.world.storage.MapData
Constructor and Description |
---|
WorldGymData() |
WorldGymData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addGym(java.lang.String name,
net.minecraft.item.ItemStack badge,
int level) |
int |
getGymCount() |
int |
getGymLevel()
Gets the pokemonLevel of the next Gym to spawn.
|
java.util.ArrayList<WorldGymInfo> |
getGymList() |
void |
load(net.minecraft.nbt.CompoundNBT nbt) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT compound) |
addTargetDecoration, checkBanners, getHoldingPlayer, getUpdatePacket, lockData, removedFromFrame, setDirty, setOrigin, setProperties, tickCarriedBy, toggleBanner
public WorldGymData()
public WorldGymData(java.lang.String name)
public void addGym(java.lang.String name, net.minecraft.item.ItemStack badge, int level)
public int getGymCount()
public void load(net.minecraft.nbt.CompoundNBT nbt)
load
in class net.minecraft.world.storage.MapData
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT compound)
save
in class net.minecraft.world.storage.MapData
public java.util.ArrayList<WorldGymInfo> getGymList()
public int getGymLevel()