public class EntityArrow extends Entity implements IProjectile
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
int |
arrowShake |
int |
canBePickedUp |
Entity |
shootingEntity |
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 |
---|
EntityArrow(World par1World) |
EntityArrow(World par1World,
double par2,
double par4,
double par6) |
EntityArrow(World par1World,
EntityLivingBase par2EntityLivingBase,
EntityLivingBase par3EntityLivingBase,
float par4,
float par5) |
EntityArrow(World par1World,
EntityLivingBase par2EntityLivingBase,
float par3) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAttackWithItem() |
protected boolean |
canTriggerWalking() |
protected void |
entityInit() |
double |
getDamage() |
boolean |
getIsCritical() |
float |
getShadowSize() |
void |
onCollideWithPlayer(EntityPlayer par1EntityPlayer) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setDamage(double par1) |
void |
setIsCritical(boolean par1) |
void |
setKnockbackStrength(int par1) |
void |
setPositionAndRotation2(double par1,
double par3,
double par5,
float par7,
float par8,
int par9) |
void |
setThrowableHeading(double par1,
double par3,
double par5,
float par7,
float par8) |
void |
setVelocity(double par1,
double par3,
double par5) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, 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, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, 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, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public int canBePickedUp
public int arrowShake
public Entity shootingEntity
public EntityArrow(World par1World)
public EntityArrow(World par1World, double par2, double par4, double par6)
public EntityArrow(World par1World, EntityLivingBase par2EntityLivingBase, EntityLivingBase par3EntityLivingBase, float par4, float par5)
public EntityArrow(World par1World, EntityLivingBase par2EntityLivingBase, float par3)
protected void entityInit()
entityInit
in class Entity
public void setThrowableHeading(double par1, double par3, double par5, float par7, float par8)
setThrowableHeading
in interface IProjectile
public void setPositionAndRotation2(double par1, double par3, double par5, float par7, float par8, int par9)
setPositionAndRotation2
in class Entity
public void setVelocity(double par1, double par3, double par5)
setVelocity
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class Entity
public void onCollideWithPlayer(EntityPlayer par1EntityPlayer)
onCollideWithPlayer
in class Entity
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public void setDamage(double par1)
public double getDamage()
public void setKnockbackStrength(int par1)
public boolean canAttackWithItem()
canAttackWithItem
in class Entity
public void setIsCritical(boolean par1)
public boolean getIsCritical()