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

public abstract class AbstractArrowEntity extends Entity implements Projectile
Mappings:
Namespace Name
official aok
intermediary net/minecraft/class_990
named net/minecraft/entity/projectile/AbstractArrowEntity
  • Field Details

    • field_17097

      private static final Predicate<Entity> field_17097
      Mappings:
      Namespace Name Mixin selector
      official g Laok;g:Ljava/util/function/Predicate;
      intermediary field_17097 Lnet/minecraft/class_990;field_17097:Ljava/util/function/Predicate;
      named field_17097 Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17097:Ljava/util/function/Predicate;
    • PROJECTILE_FLAGS

      private static final TrackedData<Byte> PROJECTILE_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official h Laok;h:Lor;
      intermediary field_14801 Lnet/minecraft/class_990;field_14801:Lnet/minecraft/class_2921;
      named PROJECTILE_FLAGS Lnet/minecraft/entity/projectile/AbstractArrowEntity;PROJECTILE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • field_17094

      protected static final TrackedData<Optional<UUID>> field_17094
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a:Lor;
      intermediary field_17094 Lnet/minecraft/class_990;field_17094:Lnet/minecraft/class_2921;
      named field_17094 Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17094:Lnet/minecraft/entity/data/TrackedData;
    • blockX

      private int blockX
      Mappings:
      Namespace Name Mixin selector
      official aw Laok;aw:I
      intermediary field_4027 Lnet/minecraft/class_990;field_4027:I
      named blockX Lnet/minecraft/entity/projectile/AbstractArrowEntity;blockX:I
    • blockY

      private int blockY
      Mappings:
      Namespace Name Mixin selector
      official ax Laok;ax:I
      intermediary field_4028 Lnet/minecraft/class_990;field_4028:I
      named blockY Lnet/minecraft/entity/projectile/AbstractArrowEntity;blockY:I
    • blockZ

      private int blockZ
      Mappings:
      Namespace Name Mixin selector
      official ay Laok;ay:I
      intermediary field_4029 Lnet/minecraft/class_990;field_4029:I
      named blockZ Lnet/minecraft/entity/projectile/AbstractArrowEntity;blockZ:I
    • field_17095

      @Nullable private BlockState field_17095
      Mappings:
      Namespace Name Mixin selector
      official az Laok;az:Lblc;
      intermediary field_17095 Lnet/minecraft/class_990;field_17095:Lnet/minecraft/class_2232;
      named field_17095 Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17095:Lnet/minecraft/block/BlockState;
    • inGround

      protected boolean inGround
      Mappings:
      Namespace Name Mixin selector
      official b Laok;b:Z
      intermediary field_4032 Lnet/minecraft/class_990;field_4032:Z
      named inGround Lnet/minecraft/entity/projectile/AbstractArrowEntity;inGround:Z
    • inGroundTime

      protected int inGroundTime
      Mappings:
      Namespace Name Mixin selector
      official c Laok;c:I
      intermediary field_14798 Lnet/minecraft/class_990;field_14798:I
      named inGroundTime Lnet/minecraft/entity/projectile/AbstractArrowEntity;inGroundTime:I
    • pickupType

      Mappings:
      Namespace Name Mixin selector
      official d Laok;d:Laok$a;
      intermediary field_14799 Lnet/minecraft/class_990;field_14799:Lnet/minecraft/class_990$class_3002;
      named pickupType Lnet/minecraft/entity/projectile/AbstractArrowEntity;pickupType:Lnet/minecraft/entity/projectile/AbstractArrowEntity$PickupPermission;
    • shake

      public int shake
      Mappings:
      Namespace Name Mixin selector
      official e Laok;e:I
      intermediary field_4025 Lnet/minecraft/class_990;field_4025:I
      named shake Lnet/minecraft/entity/projectile/AbstractArrowEntity;shake:I
    • field_17096

      public UUID field_17096
      Mappings:
      Namespace Name Mixin selector
      official f Laok;f:Ljava/util/UUID;
      intermediary field_17096 Lnet/minecraft/class_990;field_17096:Ljava/util/UUID;
      named field_17096 Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_17096:Ljava/util/UUID;
    • life

      private int life
      Mappings:
      Namespace Name Mixin selector
      official aA Laok;aA:I
      intermediary field_4033 Lnet/minecraft/class_990;field_4033:I
      named life Lnet/minecraft/entity/projectile/AbstractArrowEntity;life:I
    • field_4022

      private int field_4022
      Mappings:
      Namespace Name Mixin selector
      official aB Laok;aB:I
      intermediary field_4022 Lnet/minecraft/class_990;field_4022:I
      named field_4022 Lnet/minecraft/entity/projectile/AbstractArrowEntity;field_4022:I
    • damage

      private double damage
      Mappings:
      Namespace Name Mixin selector
      official aC Laok;aC:D
      intermediary field_4023 Lnet/minecraft/class_990;field_4023:D
      named damage Lnet/minecraft/entity/projectile/AbstractArrowEntity;damage:D
    • punch

      private int punch
      Mappings:
      Namespace Name Mixin selector
      official aD Laok;aD:I
      intermediary field_4024 Lnet/minecraft/class_990;field_4024:I
      named punch Lnet/minecraft/entity/projectile/AbstractArrowEntity;punch:I
  • Constructor Details

    • AbstractArrowEntity

      protected AbstractArrowEntity(EntityType<?> entityType, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laev;Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)V
      named <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

      protected AbstractArrowEntity(EntityType<?> entityType, LivingEntity livingEntity, World world)
  • Method Details

    • shouldRender

      @Environment(CLIENT) public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(D)Z
      intermediary method_2486 Lnet/minecraft/class_864;method_2486(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laer;x_()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/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 a Laok;a(Laer;FFFFF)V
      intermediary method_13278 Lnet/minecraft/class_990;method_13278(Lnet/minecraft/class_864;FFFFF)V
      named method_13278 Lnet/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:
      setVelocity in interface Projectile
      Mappings:
      Namespace Name Mixin selector
      official c Laot;c(DDDFF)V
      intermediary method_3233 Lnet/minecraft/class_1417;method_3233(DDDFF)V
      named setVelocity Lnet/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:
      updateTrackedPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(DDDFFIZ)V
      intermediary method_2488 Lnet/minecraft/class_864;method_2488(DDDFFIZ)V
      named updateTrackedPositionAndAngles Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
    • setVelocityClient

      @Environment(CLIENT) public void setVelocityClient(double x, double y, double z)
      Overrides:
      setVelocityClient in class Entity
      Mappings:
      Namespace Name Mixin selector
      official h Laer;h(DDD)V
      intermediary method_2556 Lnet/minecraft/class_864;method_2556(DDD)V
      named setVelocityClient Lnet/minecraft/entity/Entity;setVelocityClient(DDD)V
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official R_ Laer;R_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • method_15948

      protected void method_15948()
      Mappings:
      Namespace Name Mixin selector
      official f Laok;f()V
      intermediary method_15948 Lnet/minecraft/class_990;method_15948()V
      named method_15948 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15948()V
    • onHit

      protected void onHit(BlockHitResult result)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Lceb;)V
      intermediary method_13276 Lnet/minecraft/class_990;method_13276(Lnet/minecraft/class_234;)V
      named onHit Lnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/util/hit/BlockHitResult;)V
    • method_15947

      protected void method_15947(BlockHitResult blockHitResult)
      Mappings:
      Namespace Name Mixin selector
      official b Laok;b(Lceb;)V
      intermediary method_15947 Lnet/minecraft/class_990;method_15947(Lnet/minecraft/class_234;)V
      named method_15947 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15947(Lnet/minecraft/util/hit/BlockHitResult;)V
    • method_15949

      protected SoundEvent method_15949()
      Mappings:
      Namespace Name Mixin selector
      official i Laok;i()Lwi;
      intermediary method_15949 Lnet/minecraft/class_990;method_15949()Lnet/minecraft/class_2926;
      named method_15949 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15949()Lnet/minecraft/client/sound/SoundEvent;
    • move

      public void move(MovementType type, double movementX, double movementY, double movementZ)
      Overrides:
      move in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lafe;DDD)V
      intermediary method_2539 Lnet/minecraft/class_864;method_2539(Lnet/minecraft/class_3131;DDD)V
      named move Lnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;DDD)V
    • onHit

      protected void onHit(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Lafa;)V
      intermediary method_13279 Lnet/minecraft/class_990;method_13279(Lnet/minecraft/class_1699;)V
      named onHit Lnet/minecraft/entity/projectile/AbstractArrowEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
    • getEntityCollision

      @Nullable protected Entity getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Lcee;Lcee;)Laer;
      intermediary method_13277 Lnet/minecraft/class_990;method_13277(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_864;
      named getEntityCollision Lnet/minecraft/entity/projectile/AbstractArrowEntity;getEntityCollision(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity;
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Laer;b(Lgy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lgy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_15946

      public void method_15946(@Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Laer;)V
      intermediary method_15946 Lnet/minecraft/class_990;method_15946(Lnet/minecraft/class_864;)V
      named method_15946 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15946(Lnet/minecraft/entity/Entity;)V
    • method_15950

      @Nullable public Entity method_15950()
      Mappings:
      Namespace Name Mixin selector
      official k Laok;k()Laer;
      intermediary method_15950 Lnet/minecraft/class_990;method_15950()Lnet/minecraft/class_864;
      named method_15950 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15950()Lnet/minecraft/entity/Entity;
    • onPlayerCollision

      public void onPlayerCollision(PlayerEntity player)
      Overrides:
      onPlayerCollision in class Entity
      Mappings:
      Namespace Name Mixin selector
      official d Laer;d(Laog;)V
      intermediary method_2530 Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)V
      named onPlayerCollision Lnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
    • asItemStack

      protected abstract ItemStack asItemStack()
      Mappings:
      Namespace Name Mixin selector
      official l Laok;l()Late;
      intermediary method_13280 Lnet/minecraft/class_990;method_13280()Lnet/minecraft/class_1071;
      named asItemStack Lnet/minecraft/entity/projectile/AbstractArrowEntity;asItemStack()Lnet/minecraft/item/ItemStack;
    • canClimb

      protected boolean canClimb()
      Overrides:
      canClimb in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ak Laer;ak()Z
      intermediary method_2549 Lnet/minecraft/class_864;method_2549()Z
      named canClimb Lnet/minecraft/entity/Entity;canClimb()Z
    • setDamage

      public void setDamage(double damage)
      Mappings:
      Namespace Name Mixin selector
      official c Laok;c(D)V
      intermediary method_3223 Lnet/minecraft/class_990;method_3223(D)V
      named setDamage Lnet/minecraft/entity/projectile/AbstractArrowEntity;setDamage(D)V
    • getDamage

      public double getDamage()
      Mappings:
      Namespace Name Mixin selector
      official m Laok;m()D
      intermediary method_3225 Lnet/minecraft/class_990;method_3225()D
      named getDamage Lnet/minecraft/entity/projectile/AbstractArrowEntity;getDamage()D
    • setPunch

      public void setPunch(int punch)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(I)V
      intermediary method_3222 Lnet/minecraft/class_990;method_3222(I)V
      named setPunch Lnet/minecraft/entity/projectile/AbstractArrowEntity;setPunch(I)V
    • isAttackable

      public boolean isAttackable()
      Overrides:
      isAttackable in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bk Laer;bk()Z
      intermediary method_2521 Lnet/minecraft/class_864;method_2521()Z
      named isAttackable Lnet/minecraft/entity/Entity;isAttackable()Z
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bF Laer;bF()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • setCritical

      public void setCritical(boolean critical)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Z)V
      intermediary method_3226 Lnet/minecraft/class_990;method_3226(Z)V
      named setCritical Lnet/minecraft/entity/projectile/AbstractArrowEntity;setCritical(Z)V
    • method_15945

      private void method_15945(int int2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(IZ)V
      intermediary method_15945 Lnet/minecraft/class_990;method_15945(IZ)V
      named method_15945 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15945(IZ)V
    • isCritical

      public boolean isCritical()
      Mappings:
      Namespace Name Mixin selector
      official o Laok;o()Z
      intermediary method_3227 Lnet/minecraft/class_990;method_3227()Z
      named isCritical Lnet/minecraft/entity/projectile/AbstractArrowEntity;isCritical()Z
    • applyEnchantmentEffects

      public void applyEnchantmentEffects(LivingEntity entity, float damageModifier)
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Lafa;F)V
      intermediary method_13620 Lnet/minecraft/class_990;method_13620(Lnet/minecraft/class_1699;F)V
      named applyEnchantmentEffects Lnet/minecraft/entity/projectile/AbstractArrowEntity;applyEnchantmentEffects(Lnet/minecraft/entity/LivingEntity;F)V
    • method_15952

      protected float method_15952()
      Mappings:
      Namespace Name Mixin selector
      official p Laok;p()F
      intermediary method_15952 Lnet/minecraft/class_990;method_15952()F
      named method_15952 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15952()F
    • method_15951

      public void method_15951(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official o Laok;o(Z)V
      intermediary method_15951 Lnet/minecraft/class_990;method_15951(Z)V
      named method_15951 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15951(Z)V
    • method_15953

      public boolean method_15953()
      Mappings:
      Namespace Name Mixin selector
      official q Laok;q()Z
      intermediary method_15953 Lnet/minecraft/class_990;method_15953()Z
      named method_15953 Lnet/minecraft/entity/projectile/AbstractArrowEntity;method_15953()Z