Package net.minecraft.entity.projectile
Class AbstractArrowEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.AbstractArrowEntity
- All Implemented Interfaces:
class_3893,Projectile,Nameable
- Direct Known Subclasses:
ArrowEntity,SpetraclArrowEntity,TridentEntity
- Mappings:
Namespace Name official aokintermediary net/minecraft/class_990named net/minecraft/entity/projectile/AbstractArrowEntity
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate doubleprotected static final TrackedData<Optional<UUID>>private BlockStateprivate intprotected booleanprotected intprivate intprivate static final TrackedData<Byte>private intintFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArrowEntity(EntityType<?> entityType, double double2, double double3, double double4, World world) protectedAbstractArrowEntity(EntityType<?> entityType, LivingEntity livingEntity, World world) protectedAbstractArrowEntity(EntityType<?> entityType, World world) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEnchantmentEffects(LivingEntity entity, float damageModifier) protected abstract ItemStackprotected booleancanClimb()doubleprotected EntitygetEntityCollision(Vec3d currentPosition, Vec3d nextPosition) floatprotected voidbooleanbooleanvoidmethod_13278(Entity entity, float float2, float float3, float float4, float float5, float float6) private voidmethod_15945(int int2, boolean bool) voidmethod_15946(Entity entity) protected voidmethod_15947(BlockHitResult blockHitResult) protected voidprotected SoundEventvoidmethod_15951(boolean bool) protected floatbooleanvoidmove(MovementType type, double movementX, double movementY, double movementZ) protected voidonHit(LivingEntity target) protected voidonHit(BlockHitResult result) voidonPlayerCollision(PlayerEntity player) voidvoidsetCritical(boolean critical) voidsetDamage(double damage) voidsetPunch(int punch) voidsetVelocity(double x, double y, double z, float speed, float divergence) voidsetVelocityClient(double x, double y, double z) booleanshouldRender(double distance) voidtick()voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) voidMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, animateDamage, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canFly, canStartRiding, canUsePortals, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getUuid, getVehicle, getVisibilityBoundingBox, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interact, interactAt, isAlive, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_12991, method_13003, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15559, method_15560, method_15561, method_15562, method_15563, method_15564, method_15566, method_15567, method_15569, method_15570, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15591, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setUuid, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterState
-
Field Details
-
field_17097
- Mappings:
Namespace Name Mixin selector official gLaok;g:Ljava/util/function/Predicate;intermediary field_17097Lnet/minecraft/class_990;field_17097:Ljava/util/function/Predicate;named field_17097Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17097:Ljava/util/function/Predicate;
-
PROJECTILE_FLAGS
- Mappings:
Namespace Name Mixin selector official hLaok;h:Lor;intermediary field_14801Lnet/minecraft/class_990;field_14801:Lnet/minecraft/class_2921;named PROJECTILE_FLAGSLnet/minecraft/entity/projectile/AbstractArrowEntity;PROJECTILE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
field_17094
- Mappings:
Namespace Name Mixin selector official aLaok;a:Lor;intermediary field_17094Lnet/minecraft/class_990;field_17094:Lnet/minecraft/class_2921;named field_17094Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17094:Lnet/minecraft/entity/data/TrackedData;
-
blockX
private int blockX- Mappings:
Namespace Name Mixin selector official awLaok;aw:Iintermediary field_4027Lnet/minecraft/class_990;field_4027:Inamed blockXLnet/minecraft/entity/projectile/AbstractArrowEntity;blockX:I
-
blockY
private int blockY- Mappings:
Namespace Name Mixin selector official axLaok;ax:Iintermediary field_4028Lnet/minecraft/class_990;field_4028:Inamed blockYLnet/minecraft/entity/projectile/AbstractArrowEntity;blockY:I
-
blockZ
private int blockZ- Mappings:
Namespace Name Mixin selector official ayLaok;ay:Iintermediary field_4029Lnet/minecraft/class_990;field_4029:Inamed blockZLnet/minecraft/entity/projectile/AbstractArrowEntity;blockZ:I
-
field_17095
- Mappings:
Namespace Name Mixin selector official azLaok;az:Lblc;intermediary field_17095Lnet/minecraft/class_990;field_17095:Lnet/minecraft/class_2232;named field_17095Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17095:Lnet/minecraft/block/BlockState;
-
inGround
protected boolean inGround- Mappings:
Namespace Name Mixin selector official bLaok;b:Zintermediary field_4032Lnet/minecraft/class_990;field_4032:Znamed inGroundLnet/minecraft/entity/projectile/AbstractArrowEntity;inGround:Z
-
inGroundTime
protected int inGroundTime- Mappings:
Namespace Name Mixin selector official cLaok;c:Iintermediary field_14798Lnet/minecraft/class_990;field_14798:Inamed inGroundTimeLnet/minecraft/entity/projectile/AbstractArrowEntity;inGroundTime:I
-
pickupType
- Mappings:
Namespace Name Mixin selector official dLaok;d:Laok$a;intermediary field_14799Lnet/minecraft/class_990;field_14799:Lnet/minecraft/class_990$class_3002;named pickupTypeLnet/minecraft/entity/projectile/AbstractArrowEntity;pickupType:Lnet/minecraft/entity/projectile/AbstractArrowEntity$PickupPermission;
-
shake
public int shake- Mappings:
Namespace Name Mixin selector official eLaok;e:Iintermediary field_4025Lnet/minecraft/class_990;field_4025:Inamed shakeLnet/minecraft/entity/projectile/AbstractArrowEntity;shake:I
-
field_17096
- Mappings:
Namespace Name Mixin selector official fLaok;f:Ljava/util/UUID;intermediary field_17096Lnet/minecraft/class_990;field_17096:Ljava/util/UUID;named field_17096Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17096:Ljava/util/UUID;
-
life
private int life- Mappings:
Namespace Name Mixin selector official aALaok;aA:Iintermediary field_4033Lnet/minecraft/class_990;field_4033:Inamed lifeLnet/minecraft/entity/projectile/AbstractArrowEntity;life:I
-
field_4022
private int field_4022- Mappings:
Namespace Name Mixin selector official aBLaok;aB:Iintermediary field_4022Lnet/minecraft/class_990;field_4022:Inamed field_4022Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_4022:I
-
damage
private double damage- Mappings:
Namespace Name Mixin selector official aCLaok;aC:Dintermediary field_4023Lnet/minecraft/class_990;field_4023:Dnamed damageLnet/minecraft/entity/projectile/AbstractArrowEntity;damage:D
-
punch
private int punch- Mappings:
Namespace Name Mixin selector official aDLaok;aD:Iintermediary field_4024Lnet/minecraft/class_990;field_4024:Inamed punchLnet/minecraft/entity/projectile/AbstractArrowEntity;punch:I
-
-
Constructor Details
-
AbstractArrowEntity
- Mappings:
Namespace Name Mixin selector official <init>Laer;<init>(Laev;Laxy;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
AbstractArrowEntity
protected AbstractArrowEntity(EntityType<?> entityType, double double2, double double3, double double4, World world) -
AbstractArrowEntity
-
-
Method Details
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official x_Laer;x_()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_13278
public void method_13278(Entity entity, float float2, float float3, float float4, float float5, float float6) - Mappings:
Namespace Name Mixin selector official aLaok;a(Laer;FFFFF)Vintermediary method_13278Lnet/minecraft/class_990;method_13278(Lnet/minecraft/class_864;FFFFF)Vnamed method_13278Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_13278(Lnet/minecraft/entity/Entity;FFFFF)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 cLaot;c(DDDFF)Vintermediary method_3233Lnet/minecraft/class_1417;method_3233(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 aLaer;a(DDDFFIZ)Vintermediary method_2488Lnet/minecraft/class_864;method_2488(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official hLaer;h(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
method_15948
protected void method_15948()- Mappings:
Namespace Name Mixin selector official fLaok;f()Vintermediary method_15948Lnet/minecraft/class_990;method_15948()Vnamed method_15948Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15948()V
-
onHit
- Mappings:
Namespace Name Mixin selector official aLaok;a(Lceb;)Vintermediary method_13276Lnet/minecraft/class_990;method_13276(Lnet/minecraft/class_234;)Vnamed onHitLnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/util/hit/BlockHitResult;)V
-
method_15947
- Mappings:
Namespace Name Mixin selector official bLaok;b(Lceb;)Vintermediary method_15947Lnet/minecraft/class_990;method_15947(Lnet/minecraft/class_234;)Vnamed method_15947Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15947(Lnet/minecraft/util/hit/BlockHitResult;)V
-
method_15949
- Mappings:
Namespace Name Mixin selector official iLaok;i()Lwi;intermediary method_15949Lnet/minecraft/class_990;method_15949()Lnet/minecraft/class_2926;named method_15949Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15949()Lnet/minecraft/client/sound/SoundEvent;
-
move
-
onHit
- Mappings:
Namespace Name Mixin selector official aLaok;a(Lafa;)Vintermediary method_13279Lnet/minecraft/class_990;method_13279(Lnet/minecraft/class_1699;)Vnamed onHitLnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
-
getEntityCollision
- Mappings:
Namespace Name Mixin selector official aLaok;a(Lcee;Lcee;)Laer;intermediary method_13277Lnet/minecraft/class_990;method_13277(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_864;named getEntityCollisionLnet/minecraft/entity/projectile/AbstractArrowEntity;getEntityCollision(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity;
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Lgy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(Lgy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_15946
- Mappings:
Namespace Name Mixin selector official aLaok;a(Laer;)Vintermediary method_15946Lnet/minecraft/class_990;method_15946(Lnet/minecraft/class_864;)Vnamed method_15946Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15946(Lnet/minecraft/entity/Entity;)V
-
method_15950
- Mappings:
Namespace Name Mixin selector official kLaok;k()Laer;intermediary method_15950Lnet/minecraft/class_990;method_15950()Lnet/minecraft/class_864;named method_15950Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15950()Lnet/minecraft/entity/Entity;
-
onPlayerCollision
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official dLaer;d(Laog;)Vintermediary method_2530Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
asItemStack
- Mappings:
Namespace Name Mixin selector official lLaok;l()Late;intermediary method_13280Lnet/minecraft/class_990;method_13280()Lnet/minecraft/class_1071;named asItemStackLnet/minecraft/entity/projectile/AbstractArrowEntity;asItemStack()Lnet/minecraft/item/ItemStack;
-
canClimb
protected boolean canClimb() -
setDamage
public void setDamage(double damage) - Mappings:
Namespace Name Mixin selector official cLaok;c(D)Vintermediary method_3223Lnet/minecraft/class_990;method_3223(D)Vnamed setDamageLnet/minecraft/entity/projectile/AbstractArrowEntity;setDamage(D)V
-
getDamage
public double getDamage()- Mappings:
Namespace Name Mixin selector official mLaok;m()Dintermediary method_3225Lnet/minecraft/class_990;method_3225()Dnamed getDamageLnet/minecraft/entity/projectile/AbstractArrowEntity;getDamage()D
-
setPunch
public void setPunch(int punch) - Mappings:
Namespace Name Mixin selector official aLaok;a(I)Vintermediary method_3222Lnet/minecraft/class_990;method_3222(I)Vnamed setPunchLnet/minecraft/entity/projectile/AbstractArrowEntity;setPunch(I)V
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official bkLaer;bk()Zintermediary method_2521Lnet/minecraft/class_864;method_2521()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official bFLaer;bF()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
setCritical
public void setCritical(boolean critical) - Mappings:
Namespace Name Mixin selector official aLaok;a(Z)Vintermediary method_3226Lnet/minecraft/class_990;method_3226(Z)Vnamed setCriticalLnet/minecraft/entity/projectile/AbstractArrowEntity;setCritical(Z)V
-
method_15945
private void method_15945(int int2, boolean bool) - Mappings:
Namespace Name Mixin selector official aLaok;a(IZ)Vintermediary method_15945Lnet/minecraft/class_990;method_15945(IZ)Vnamed method_15945Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15945(IZ)V
-
isCritical
public boolean isCritical()- Mappings:
Namespace Name Mixin selector official oLaok;o()Zintermediary method_3227Lnet/minecraft/class_990;method_3227()Znamed isCriticalLnet/minecraft/entity/projectile/AbstractArrowEntity;isCritical()Z
-
applyEnchantmentEffects
- Mappings:
Namespace Name Mixin selector official aLaok;a(Lafa;F)Vintermediary method_13620Lnet/minecraft/class_990;method_13620(Lnet/minecraft/class_1699;F)Vnamed applyEnchantmentEffectsLnet/minecraft/entity/projectile/AbstractArrowEntity;applyEnchantmentEffects(Lnet/minecraft/entity/LivingEntity;F)V
-
method_15952
protected float method_15952()- Mappings:
Namespace Name Mixin selector official pLaok;p()Fintermediary method_15952Lnet/minecraft/class_990;method_15952()Fnamed method_15952Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15952()F
-
method_15951
public void method_15951(boolean bool) - Mappings:
Namespace Name Mixin selector official oLaok;o(Z)Vintermediary method_15951Lnet/minecraft/class_990;method_15951(Z)Vnamed method_15951Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15951(Z)V
-
method_15953
public boolean method_15953()- Mappings:
Namespace Name Mixin selector official qLaok;q()Zintermediary method_15953Lnet/minecraft/class_990;method_15953()Znamed method_15953Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15953()Z
-