Class SpectralArrowEntity

All Implemented Interfaces:
EntityLike, CommandOutput, Nameable

public class SpectralArrowEntity
extends PersistentProjectileEntity
Mappings:
Namespace Name
official big
intermediary net/minecraft/class_1679
named net/minecraft/entity/projectile/SpectralArrowEntity
  • Field Details

    • duration

      private int duration
      Mappings:
      Namespace Name Mixin selector
      official f Lbig;f:I
      intermediary field_7636 Lnet/minecraft/class_1679;field_7636:I
      named duration Lnet/minecraft/entity/projectile/SpectralArrowEntity;duration:I
  • Constructor Details

    • SpectralArrowEntity

      public SpectralArrowEntity​(EntityType<? extends SpectralArrowEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • SpectralArrowEntity

      public SpectralArrowEntity​(World world, LivingEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbig;<init>(Lbtv;Lari;)V
      intermediary <init> Lnet/minecraft/class_1679;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
      named <init> Lnet/minecraft/entity/projectile/SpectralArrowEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
    • SpectralArrowEntity

      public SpectralArrowEntity​(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbig;<init>(Lbtv;DDD)V
      intermediary <init> Lnet/minecraft/class_1679;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/projectile/SpectralArrowEntity;<init>(Lnet/minecraft/world/World;DDD)V
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official j Laqv;j()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • asItemStack

      protected ItemStack asItemStack()
      Specified by:
      asItemStack in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbhp;k()Lbnv;
      intermediary method_7445 Lnet/minecraft/class_1665;method_7445()Lnet/minecraft/class_1799;
      named asItemStack Lnet/minecraft/entity/projectile/PersistentProjectileEntity;asItemStack()Lnet/minecraft/item/ItemStack;
    • onHit

      protected void onHit​(LivingEntity target)
      Overrides:
      onHit in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbhp;a(Lari;)V
      intermediary method_7450 Lnet/minecraft/class_1665;method_7450(Lnet/minecraft/class_1309;)V
      named onHit Lnet/minecraft/entity/projectile/PersistentProjectileEntity;onHit(Lnet/minecraft/entity/LivingEntity;)V
    • readCustomDataFromTag

      public void readCustomDataFromTag​(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • writeCustomDataToTag

      public void writeCustomDataToTag​(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V