Class SpetraclArrowEntity

All Implemented Interfaces:
CommandSource, Projectile

public class SpetraclArrowEntity extends AbstractArrowEntity
Mappings:
Namespace Name
official zx
intermediary net/minecraft/class_3006
named net/minecraft/entity/projectile/SpetraclArrowEntity
  • Field Details

    • duration

      private int duration
      Mappings:
      Namespace Name Mixin selector
      official f Lzx;f:I
      intermediary field_14818 Lnet/minecraft/class_3006;field_14818:I
      named duration Lnet/minecraft/entity/projectile/SpetraclArrowEntity;duration:I
  • Constructor Details

    • SpetraclArrowEntity

      public SpetraclArrowEntity(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
    • SpetraclArrowEntity

      public SpetraclArrowEntity(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
    • SpetraclArrowEntity

      public SpetraclArrowEntity(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
  • Method Details

    • 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
    • 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;
    • 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
    • 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
    • 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