Class EvokerEntity

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

public class EvokerEntity extends SpellcastingIllagerEntity
Mappings:
Namespace Name
official cci
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 Lcci;e:Lbyu;
      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> 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

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class IllagerEntity
      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
    • createEvokerAttributes

      public static DefaultAttributeContainer.Builder createEvokerAttributes()
      Mappings:
      Namespace Name Mixin selector
      official w Lcci;w()Lbnq$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 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 SpellcastingIllagerEntity
      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
    • getCelebratingSound

      public SoundEvent getCelebratingSound()
      Specified by:
      getCelebratingSound in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official af_ Lcgr;af_()Larr;
      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 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 SpellcastingIllagerEntity
      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
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class SpellcastingIllagerEntity
      Mappings:
      Namespace Name Mixin selector
      official Z Lbmn;Z()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 s Lblv;s(Lblv;)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 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;
    • setWololoTarget

      void setWololoTarget(@Nullable @Nullable SheepEntity wololoTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Lcci;a(Lbyu;)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 gx Lcci;gx()Lbyu;
      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 ge Lccz;ge()Larr;
      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 Lcgr;a(IZ)V
      intermediary method_16484 Lnet/minecraft/class_3763;method_16484(IZ)V
      named addBonusForWave Lnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V