net.minecraft.entity.item
Class EntityEnderCrystal

java.lang.Object
  extended by net.minecraft.entity.Entity
      extended by net.minecraft.entity.item.EntityEnderCrystal

public class EntityEnderCrystal
extends Entity


Field Summary
 int health
           
 int innerRotation
          Used to create the rotation animation when rendering the crystal.
 
Fields inherited from class net.minecraft.entity.Entity
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dimension, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_82151_R, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
 
Constructor Summary
EntityEnderCrystal(World par1World)
           
EntityEnderCrystal(World par1World, double par2, double par4, double par6)
           
 
Method Summary
 boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
          Called when the entity is attacked.
 boolean canBeCollidedWith()
          Returns true if other Entities should be prevented from moving through this Entity.
 float getShadowSize()
           
 void onUpdate()
          Called to update the entity's position/logic.
 
Methods inherited from class net.minecraft.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canBePushed, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_82143_as, func_82146_a, func_82148_at, func_82149_j, func_85029_a, func_85031_j, generatePersistentID, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityName, getEyeHeight, getHasActivePotion, getLastActiveItems, getLookVec, getMaxInPortalTime, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getTexture, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, readFromNBT, setAir, setAngles, setCurrentItemOrArmor, setDead, setEating, setFire, setHasActivePotion, setHeadRotationYaw, setInPortal, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotationYawHead, setSneaking, setSprinting, setVelocity, setWorld, shouldRiderSit, toString, travelToDimension, unmountEntity, updateCloak, updateRidden, updateRiderPosition, writeToNBT
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

innerRotation

public int innerRotation
Used to create the rotation animation when rendering the crystal.


health

public int health
Constructor Detail

EntityEnderCrystal

public EntityEnderCrystal(World par1World)

EntityEnderCrystal

public EntityEnderCrystal(World par1World,
                          double par2,
                          double par4,
                          double par6)
Method Detail

onUpdate

public void onUpdate()
Called to update the entity's position/logic.

Overrides:
onUpdate in class Entity

getShadowSize

public float getShadowSize()
Overrides:
getShadowSize in class Entity

canBeCollidedWith

public boolean canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity.

Overrides:
canBeCollidedWith in class Entity

attackEntityFrom

public boolean attackEntityFrom(DamageSource par1DamageSource,
                                int par2)
Called when the entity is attacked.

Overrides:
attackEntityFrom in class Entity