public abstract class EntityArrow extends Entity implements IProjectile
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityArrow.PickupStatus |
| Modifier and Type | Field and Description |
|---|---|
int |
arrowShake |
protected static DataParameter<java.util.Optional<java.util.UUID>> |
field_212362_a |
protected boolean |
inGround |
EntityArrow.PickupStatus |
pickupStatus |
java.util.UUID |
shootingEntity |
protected int |
timeInGround |
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, world| Modifier | Constructor and Description |
|---|---|
protected |
EntityArrow(EntityType<?> p_i48547_1_,
double p_i48547_2_,
double p_i48547_4_,
double p_i48547_6_,
World p_i48547_8_) |
protected |
EntityArrow(EntityType<?> p_i48548_1_,
EntityLivingBase p_i48548_2_,
World p_i48548_3_) |
protected |
EntityArrow(EntityType<?> type,
World p_i48546_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
arrowHit(EntityLivingBase living) |
boolean |
canBeAttackedWithItem() |
protected boolean |
canTriggerWalking() |
protected Entity |
findEntityOnPath(Vec3d start,
Vec3d end) |
void |
func_203045_n(boolean p_203045_1_) |
boolean |
func_203047_q() |
Entity |
func_212360_k() |
void |
func_212361_a(Entity p_212361_1_) |
protected abstract ItemStack |
getArrowStack() |
double |
getDamage() |
float |
getEyeHeight() |
protected SoundEvent |
getHitGroundSound() |
boolean |
getIsCritical() |
protected float |
getWaterDrag() |
boolean |
isInRangeToRenderDist(double distance) |
void |
move(MoverType type,
double x,
double y,
double z) |
void |
onCollideWithPlayer(EntityPlayer entityIn) |
protected void |
onHit(RayTraceResult raytraceResultIn) |
protected void |
onHitEntity(RayTraceResult p_203046_1_) |
void |
readAdditional(NBTTagCompound compound) |
protected void |
registerData() |
void |
setDamage(double damageIn) |
void |
setEnchantmentEffectsFromEntity(EntityLivingBase p_190547_1_,
float p_190547_2_) |
void |
setIsCritical(boolean critical) |
void |
setKnockbackStrength(int knockbackStrengthIn) |
void |
setPositionAndRotationDirect(double x,
double y,
double z,
float yaw,
float pitch,
int posRotationIncrements,
boolean teleport) |
void |
setVelocity(double x,
double y,
double z) |
void |
shoot(double x,
double y,
double z,
float velocity,
float inaccuracy) |
void |
shoot(Entity shooter,
float pitch,
float yaw,
float p_184547_4_,
float velocity,
float inaccuracy) |
void |
tick() |
protected void |
tryDespawn() |
void |
writeAdditional(NBTTagCompound compound) |
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, attackEntityFrom, awardKillScore, baseTick, canBeCollidedWith, canBePushed, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fall, fillCrashReport, func_212321_a, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPermissionLevel, getPitch, getPitchYaw, getPortalCooldown, getPosition, getPositionVector, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getServer, getSoundCategory, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getYaw, getYOffset, handleFluidAcceleration, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCustomNameVisible, isEntityEqual, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isPassenger, isPassenger, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isSwimming, isWet, lookAt, makeFlySound, markVelocityChanged, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, onStruckByLightning, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, rayTrace, read, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDropItemsWhenDead, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInvisible, setInvulnerable, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, toString, updateFallState, updatePassenger, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBeRiddenInWater, canRiderInteract, deserializeNBT, getEntity, getPickedResult, isCreatureType, serializeNBT, shouldRenderInPass, shouldRiderSitgetCapability, getCapabilityprotected static final DataParameter<java.util.Optional<java.util.UUID>> field_212362_a
protected boolean inGround
protected int timeInGround
public EntityArrow.PickupStatus pickupStatus
public int arrowShake
public java.util.UUID shootingEntity
protected EntityArrow(EntityType<?> type, World p_i48546_2_)
protected EntityArrow(EntityType<?> p_i48547_1_, double p_i48547_2_, double p_i48547_4_, double p_i48547_6_, World p_i48547_8_)
protected EntityArrow(EntityType<?> p_i48548_1_, EntityLivingBase p_i48548_2_, World p_i48548_3_)
public boolean isInRangeToRenderDist(double distance)
isInRangeToRenderDist in class Entityprotected void registerData()
registerData in class Entitypublic void shoot(Entity shooter, float pitch, float yaw, float p_184547_4_, float velocity, float inaccuracy)
public void shoot(double x,
double y,
double z,
float velocity,
float inaccuracy)
shoot in interface IProjectilepublic void setPositionAndRotationDirect(double x,
double y,
double z,
float yaw,
float pitch,
int posRotationIncrements,
boolean teleport)
setPositionAndRotationDirect in class Entitypublic void setVelocity(double x,
double y,
double z)
setVelocity in class Entityprotected void tryDespawn()
protected void onHit(RayTraceResult raytraceResultIn)
protected void onHitEntity(RayTraceResult p_203046_1_)
protected SoundEvent getHitGroundSound()
protected void arrowHit(EntityLivingBase living)
public void writeAdditional(NBTTagCompound compound)
writeAdditional in class Entitypublic void readAdditional(NBTTagCompound compound)
readAdditional in class Entitypublic void func_212361_a(@Nullable
Entity p_212361_1_)
@Nullable public Entity func_212360_k()
public void onCollideWithPlayer(EntityPlayer entityIn)
onCollideWithPlayer in class Entityprotected abstract ItemStack getArrowStack()
protected boolean canTriggerWalking()
canTriggerWalking in class Entitypublic void setDamage(double damageIn)
public double getDamage()
public void setKnockbackStrength(int knockbackStrengthIn)
public boolean canBeAttackedWithItem()
canBeAttackedWithItem in class Entitypublic float getEyeHeight()
getEyeHeight in class Entitypublic void setIsCritical(boolean critical)
public boolean getIsCritical()
public void setEnchantmentEffectsFromEntity(EntityLivingBase p_190547_1_, float p_190547_2_)
protected float getWaterDrag()
public void func_203045_n(boolean p_203045_1_)
public boolean func_203047_q()