Class VexEntity

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

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

    • field_30502

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

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

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

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

      Mappings:
      Namespace Name Mixin selector
      named owner Lnet/minecraft/entity/mob/VexEntity;owner:Lnet/minecraft/entity/mob/MobEntity;
      intermediary field_7411 Lnet/minecraft/class_1634;field_7411:Lnet/minecraft/class_1308;
      official cc Lckr;cc:Lbtp;
    • bounds

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

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

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

    • VexEntity

      public VexEntity(EntityType<? extends VexEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsr;<init>(Lbsx;Ldcw;)V
  • Method Details

    • 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
      named isFlappingWings Lnet/minecraft/entity/Entity;isFlappingWings()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      official aW Lbsr;aW()Z
    • move

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

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to MobEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsr;l()V
    • initGoals

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

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

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbsr;a(Laka$a;)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
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbsr;a(Lub;)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
      named copyFrom Lnet/minecraft/entity/Entity;copyFrom(Lnet/minecraft/entity/Entity;)V
      intermediary method_5878 Lnet/minecraft/class_1297;method_5878(Lnet/minecraft/class_1297;)V
      official w Lbsr;w(Lbsr;)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
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbsr;b(Lub;)V
    • getOwner

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

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

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

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

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

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

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

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

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

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official v Lbtp;v()Lavo;
    • getDeathSound

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

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official d Lbtn;d(Lbrk;)Lavo;
    • getBrightnessAtEyes

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

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      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/entity/EntityData;
      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_1315;
      official a Lbtp;a(Lddl;Lbqp;Lbtr;Lbuh;)Lbuh;
    • initEquipment

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