Class VexEntity

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

public class VexEntity extends HostileEntity implements Ownable
Mappings:
Namespace Name
official cdd
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 Lcdd;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 Lcdd;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 Lcdd;d:Lagm;
      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 Lcdd;e:I
      intermediary field_30503 Lnet/minecraft/class_1634;field_30503:I
      named CHARGING_FLAG Lnet/minecraft/entity/mob/VexEntity;CHARGING_FLAG:I
    • owner

      Mappings:
      Namespace Name Mixin selector
      official bT Lcdd;bT:Lbmn;
      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 bU Lcdd;bU:Lhx;
      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 bV Lcdd;bV: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 bW Lcdd;bW: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> Lblv;<init>(Lblz;Lctp;)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 Lbml;b(Lbmx;Lblw;)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 aT Lblv;aT()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 Lblv;a(Lbmr;Lelt;)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 Lblv;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 B Lbmn;B()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 u Lcdd;u()Lbnq$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 c_ Lblv;c_()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 have 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 Lblv;a(Lsn;)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
    • copyFrom

      public void copyFrom(Entity original)
      Copies serializable data and nether portal data from original.
      Overrides:
      copyFrom in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lblv;w(Lblv;)V
      intermediary method_5878 Lnet/minecraft/class_1297;method_5878(Lnet/minecraft/class_1297;)V
      named copyFrom Lnet/minecraft/entity/Entity;copyFrom(Lnet/minecraft/entity/Entity;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have 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 Lblv;b(Lsn;)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 A Lcdd;A()Lbmn;
      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 ge Lcdd;ge()Lhx;
      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 Lcdd;i(Lhx;)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 Lcdd;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 Lcdd;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 gf Lcdd;gf()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 w Lcdd;w(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 Lcdd;a(Lbmn;)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 Lcdd;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 y Lbmn;y()Larr;
      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 n_ Lbml;n_()Larr;
      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 Lbml;d(Lbkt;)Larr;
      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 bo Lblv;bo()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 Lbmn;a(Lcue;Lbjz;Lbmp;Lbne;Lsn;)Lbne;
      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 Lbmn;a(Lauv;Lbjz;)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
    • getUnscaledRidingOffset

      protected float getUnscaledRidingOffset(Entity vehicle)
      Overrides:
      getUnscaledRidingOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official l Lblv;l(Lblv;)F
      intermediary method_52537 Lnet/minecraft/class_1297;method_52537(Lnet/minecraft/class_1297;)F
      named getUnscaledRidingOffset Lnet/minecraft/entity/Entity;getUnscaledRidingOffset(Lnet/minecraft/entity/Entity;)F
    • getPassengerAttachmentPos

      protected Vector3f getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor)
      Overrides:
      getPassengerAttachmentPos in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lblv;a(Lblv;Lblw;F)Lorg/joml/Vector3f;
      intermediary method_52533 Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lorg/joml/Vector3f;
      named getPassengerAttachmentPos Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lorg/joml/Vector3f;