Class ArrowEntity

All Implemented Interfaces:
class_3893, Projectile, Nameable

public class ArrowEntity extends AbstractArrowEntity
Mappings:
Namespace Name
official aom
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 g Laom;g:Lor;
      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 h Laom;h:Laut;
      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 aw Laom;aw: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 ax Laom;ax: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> Laer;<init>(Laxy;)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> Laok;<init>(Laxy;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> Laok;<init>(Laxy;Lafa;)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 b Laom;b(Late;)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 c Laom;c(Late;)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 s Laom;s()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 Laom;a(Laek;)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 x_ Laer;x_()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 R_ Laer;R_()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 Laom;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 r Laom;r()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 c Laom;c(I)V
      intermediary method_13637 Lnet/minecraft/class_2675;method_13637(I)V
      named setColor Lnet/minecraft/entity/projectile/ArrowEntity;setColor(I)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AbstractArrowEntity
      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)
      Overrides:
      readCustomDataFromNbt in class AbstractArrowEntity
      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
    • onHit

      protected void onHit(LivingEntity target)
      Overrides:
      onHit in class AbstractArrowEntity
      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
    • asItemStack

      protected ItemStack asItemStack()
      Specified by:
      asItemStack in class AbstractArrowEntity
      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;
    • handleStatus

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