public class ScriptPixelmon<T extends net.minecraft.entity.passive.EntityTameable> extends ScriptAnimal<T> implements IPixelmon
| Constructor and Description |
|---|
ScriptPixelmon(T pixelmon) |
ScriptPixelmon(T pixelmon,
net.minecraft.nbt.NBTTagCompound compound) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEV(int type) |
int |
getHapiness() |
boolean |
getIsShiny() |
int |
getIV(int type) |
int |
getLevel() |
java.lang.String |
getMove(int slot) |
int |
getNature() |
java.lang.String |
getNickname() |
int |
getPokeball() |
int |
getSize() |
int |
getStat(int type) |
boolean |
hasNickname() |
void |
setEV(int type,
int value) |
void |
setHapiness(int value) |
void |
setIsShiny(boolean bo) |
void |
setIV(int type,
int value) |
void |
setLevel(int level) |
void |
setMove(int slot,
java.lang.String move) |
void |
setNature(int type) |
void |
setNickname(java.lang.String name) |
void |
setPokeball(int type) |
void |
setSize(int type) |
void |
setStat(int type,
int value) |
getType, typeOfcanSeeEntity, clearNavigation, getAttackTarget, isAttacking, isNavigating, navigateTo, setAttackTargetaddPotionEffect, clearPotionEffects, getArmor, getHealth, getHeldItem, getLookVec, getMaxHealth, getMCEntity, getMinecraftEntity, getPotionEffect, hurt, hurt, hurt, setArmor, setHealth, setHeldItem, swingHandclearStoredData, clearTempData, despawn, dropItem, extinguish, getAge, getAllNbt, getBlockX, getBlockY, getBlockZ, getDimension, getEntityId, getHeight, getMotionX, getMotionY, getMotionZ, getMount, getNbt, getPitch, getPos, getRider, getRotation, getStoredData, getSurroundingEntities, getSurroundingEntities, getTempData, getTypeName, getUniqueID, getWidth, getWorld, getX, getY, getYOffset, getZ, hasCollided, hasStoredData, hasTempData, inFire, inLava, inWater, isAirborne, isAlive, isBurning, isSneaking, isSprinting, knockback, knockback, playSound, removeStoredData, removeTempData, setBurning, setImmune, setInvisible, setMotion, setMotionX, setMotionY, setMotionZ, setMount, setNbt, setPitch, setPos, setPosition, setRider, setRotation, setSneaking, setSprinting, setStoredData, setStoredData, setTempData, setX, setY, setZ, spawnParticle, spawnParticle, spawnParticle, spawnParticle, spawnParticle, spawnParticle, spawnParticle, storeAsCloneequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearNavigation, getMCEntity, isNavigating, navigateToaddPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOfclearStoredData, clearTempData, despawn, dropItem, extinguish, getAge, getAllNbt, getBlockX, getBlockY, getBlockZ, getDimension, getEntityId, getHeight, getMotionX, getMotionY, getMotionZ, getMount, getNbt, getPitch, getPos, getRider, getRotation, getStoredData, getSurroundingEntities, getSurroundingEntities, getTempData, getTypeName, getUniqueID, getWidth, getWorld, getX, getY, getYOffset, getZ, hasCollided, hasStoredData, hasTempData, inFire, inLava, inWater, isAirborne, isAlive, isBurning, isSneaking, isSprinting, knockback, knockback, removeStoredData, removeTempData, setBurning, setImmune, setInvisible, setMotion, setMotionX, setMotionY, setMotionZ, setMount, setNbt, setPitch, setPos, setPosition, setRider, setRotation, setSneaking, setSprinting, setStoredData, setTempData, setX, setY, setZ, spawnParticle, storeAsClonepublic ScriptPixelmon(T pixelmon)
public ScriptPixelmon(T pixelmon, net.minecraft.nbt.NBTTagCompound compound)
public boolean getIsShiny()
getIsShiny in interface IPixelmonpublic void setIsShiny(boolean bo)
setIsShiny in interface IPixelmonpublic int getIV(int type)
public void setIV(int type,
int value)
public int getEV(int type)
public void setEV(int type,
int value)
public int getStat(int type)
public void setStat(int type,
int value)
public int getSize()
public void setSize(int type)
public int getHapiness()
getHapiness in interface IPixelmonpublic void setHapiness(int value)
setHapiness in interface IPixelmonvalue - 0-255public int getNature()
getNature in interface IPixelmonpublic void setNature(int type)
setNature in interface IPixelmontype - 0:Hardy, 1:Serious, 2:Docile, 3:Bashful, 4:Quirky, 5:Lonely, 6:Brave, 7:Adamant, 8:Naughty, 9:Bold, 10:Relaxed, 11:Impish, 12:Lax, 13:Timid, 14:Hasty, 15:Jolly, 16:Naive, 17:Modest, 18:Mild, 19:Quiet, 20:Rash, 21:Calm, 22:Gentle, 23:Sassy, 24:Carefulpublic int getPokeball()
getPokeball in interface IPixelmonpublic void setPokeball(int type)
setPokeball in interface IPixelmontype - -1:Uncaught, 0:Pokeball, 1:GreatBall, 2:UltraBall, 3:MasterBall, 4:LevelBall, 5:MoonBall, 6:FriendBall, 7:LoveBall, 8:SafariBall, 9:HeavyBall, 10:FastBall, 11:RepeatBall, 12:TimerBall, 13:NestBall, 14:NetBall, 15:DiveBall, 16:LuxuryBall, 17:HealBall, 18:DuskBall, 19:PremierBall, 20:SportBall, 21:QuickBall, 22:ParkBall, 23:LureBall, 24:CherishBall, 25:GSBallpublic java.lang.String getNickname()
getNickname in interface IPixelmonpublic boolean hasNickname()
hasNickname in interface IPixelmonpublic void setNickname(java.lang.String name)
setNickname in interface IPixelmon