Class ArrowEntity

All Implemented Interfaces:
CommandSource, Projectile

public class ArrowEntity extends AbstractArrowEntity
Mappings:
Namespace Name
official aad
intermediary net/minecraft/class_2675
named net/minecraft/entity/projectile/ArrowEntity
  • Field Details

    • COLOR

      private static final TrackedData<Integer> COLOR
      Mappings:
      Namespace Name Mixin selector
      official f Laad;f:Lkf;
      intermediary field_12208 Lnet/minecraft/class_2675;field_12208:Lnet/minecraft/class_2921;
      named COLOR Lnet/minecraft/entity/projectile/ArrowEntity;COLOR:Lnet/minecraft/entity/data/TrackedData;
    • potion

      private Potion potion
      Mappings:
      Namespace Name Mixin selector
      official g Laad;g:Lafe;
      intermediary field_12209 Lnet/minecraft/class_2675;field_12209:Lnet/minecraft/class_2695;
      named potion Lnet/minecraft/entity/projectile/ArrowEntity;potion:Lnet/minecraft/potion/Potion;
    • effects

      private final Set<StatusEffectInstance> effects
      Mappings:
      Namespace Name Mixin selector
      official h Laad;h:Ljava/util/Set;
      intermediary field_12210 Lnet/minecraft/class_2675;field_12210:Ljava/util/Set;
      named effects Lnet/minecraft/entity/projectile/ArrowEntity;effects:Ljava/util/Set;
  • Constructor Details

    • ArrowEntity

      public ArrowEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrr;<init>(Laht;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
    • ArrowEntity

      public ArrowEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzm;<init>(Laht;DDD)V
      intermediary <init> Lnet/minecraft/class_990;<init>(Lnet/minecraft/class_1150;DDD)V
      named <init> Lnet/minecraft/entity/projectile/AbstractArrowEntity;<init>(Lnet/minecraft/world/World;DDD)V
    • ArrowEntity

      public ArrowEntity(World world, LivingEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzm;<init>(Laht;Lsa;)V
      intermediary <init> Lnet/minecraft/class_990;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;)V
      named <init> Lnet/minecraft/entity/projectile/AbstractArrowEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
  • Method Details

    • initFromStack

      public void initFromStack(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Ladq;)V
      intermediary method_11319 Lnet/minecraft/class_2675;method_11319(Lnet/minecraft/class_1071;)V
      named initFromStack Lnet/minecraft/entity/projectile/ArrowEntity;initFromStack(Lnet/minecraft/item/ItemStack;)V
    • addEffect

      public void addEffect(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official a Laad;a(Lrl;)V
      intermediary method_11320 Lnet/minecraft/class_2675;method_11320(Lnet/minecraft/class_861;)V
      named addEffect Lnet/minecraft/entity/projectile/ArrowEntity;addEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lrr;i()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • tick

      public void tick()
      Overrides:
      tick in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lrr;m()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • spawnParticles

      private void spawnParticles(int amount)
      Mappings:
      Namespace Name Mixin selector
      official b Laad;b(I)V
      intermediary method_11321 Lnet/minecraft/class_2675;method_11321(I)V
      named spawnParticles Lnet/minecraft/entity/projectile/ArrowEntity;spawnParticles(I)V
    • getColor

      public int getColor()
      Mappings:
      Namespace Name Mixin selector
      official n Laad;n()I
      intermediary method_11322 Lnet/minecraft/class_2675;method_11322()I
      named getColor Lnet/minecraft/entity/projectile/ArrowEntity;getColor()I
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lrr;b(Ldq;)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)
      Overrides:
      readCustomDataFromNbt in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lrr;a(Ldq;)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
    • onHit

      protected void onHit(LivingEntity target)
      Overrides:
      onHit in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lzm;a(Lsa;)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
    • asItemStack

      protected ItemStack asItemStack()
      Specified by:
      asItemStack in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official j Lzm;j()Ladq;
      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;
    • handleStatus

      @Environment(CLIENT) public void handleStatus(byte status)
      Overrides:
      handleStatus in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lrr;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V