Class VexEntity

All Implemented Interfaces:
Attackable, Monster, Ownable, Targeter, CommandOutput, Nameable, EntityLike

public class VexEntity extends HostileEntity implements Ownable
Mappings:
Namespace Name
official bwo
intermediary net/minecraft/class_1634
named net/minecraft/entity/mob/VexEntity
  • Field Details

    • field_30502

      public static final float field_30502
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbwo;b:F
      intermediary field_30502 Lnet/minecraft/class_1634;field_30502:F
      named field_30502 Lnet/minecraft/entity/mob/VexEntity;field_30502:F
    • field_28645

      public static final int field_28645
      Mappings:
      Namespace Name Mixin selector
      official c Lbwo;c:I
      intermediary field_28645 Lnet/minecraft/class_1634;field_28645:I
      named field_28645 Lnet/minecraft/entity/mob/VexEntity;field_28645:I
    • VEX_FLAGS

      protected static final TrackedData<Byte> VEX_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official d Lbwo;d:Laby;
      intermediary field_7410 Lnet/minecraft/class_1634;field_7410:Lnet/minecraft/class_2940;
      named VEX_FLAGS Lnet/minecraft/entity/mob/VexEntity;VEX_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • CHARGING_FLAG

      private static final int CHARGING_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbwo;e:I
      intermediary field_30503 Lnet/minecraft/class_1634;field_30503:I
      named CHARGING_FLAG Lnet/minecraft/entity/mob/VexEntity;CHARGING_FLAG:I
    • field_41597

      private static final double field_41597
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bT Lbwo;bT:D
      intermediary field_41597 Lnet/minecraft/class_1634;field_41597:D
      named field_41597 Lnet/minecraft/entity/mob/VexEntity;field_41597:D
    • owner

      Mappings:
      Namespace Name Mixin selector
      official bU Lbwo;bU:Lbfz;
      intermediary field_7411 Lnet/minecraft/class_1634;field_7411:Lnet/minecraft/class_1308;
      named owner Lnet/minecraft/entity/mob/VexEntity;owner:Lnet/minecraft/entity/mob/MobEntity;
    • bounds

      @Nullable private @Nullable BlockPos bounds
      Mappings:
      Namespace Name Mixin selector
      official bV Lbwo;bV:Lgu;
      intermediary field_7407 Lnet/minecraft/class_1634;field_7407:Lnet/minecraft/class_2338;
      named bounds Lnet/minecraft/entity/mob/VexEntity;bounds:Lnet/minecraft/util/math/BlockPos;
    • alive

      private boolean alive
      Mappings:
      Namespace Name Mixin selector
      official bW Lbwo;bW:Z
      intermediary field_7409 Lnet/minecraft/class_1634;field_7409:Z
      named alive Lnet/minecraft/entity/mob/VexEntity;alive:Z
    • lifeTicks

      private int lifeTicks
      Mappings:
      Namespace Name Mixin selector
      official bX Lbwo;bX:I
      intermediary field_7408 Lnet/minecraft/class_1634;field_7408:I
      named lifeTicks Lnet/minecraft/entity/mob/VexEntity;lifeTicks:I
  • Constructor Details

    • VexEntity

      public VexEntity(EntityType<? extends VexEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfh;<init>(Lbfl;Lcmk;)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

    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbfx;b(Lbgj;Lbfi;)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
    • isFlappingWings

      public boolean isFlappingWings()
      Returns whether the entity is flapping their wings.

      Entities flapping their wings will call Entity.addFlapEffects() inside Entity.addAirTravelEffects().

      Overrides:
      isFlappingWings in class Entity
      Returns:
      whether the entity is flapping their wings
      Mappings:
      Namespace Name Mixin selector
      official aO Lbfh;aO()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      named isFlappingWings Lnet/minecraft/entity/Entity;isFlappingWings()Z
    • move

      public void move(MovementType movementType, Vec3d movement)
      Overrides:
      move in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Lbgd;Leea;)V
      intermediary method_5784 Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)V
      named move Lnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbfh;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • initGoals

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

      public static DefaultAttributeContainer.Builder createVexAttributes()
      Mappings:
      Namespace Name Mixin selector
      official p Lbwo;p()Lbhd$a;
      intermediary method_26925 Lnet/minecraft/class_1634;method_26925()Lnet/minecraft/class_5132$class_5133;
      named createVexAttributes Lnet/minecraft/entity/mob/VexEntity;createVexAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbfh;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Lqr;)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)
      Writes custom data to nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbfh;b(Lqr;)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
    • getOwner

      @Nullable public @Nullable MobEntity getOwner()
      Specified by:
      getOwner in interface Ownable
      Mappings:
      Namespace Name Mixin selector
      official q Lbwo;q()Lbfz;
      intermediary method_7182 Lnet/minecraft/class_1634;method_7182()Lnet/minecraft/class_1308;
      named getOwner Lnet/minecraft/entity/mob/VexEntity;getOwner()Lnet/minecraft/entity/mob/MobEntity;
    • getBounds

      @Nullable public @Nullable BlockPos getBounds()
      Mappings:
      Namespace Name Mixin selector
      official t Lbwo;t()Lgu;
      intermediary method_7186 Lnet/minecraft/class_1634;method_7186()Lnet/minecraft/class_2338;
      named getBounds Lnet/minecraft/entity/mob/VexEntity;getBounds()Lnet/minecraft/util/math/BlockPos;
    • setBounds

      public void setBounds(@Nullable @Nullable BlockPos bounds)
      Mappings:
      Namespace Name Mixin selector
      official i Lbwo;i(Lgu;)V
      intermediary method_7188 Lnet/minecraft/class_1634;method_7188(Lnet/minecraft/class_2338;)V
      named setBounds Lnet/minecraft/entity/mob/VexEntity;setBounds(Lnet/minecraft/util/math/BlockPos;)V
    • areFlagsSet

      private boolean areFlagsSet(int mask)
      Mappings:
      Namespace Name Mixin selector
      official c Lbwo;c(I)Z
      intermediary method_7184 Lnet/minecraft/class_1634;method_7184(I)Z
      named areFlagsSet Lnet/minecraft/entity/mob/VexEntity;areFlagsSet(I)Z
    • setVexFlag

      private void setVexFlag(int mask, boolean value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwo;a(IZ)V
      intermediary method_7189 Lnet/minecraft/class_1634;method_7189(IZ)V
      named setVexFlag Lnet/minecraft/entity/mob/VexEntity;setVexFlag(IZ)V
    • isCharging

      public boolean isCharging()
      Mappings:
      Namespace Name Mixin selector
      official fX Lbwo;fX()Z
      intermediary method_7176 Lnet/minecraft/class_1634;method_7176()Z
      named isCharging Lnet/minecraft/entity/mob/VexEntity;isCharging()Z
    • setCharging

      public void setCharging(boolean charging)
      Mappings:
      Namespace Name Mixin selector
      official x Lbwo;x(Z)V
      intermediary method_7177 Lnet/minecraft/class_1634;method_7177(Z)V
      named setCharging Lnet/minecraft/entity/mob/VexEntity;setCharging(Z)V
    • setOwner

      public void setOwner(MobEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official a Lbwo;a(Lbfz;)V
      intermediary method_7178 Lnet/minecraft/class_1634;method_7178(Lnet/minecraft/class_1308;)V
      named setOwner Lnet/minecraft/entity/mob/VexEntity;setOwner(Lnet/minecraft/entity/mob/MobEntity;)V
    • setLifeTicks

      public void setLifeTicks(int lifeTicks)
      Mappings:
      Namespace Name Mixin selector
      official b Lbwo;b(I)V
      intermediary method_7181 Lnet/minecraft/class_1634;method_7181(I)V
      named setLifeTicks Lnet/minecraft/entity/mob/VexEntity;setLifeTicks(I)V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbfz;r()Lamg;
      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;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official g_ Lbfx;g_()Lamg;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbfx;d(Lbem;)Lamg;
      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;
    • getBrightnessAtEyes

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

      @Nullable public @Nullable 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 Lbfz;a(Lcmz;Lbdu;Lbgb;Lbgr;Lqr;)Lbgr;
      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;
    • initEquipment

      protected void initEquipment(Random random, LocalDifficulty localDifficulty)
      Overrides:
      initEquipment in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfz;a(Lapf;Lbdu;)V
      intermediary method_5964 Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_5819;Lnet/minecraft/class_1266;)V
      named initEquipment Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)V
    • getHeightOffset

      public double getHeightOffset()
      Overrides:
      getHeightOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bv Lbfh;bv()D
      intermediary method_5678 Lnet/minecraft/class_1297;method_5678()D
      named getHeightOffset Lnet/minecraft/entity/Entity;getHeightOffset()D