Class PhantomEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class PhantomEntity extends FlyingEntity implements Monster
Mappings:
Namespace Name
official bhz
intermediary net/minecraft/class_1593
named net/minecraft/entity/mob/PhantomEntity
  • Field Details

    • field_30475

      public static final float field_30475
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbhz;b:F
      intermediary field_30475 Lnet/minecraft/class_1593;field_30475:F
      named field_30475 Lnet/minecraft/entity/mob/PhantomEntity;field_30475:F
    • field_28641

      public static final int field_28641
      Mappings:
      Namespace Name Mixin selector
      official c Lbhz;c:I
      intermediary field_28641 Lnet/minecraft/class_1593;field_28641:I
      named field_28641 Lnet/minecraft/entity/mob/PhantomEntity;field_28641:I
    • SIZE

      private static final TrackedData<Integer> SIZE
      Mappings:
      Namespace Name Mixin selector
      official d Lbhz;d:Lwf;
      intermediary field_7313 Lnet/minecraft/class_1593;field_7313:Lnet/minecraft/class_2940;
      named SIZE Lnet/minecraft/entity/mob/PhantomEntity;SIZE:Lnet/minecraft/entity/data/TrackedData;
    • targetPosition

      Vec3d targetPosition
      Mappings:
      Namespace Name Mixin selector
      official e Lbhz;e:Ldna;
      intermediary field_7314 Lnet/minecraft/class_1593;field_7314:Lnet/minecraft/class_243;
      named targetPosition Lnet/minecraft/entity/mob/PhantomEntity;targetPosition:Lnet/minecraft/util/math/Vec3d;
    • circlingCenter

      BlockPos circlingCenter
      Mappings:
      Namespace Name Mixin selector
      official bS Lbhz;bS:Lgg;
      intermediary field_7312 Lnet/minecraft/class_1593;field_7312:Lnet/minecraft/class_2338;
      named circlingCenter Lnet/minecraft/entity/mob/PhantomEntity;circlingCenter:Lnet/minecraft/util/math/BlockPos;
    • movementType

      Mappings:
      Namespace Name Mixin selector
      official bT Lbhz;bT:Lbhz$a;
      intermediary field_7315 Lnet/minecraft/class_1593;field_7315:Lnet/minecraft/class_1593$class_1594;
      named movementType Lnet/minecraft/entity/mob/PhantomEntity;movementType:Lnet/minecraft/entity/mob/PhantomEntity$PhantomMovementType;
  • Constructor Details

    • PhantomEntity

      public PhantomEntity(EntityType<? extends PhantomEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latf;<init>(Latj;Lbwp;)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
  • Method Details

    • hasWings

      public boolean hasWings()
      Overrides:
      hasWings in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aF Latf;aF()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      named hasWings Lnet/minecraft/entity/Entity;hasWings()Z
    • createBodyControl

      protected BodyControl createBodyControl()
      Overrides:
      createBodyControl in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Latv;z()Layn;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official v Latv;v()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Latf;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • setPhantomSize

      public void setPhantomSize(int size)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhz;a(I)V
      intermediary method_7091 Lnet/minecraft/class_1593;method_7091(I)V
      named setPhantomSize Lnet/minecraft/entity/mob/PhantomEntity;setPhantomSize(I)V
    • onSizeChanged

      private void onSizeChanged()
      Mappings:
      Namespace Name Mixin selector
      official t Lbhz;t()V
      intermediary method_7097 Lnet/minecraft/class_1593;method_7097()V
      named onSizeChanged Lnet/minecraft/entity/mob/PhantomEntity;onSizeChanged()V
    • getPhantomSize

      public int getPhantomSize()
      Mappings:
      Namespace Name Mixin selector
      official n Lbhz;n()I
      intermediary method_7084 Lnet/minecraft/class_1593;method_7084()I
      named getPhantomSize Lnet/minecraft/entity/mob/PhantomEntity;getPhantomSize()I
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latt;b(Lauf;Latg;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lwf;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • method_33588

      public int method_33588()
      Mappings:
      Namespace Name Mixin selector
      official p Lbhz;p()I
      intermediary method_33588 Lnet/minecraft/class_1593;method_33588()I
      named method_33588 Lnet/minecraft/entity/mob/PhantomEntity;method_33588()I
    • isDisallowedInPeaceful

      protected boolean isDisallowedInPeaceful()
      Overrides:
      isDisallowedInPeaceful in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official Q Latv;Q()Z
      intermediary method_23734 Lnet/minecraft/class_1308;method_23734()Z
      named isDisallowedInPeaceful Lnet/minecraft/entity/mob/MobEntity;isDisallowedInPeaceful()Z
    • tick

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

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u_ Latt;u_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official eX Latv;eX()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • initialize

      public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbxd;Lary;Latx;Laul;Lna;)Laul;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lna;)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 MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lna;)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
    • shouldRender

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

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cJ Latf;cJ()Laff;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official q Latv;q()Lafd;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Latt;c(Lasp;)Lafd;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official v_ Latt;v_()Lafd;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getGroup

      public EntityGroup getGroup()
      Overrides:
      getGroup in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ek Latt;ek()Laty;
      intermediary method_6046 Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;
      named getGroup Lnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eo Latt;eo()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • canTarget

      public boolean canTarget(EntityType<?> type)
      Overrides:
      canTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latt;a(Latj;)Z
      intermediary method_5973 Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Z
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
    • getDimensions

      public EntityDimensions getDimensions(EntityPose pose)
      Overrides:
      getDimensions in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lauf;)Latg;
      intermediary method_18377 Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      named getDimensions Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;