Class ArrowEntity

All Implemented Interfaces:
CommandSource, Projectile

public class ArrowEntity extends AbstractArrowEntity
Mappings:
Namespace Name
official abu
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 Labu;f:Lkk;
      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 Labu;g:Lagy;
      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 Labu;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;
    • colorSet

      private boolean colorSet
      Mappings:
      Namespace Name Mixin selector
      official at Labu;at:Z
      intermediary field_15097 Lnet/minecraft/class_2675;field_15097:Z
      named colorSet Lnet/minecraft/entity/projectile/ArrowEntity;colorSet:Z
  • Constructor Details

    • ArrowEntity

      public ArrowEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsn;<init>(Lajs;)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> Labb;<init>(Lajs;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> Labb;<init>(Lajs;Lsw;)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 Labu;a(Lafj;)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
    • getCustomPotionColor

      public static int getCustomPotionColor(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Labu;b(Lafj;)I
      intermediary method_13636 Lnet/minecraft/class_2675;method_13636(Lnet/minecraft/class_1071;)I
      named getCustomPotionColor Lnet/minecraft/entity/projectile/ArrowEntity;getCustomPotionColor(Lnet/minecraft/item/ItemStack;)I
    • initColor

      private void initColor()
      Mappings:
      Namespace Name Mixin selector
      official q Labu;q()V
      intermediary method_13638 Lnet/minecraft/class_2675;method_13638()V
      named initColor Lnet/minecraft/entity/projectile/ArrowEntity;initColor()V
    • addEffect

      public void addEffect(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official a Labu;a(Lsh;)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 Lsn;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 A_ Lsn;A_()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 Labu;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 o Labu;o()I
      intermediary method_11322 Lnet/minecraft/class_2675;method_11322()I
      named getColor Lnet/minecraft/entity/projectile/ArrowEntity;getColor()I
    • setColor

      private void setColor(int color)
      Mappings:
      Namespace Name Mixin selector
      official d Labu;d(I)V
      intermediary method_13637 Lnet/minecraft/class_2675;method_13637(I)V
      named setColor Lnet/minecraft/entity/projectile/ArrowEntity;setColor(I)V
    • method_13300

      public static void method_13300(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official c Labu;c(Lph;)V
      intermediary method_13300 Lnet/minecraft/class_2675;method_13300(Lnet/minecraft/class_2934;)V
      named method_13300 Lnet/minecraft/entity/projectile/ArrowEntity;method_13300(Lnet/minecraft/class_2934;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AbstractArrowEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lsn;b(Ldu;)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 Lsn;a(Ldu;)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 Labb;a(Lsw;)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 Labb;j()Lafj;
      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 Lsn;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V