Class EvokerEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class EvokerEntity extends SpellcastingIllagerEntity
Mappings:
Namespace Name
official btw
intermediary net/minecraft/class_1564
named net/minecraft/entity/mob/EvokerEntity
  • Field Details

    • wololoTarget

      @Nullable private @Nullable SheepEntity wololoTarget
      Mappings:
      Namespace Name Mixin selector
      official e Lbtw;e:Lbqk;
      intermediary field_7264 Lnet/minecraft/class_1564;field_7264:Lnet/minecraft/class_1472;
      named wololoTarget Lnet/minecraft/entity/mob/EvokerEntity;wololoTarget:Lnet/minecraft/entity/passive/SheepEntity;
  • Constructor Details

    • EvokerEntity

      public EvokerEntity(EntityType<? extends EvokerEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdr;<init>(Lbdv;Lcjw;)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

    • initGoals

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

      public static DefaultAttributeContainer.Builder createEvokerAttributes()
      Mappings:
      Namespace Name Mixin selector
      official p Lbtw;p()Lbfi$a;
      intermediary method_26912 Lnet/minecraft/class_1564;method_26912()Lnet/minecraft/class_5132$class_5133;
      named createEvokerAttributes Lnet/minecraft/entity/mob/EvokerEntity;createEvokerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class SpellcastingIllagerEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbdr;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 SpellcastingIllagerEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbdr;a(Lqp;)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
    • getCelebratingSound

      public SoundEvent getCelebratingSound()
      Specified by:
      getCelebratingSound in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official N_ Lbxx;N_()Laln;
      intermediary method_20033 Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;
      named getCelebratingSound Lnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;
    • 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 SpellcastingIllagerEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbdr;b(Lqp;)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
    • mobTick

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

      public boolean isTeammate(Entity other)
      Returns whether this entity and other are in the same team.

      This returns false if this entity is not in any team.

      Overrides:
      isTeammate in class Entity
      Returns:
      whether this entity and other are in the same team
      Mappings:
      Namespace Name Mixin selector
      official q Lbdr;q(Lbdr;)Z
      intermediary method_5722 Lnet/minecraft/class_1297;method_5722(Lnet/minecraft/class_1297;)Z
      named isTeammate Lnet/minecraft/entity/Entity;isTeammate(Lnet/minecraft/entity/Entity;)Z
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbei;r()Laln;
      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 c_ Lbeg;c_()Laln;
      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 Lbeg;c(Lbcz;)Laln;
      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;
    • setWololoTarget

      void setWololoTarget(@Nullable @Nullable SheepEntity wololoTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Lbtw;a(Lbqk;)V
      intermediary method_7036 Lnet/minecraft/class_1564;method_7036(Lnet/minecraft/class_1472;)V
      named setWololoTarget Lnet/minecraft/entity/mob/EvokerEntity;setWololoTarget(Lnet/minecraft/entity/passive/SheepEntity;)V
    • getWololoTarget

      @Nullable @Nullable SheepEntity getWololoTarget()
      Mappings:
      Namespace Name Mixin selector
      official gf Lbtw;gf()Lbqk;
      intermediary method_7039 Lnet/minecraft/class_1564;method_7039()Lnet/minecraft/class_1472;
      named getWololoTarget Lnet/minecraft/entity/mob/EvokerEntity;getWololoTarget()Lnet/minecraft/entity/passive/SheepEntity;
    • getCastSpellSound

      protected SoundEvent getCastSpellSound()
      Specified by:
      getCastSpellSound in class SpellcastingIllagerEntity
      Mappings:
      Namespace Name Mixin selector
      official fM Lbun;fM()Laln;
      intermediary method_7142 Lnet/minecraft/class_1617;method_7142()Lnet/minecraft/class_3414;
      named getCastSpellSound Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;getCastSpellSound()Lnet/minecraft/sound/SoundEvent;
    • addBonusForWave

      public void addBonusForWave(int wave, boolean unused)
      Specified by:
      addBonusForWave in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbxx;a(IZ)V
      intermediary method_16484 Lnet/minecraft/class_3763;method_16484(IZ)V
      named addBonusForWave Lnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V