Package net.minecraft.world.entity
Class ExperienceOrb
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.ExperienceOrb
-
public class ExperienceOrb extends Entity
-
-
Field Summary
Fields Modifier and Type Field Description int
field_35126_c
int
xpColor
int
xpOrbAge
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Constructor Summary
Constructors Constructor Description ExperienceOrb(World var1)
ExperienceOrb(World var1, double var2, double var4, double var6, int var8)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attackEntityFrom(DamageSource var1, int var2)
boolean
canAttackWithItem()
protected boolean
canTriggerWalking()
protected void
dealFireDamage(int var1)
protected void
entityInit()
@net.minecraft.modding.api.Side.Client int
getBrightnessForRender(float var1)
@net.minecraft.modding.api.Side.Client int
getTextureByXP()
static int
getXPSplit(int var0)
int
getXpValue()
boolean
handleWaterMovement()
void
onCollideWithPlayer(Player var1)
void
onUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canBeCollidedWith, canBePushed, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBoundingBox, getBrightness, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getMountedYOffset, getParts, getShadowSize, getTexture, getUsername, getYOffset, handleHealthUpdate, handleLavaMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRidden, updateRiderPosition, writeToNBT
-
-
-
-
Method Detail
-
canTriggerWalking
protected boolean canTriggerWalking()
- Overrides:
canTriggerWalking
in classEntity
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
getBrightnessForRender
@Client public @net.minecraft.modding.api.Side.Client int getBrightnessForRender(float var1)
- Overrides:
getBrightnessForRender
in classEntity
-
handleWaterMovement
public boolean handleWaterMovement()
- Overrides:
handleWaterMovement
in classEntity
-
dealFireDamage
protected void dealFireDamage(int var1)
- Overrides:
dealFireDamage
in classEntity
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classEntity
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Specified by:
writeEntityToNBT
in classEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Specified by:
readEntityFromNBT
in classEntity
-
onCollideWithPlayer
public void onCollideWithPlayer(Player var1)
- Overrides:
onCollideWithPlayer
in classEntity
-
getXpValue
public int getXpValue()
-
getTextureByXP
@Client public @net.minecraft.modding.api.Side.Client int getTextureByXP()
-
getXPSplit
public static int getXPSplit(int var0)
-
canAttackWithItem
public boolean canAttackWithItem()
- Overrides:
canAttackWithItem
in classEntity
-
-