Class EyeOfEnderEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.EyeOfEnderEntity
All Implemented Interfaces:
FlyingItemEntity, CommandOutput, Nameable, EntityLike

public class EyeOfEnderEntity extends Entity implements FlyingItemEntity
Mappings:
Namespace Name
official bos
intermediary net/minecraft/class_1672
named net/minecraft/entity/EyeOfEnderEntity
  • Field Details

    • ITEM

      private static final TrackedData<ItemStack> ITEM
      Mappings:
      Namespace Name Mixin selector
      official b Lbos;b:Lyb;
      intermediary field_17080 Lnet/minecraft/class_1672;field_17080:Lnet/minecraft/class_2940;
      named ITEM Lnet/minecraft/entity/EyeOfEnderEntity;ITEM:Lnet/minecraft/entity/data/TrackedData;
    • targetX

      private double targetX
      Mappings:
      Namespace Name Mixin selector
      official c Lbos;c:D
      intermediary field_7619 Lnet/minecraft/class_1672;field_7619:D
      named targetX Lnet/minecraft/entity/EyeOfEnderEntity;targetX:D
    • targetY

      private double targetY
      Mappings:
      Namespace Name Mixin selector
      official d Lbos;d:D
      intermediary field_7618 Lnet/minecraft/class_1672;field_7618:D
      named targetY Lnet/minecraft/entity/EyeOfEnderEntity;targetY:D
    • targetZ

      private double targetZ
      Mappings:
      Namespace Name Mixin selector
      official e Lbos;e:D
      intermediary field_7617 Lnet/minecraft/class_1672;field_7617:D
      named targetZ Lnet/minecraft/entity/EyeOfEnderEntity;targetZ:D
    • lifespan

      private int lifespan
      Mappings:
      Namespace Name Mixin selector
      official f Lbos;f:I
      intermediary field_7620 Lnet/minecraft/class_1672;field_7620:I
      named lifespan Lnet/minecraft/entity/EyeOfEnderEntity;lifespan:I
    • dropsItem

      private boolean dropsItem
      Mappings:
      Namespace Name Mixin selector
      official ao Lbos;ao:Z
      intermediary field_7621 Lnet/minecraft/class_1672;field_7621:Z
      named dropsItem Lnet/minecraft/entity/EyeOfEnderEntity;dropsItem:Z
  • Constructor Details

    • EyeOfEnderEntity

      public EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxk;<init>(Laxo;Lcav;)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
    • EyeOfEnderEntity

      public EyeOfEnderEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbos;<init>(Lcav;DDD)V
      intermediary <init> Lnet/minecraft/class_1672;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/EyeOfEnderEntity;<init>(Lnet/minecraft/world/World;DDD)V
  • Method Details

    • setItem

      public void setItem(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbos;a(Lbuw;)V
      intermediary method_16933 Lnet/minecraft/class_1672;method_16933(Lnet/minecraft/class_1799;)V
      named setItem Lnet/minecraft/entity/EyeOfEnderEntity;setItem(Lnet/minecraft/item/ItemStack;)V
    • getTrackedItem

      private ItemStack getTrackedItem()
      Mappings:
      Namespace Name Mixin selector
      official i Lbos;i()Lbuw;
      intermediary method_16935 Lnet/minecraft/class_1672;method_16935()Lnet/minecraft/class_1799;
      named getTrackedItem Lnet/minecraft/entity/EyeOfEnderEntity;getTrackedItem()Lnet/minecraft/item/ItemStack;
    • getStack

      public ItemStack getStack()
      Specified by:
      getStack in interface FlyingItemEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lbow;h()Lbuw;
      intermediary method_7495 Lnet/minecraft/class_3856;method_7495()Lnet/minecraft/class_1799;
      named getStack Lnet/minecraft/entity/FlyingItemEntity;getStack()Lnet/minecraft/item/ItemStack;
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Laxk;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laxk;a(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • initTargetPos

      public void initTargetPos(BlockPos pos)
      Sets where the eye will fly towards. If close enough, it will fly directly towards it, otherwise, it will fly upwards, in the direction of the BlockPos.
      Parameters:
      pos - the block the eye of ender is drawn towards
      Mappings:
      Namespace Name Mixin selector
      official a Lbos;a(Lgj;)V
      intermediary method_7478 Lnet/minecraft/class_1672;method_7478(Lnet/minecraft/class_2338;)V
      named initTargetPos Lnet/minecraft/entity/EyeOfEnderEntity;initTargetPos(Lnet/minecraft/util/math/BlockPos;)V
    • setVelocityClient

      public void setVelocityClient(double x, double y, double z)
      Overrides:
      setVelocityClient in class Entity
      Mappings:
      Namespace Name Mixin selector
      official k Laxk;k(DDD)V
      intermediary method_5750 Lnet/minecraft/class_1297;method_5750(DDD)V
      named setVelocityClient Lnet/minecraft/entity/Entity;setVelocityClient(DDD)V
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official k Laxk;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Laxk;b(Lok;)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
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laxk;a(Lok;)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
    • getBrightnessAtEyes

      public float getBrightnessAtEyes()
      Overrides:
      getBrightnessAtEyes in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bd Laxk;bd()F
      intermediary method_5718 Lnet/minecraft/class_1297;method_5718()F
      named getBrightnessAtEyes Lnet/minecraft/entity/Entity;getBrightnessAtEyes()F
    • isAttackable

      public boolean isAttackable()
      Overrides:
      isAttackable in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cf Laxk;cf()Z
      intermediary method_5732 Lnet/minecraft/class_1297;method_5732()Z
      named isAttackable Lnet/minecraft/entity/Entity;isAttackable()Z
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Specified by:
      createSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official S Laxk;S()Lrc;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;