public class EntityArrow extends Entity implements IProjectile
| Modifier and Type | Field and Description |
|---|---|
int |
arrowShake |
int |
canBePickedUp |
Entity |
shootingEntity |
addedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, 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| Constructor and Description |
|---|
EntityArrow(World worldIn) |
EntityArrow(World worldIn,
double x,
double y,
double z) |
EntityArrow(World worldIn,
EntityLivingBase shooter,
EntityLivingBase p_i1755_3_,
float p_i1755_4_,
float p_i1755_5_) |
EntityArrow(World worldIn,
EntityLivingBase shooter,
float p_i1756_3_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAttackWithItem() |
protected boolean |
canTriggerWalking() |
protected void |
entityInit() |
void |
func_180426_a(double p_180426_1_,
double p_180426_3_,
double p_180426_5_,
float p_180426_7_,
float p_180426_8_,
int p_180426_9_,
boolean p_180426_10_) |
double |
getDamage() |
boolean |
getIsCritical() |
void |
onCollideWithPlayer(EntityPlayer entityIn) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
setDamage(double p_70239_1_) |
void |
setIsCritical(boolean p_70243_1_) |
void |
setKnockbackStrength(int p_70240_1_) |
void |
setThrowableHeading(double x,
double y,
double z,
float velocity,
float inaccuracy) |
void |
setVelocity(double x,
double y,
double z) |
void |
writeEntityToNBT(NBTTagCompound tagCompound) |
addChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174827_a, func_174834_g, func_180427_aV, func_180433_a, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getEyeHeight, getFlag, getHorizontalFacing, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getName, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleHealthUpdate, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, replaceItemInInventory, resetEntityId, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCommandStat, setCurrentItemOrArmor, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic int canBePickedUp
public int arrowShake
public Entity shootingEntity
public EntityArrow(World worldIn)
public EntityArrow(World worldIn, double x, double y, double z)
public EntityArrow(World worldIn, EntityLivingBase shooter, EntityLivingBase p_i1755_3_, float p_i1755_4_, float p_i1755_5_)
public EntityArrow(World worldIn, EntityLivingBase shooter, float p_i1756_3_)
protected void entityInit()
entityInit in class Entitypublic void setThrowableHeading(double x,
double y,
double z,
float velocity,
float inaccuracy)
setThrowableHeading in interface IProjectilepublic void func_180426_a(double p_180426_1_,
double p_180426_3_,
double p_180426_5_,
float p_180426_7_,
float p_180426_8_,
int p_180426_9_,
boolean p_180426_10_)
func_180426_a in class Entitypublic void setVelocity(double x,
double y,
double z)
setVelocity in class Entitypublic void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class Entitypublic void onCollideWithPlayer(EntityPlayer entityIn)
onCollideWithPlayer in class Entityprotected boolean canTriggerWalking()
canTriggerWalking in class Entitypublic void setDamage(double p_70239_1_)
public double getDamage()
public void setKnockbackStrength(int p_70240_1_)
public boolean canAttackWithItem()
canAttackWithItem in class Entitypublic void setIsCritical(boolean p_70243_1_)
public boolean getIsCritical()