public class EntityArrow extends Entity
| Modifier and Type | Field and Description |
|---|---|
int |
arrowShake |
boolean |
doesArrowBelongToPlayer |
EntityLiving |
owner |
addedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityArrow(World world) |
EntityArrow(World world,
double d,
double d1,
double d2) |
EntityArrow(World world,
EntityLiving entityliving) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
entityInit() |
float |
getShadowSize() |
void |
onCollideWithPlayer(EntityPlayer entityplayer) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
setArrowHeading(double d,
double d1,
double d2,
float f,
float f1) |
void |
setVelocity(double d,
double d1,
double d2) |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, fall, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getEntityTexture, getEyeHeight, getLookVec, getMountedYOffset, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEntityAlive, isEntityInsideOpaqueBlock, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setWorld, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeToNBTpublic boolean doesArrowBelongToPlayer
public int arrowShake
public EntityLiving owner
public EntityArrow(World world)
public EntityArrow(World world, double d, double d1, double d2)
public EntityArrow(World world, EntityLiving entityliving)
protected void entityInit()
entityInit in class Entitypublic void setArrowHeading(double d,
double d1,
double d2,
float f,
float f1)
public void setVelocity(double d,
double d1,
double d2)
setVelocity in class Entitypublic void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class Entitypublic void onCollideWithPlayer(EntityPlayer entityplayer)
onCollideWithPlayer in class Entitypublic float getShadowSize()
getShadowSize in class Entity