public class EntityXPOrb extends Entity
Entity.EnumEntitySize| Modifier and Type | Field and Description |
|---|---|
int |
field_70532_c |
int |
xpColor |
int |
xpOrbAge |
int |
xpValue |
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityXPOrb(World par1World) |
EntityXPOrb(World par1World,
double par2,
double par4,
double par6,
int par8) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
float par2) |
boolean |
canAttackWithItem() |
protected boolean |
canTriggerWalking() |
protected void |
dealFireDamage(int par1) |
protected void |
entityInit() |
int |
getBrightnessForRender(float par1) |
int |
getTextureByXP() |
static int |
getXPSplit(int par0) |
int |
getXpValue() |
boolean |
handleWaterMovement() |
void |
onCollideWithPlayer(EntityPlayer par1EntityPlayer) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic int xpColor
public int xpOrbAge
public int field_70532_c
public int xpValue
public EntityXPOrb(World par1World, double par2, double par4, double par6, int par8)
public EntityXPOrb(World par1World)
protected boolean canTriggerWalking()
canTriggerWalking in class Entityprotected void entityInit()
entityInit in class Entitypublic int getBrightnessForRender(float par1)
getBrightnessForRender in class Entitypublic boolean handleWaterMovement()
handleWaterMovement in class Entityprotected void dealFireDamage(int par1)
dealFireDamage in class Entitypublic boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
attackEntityFrom in class Entitypublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class Entitypublic void onCollideWithPlayer(EntityPlayer par1EntityPlayer)
onCollideWithPlayer in class Entitypublic int getXpValue()
public int getTextureByXP()
public static int getXPSplit(int par0)
public boolean canAttackWithItem()
canAttackWithItem in class Entity