Package net.minecraft.entity.projectile
Class ArrowEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ArrowEntity
- All Implemented Interfaces:
CommandSource,Projectile
public class ArrowEntity extends Entity implements Projectile
- Mappings:
Namespace Name official wqintermediary net/minecraft/class_1967named net/minecraft/entity/projectile/ArrowEntity
-
Field Summary
Fields Modifier and Type Field Description private Blockblockprivate intblockDataprivate intblockXprivate intblockYprivate intblockZprivate doubledamageprivate intfield_8388private intfield_8390Entityfield_8392private booleaninGroundprivate intlifeTicksintpickupintshakeFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description ArrowEntity(World world)ArrowEntity(World world, double double2, double double3, double double4)ArrowEntity(World world, LivingEntity livingEntity, float float2)ArrowEntity(World world, LivingEntity livingEntity, LivingEntity livingEntity2, float float2, float float3) -
Method Summary
Modifier and Type Method Description protected booleancanClimb()voiddeserialize(CompoundTag tag)floatgetEyeHeight()protected voidinitDataTracker()booleanisAttackable()voidmethod_8059(int int2)voidmethod_8060(boolean bool)voidmethod_8061(double double2)doublemethod_8062()booleanmethod_8063()voidonPlayerCollision(PlayerEntity player)voidserialize(CompoundTag tag)voidsetVelocity(double x, double y, double z, float speed, float divergence)voidsetVelocityClient(double x, double y, double z)voidtick()voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)Methods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canFly, canUseCommand, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official dLwq;d:Iintermediary field_8393Lnet/minecraft/class_1967;field_8393:Inamed blockXLnet/minecraft/entity/projectile/ArrowEntity;blockX:I
-
blockY
private int blockY- Mappings:
Namespace Name Mixin selector official eLwq;e:Iintermediary field_8394Lnet/minecraft/class_1967;field_8394:Inamed blockYLnet/minecraft/entity/projectile/ArrowEntity;blockY:I
-
blockZ
private int blockZ- Mappings:
Namespace Name Mixin selector official fLwq;f:Iintermediary field_8395Lnet/minecraft/class_1967;field_8395:Inamed blockZLnet/minecraft/entity/projectile/ArrowEntity;blockZ:I
-
block
- Mappings:
Namespace Name Mixin selector official gLwq;g:Lafh;intermediary field_8396Lnet/minecraft/class_1967;field_8396:Lnet/minecraft/class_160;named blockLnet/minecraft/entity/projectile/ArrowEntity;block:Lnet/minecraft/block/Block;
-
blockData
private int blockData- Mappings:
Namespace Name Mixin selector official hLwq;h:Iintermediary field_8397Lnet/minecraft/class_1967;field_8397:Inamed blockDataLnet/minecraft/entity/projectile/ArrowEntity;blockData:I
-
inGround
private boolean inGround- Mappings:
Namespace Name Mixin selector official iLwq;i:Zintermediary field_8398Lnet/minecraft/class_1967;field_8398:Znamed inGroundLnet/minecraft/entity/projectile/ArrowEntity;inGround:Z
-
pickup
public int pickup- Mappings:
Namespace Name Mixin selector official aLwq;a:Iintermediary field_8386Lnet/minecraft/class_1967;field_8386:Inamed pickupLnet/minecraft/entity/projectile/ArrowEntity;pickup:I
-
shake
public int shake- Mappings:
Namespace Name Mixin selector official bLwq;b:Iintermediary field_8391Lnet/minecraft/class_1967;field_8391:Inamed shakeLnet/minecraft/entity/projectile/ArrowEntity;shake:I
-
field_8392
- Mappings:
Namespace Name Mixin selector official cLwq;c:Lpk;intermediary field_8392Lnet/minecraft/class_1967;field_8392:Lnet/minecraft/class_1745;named field_8392Lnet/minecraft/entity/projectile/ArrowEntity;field_8392:Lnet/minecraft/entity/Entity;
-
lifeTicks
private int lifeTicks- Mappings:
Namespace Name Mixin selector official arLwq;ar:Iintermediary field_8387Lnet/minecraft/class_1967;field_8387:Inamed lifeTicksLnet/minecraft/entity/projectile/ArrowEntity;lifeTicks:I
-
field_8388
private int field_8388- Mappings:
Namespace Name Mixin selector official asLwq;as:Iintermediary field_8388Lnet/minecraft/class_1967;field_8388:Inamed field_8388Lnet/minecraft/entity/projectile/ArrowEntity;field_8388:I
-
damage
private double damage- Mappings:
Namespace Name Mixin selector official atLwq;at:Dintermediary field_8389Lnet/minecraft/class_1967;field_8389:Dnamed damageLnet/minecraft/entity/projectile/ArrowEntity;damage:D
-
field_8390
private int field_8390- Mappings:
Namespace Name Mixin selector official auLwq;au:Iintermediary field_8390Lnet/minecraft/class_1967;field_8390:Inamed field_8390Lnet/minecraft/entity/projectile/ArrowEntity;field_8390:I
-
-
Constructor Details
-
ArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ArrowEntity
-
ArrowEntity
public ArrowEntity(World world, LivingEntity livingEntity, LivingEntity livingEntity2, float float2, float float3) -
ArrowEntity
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setVelocity
public void setVelocity(double x, double y, double z, float speed, float divergence)- Specified by:
setVelocityin interfaceProjectile- Mappings:
Namespace Name Mixin selector official cLwv;c(DDDFF)Vintermediary method_8067Lnet/minecraft/class_1972;method_8067(DDDFF)Vnamed setVelocityLnet/minecraft/entity/projectile/Projectile;setVelocity(DDDFF)V
-
updateTrackedPositionAndAngles
@Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)- Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(DDDFFIZ)Vintermediary method_6920Lnet/minecraft/class_1745;method_6920(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(DDD)Vintermediary method_7048Lnet/minecraft/class_1745;method_7048(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
serialize
-
deserialize
- Specified by:
deserializein classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
onPlayerCollision
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official dLpk;d(Lwn;)Vintermediary method_7021Lnet/minecraft/class_1745;method_7021(Lnet/minecraft/class_1963;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canClimb
protected boolean canClimb() -
method_8061
public void method_8061(double double2)- Mappings:
Namespace Name Mixin selector official bLwq;b(D)Vintermediary method_8061Lnet/minecraft/class_1967;method_8061(D)Vnamed method_8061Lnet/minecraft/entity/projectile/ArrowEntity;method_8061(D)V
-
method_8062
public double method_8062()- Mappings:
Namespace Name Mixin selector official jLwq;j()Dintermediary method_8062Lnet/minecraft/class_1967;method_8062()Dnamed method_8062Lnet/minecraft/entity/projectile/ArrowEntity;method_8062()D
-
method_8059
public void method_8059(int int2)- Mappings:
Namespace Name Mixin selector official aLwq;a(I)Vintermediary method_8059Lnet/minecraft/class_1967;method_8059(I)Vnamed method_8059Lnet/minecraft/entity/projectile/ArrowEntity;method_8059(I)V
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official aDLpk;aD()Zintermediary method_6951Lnet/minecraft/class_1745;method_6951()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aSLpk;aS()Fintermediary method_6965Lnet/minecraft/class_1745;method_6965()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
method_8060
public void method_8060(boolean bool)- Mappings:
Namespace Name Mixin selector official aLwq;a(Z)Vintermediary method_8060Lnet/minecraft/class_1967;method_8060(Z)Vnamed method_8060Lnet/minecraft/entity/projectile/ArrowEntity;method_8060(Z)V
-
method_8063
public boolean method_8063()- Mappings:
Namespace Name Mixin selector official lLwq;l()Zintermediary method_8063Lnet/minecraft/class_1967;method_8063()Znamed method_8063Lnet/minecraft/entity/projectile/ArrowEntity;method_8063()Z
-