Class SpectralArrowEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

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

    • duration

      private int duration
      Mappings:
      Namespace Name Mixin selector
      official f Lbuc;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> Lbaq;<init>(Lbau;Lcga;)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> Lbuc;<init>(Lcga;Lbbf;)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> Lbuc;<init>(Lcga;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 k Lbaq;k()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 l Lbtl;l()Lcaa;
      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 Lbtl;a(Lbbf;)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
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lpj;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class PersistentProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbaq;b(Lpj;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V