Class VexEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class VexEntity extends HostileEntity
Mappings:
Namespace Name
official bse
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 Lbse;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 Lbse;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 Lbse;d:Laaj;
      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 Lbse;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 bX Lbse;bX:Lbce;
      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 bY Lbse;bY:Lgt;
      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 bZ Lbse;bZ: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 ca Lbse;ca: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> Lbbn;<init>(Lbbr;Lcgx;)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()
      Returns whether the entity has wings.

      Entities with wings will call Entity.addFlapEffects() inside Entity.addAirTravelEffects().

      Overrides:
      hasWings in class Entity
      Returns:
      whether the entity has wings
      Mappings:
      Namespace Name Mixin selector
      official aL Lbbn;aL()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      named hasWings Lnet/minecraft/entity/Entity;hasWings()Z
    • move

      public void move(MovementType movementType, Vec3d movement)
      Overrides:
      move in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Lbci;Ldwq;)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 k Lbbn;k()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 u Lbce;u()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 n Lbse;n()Lbdc$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_ Lbbn;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 Lbbn;a(Lpj;)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 Lbbn;b(Lpj;)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()
      Mappings:
      Namespace Name Mixin selector
      official q Lbse;q()Lbce;
      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 Lbse;t()Lgt;
      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 g Lbse;g(Lgt;)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 b Lbse;b(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 Lbse;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 fJ Lbse;fJ()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 v Lbse;v(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 Lbse;a(Lbce;)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 a Lbse;a(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 Lbce;r()Lajv;
      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 x_ Lbcc;x_()Lajv;
      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 c Lbcc;c(Lbaw;)Lajv;
      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 bg Lbbn;bg()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 Lbce;a(Lchm;Lbah;Lbcg;Lbcu;Lpj;)Lbcu;
      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 Lbce;a(Lamn;Lbah;)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