Class EvokerEntity

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

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

    • wololoTarget

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

    • EvokerEntity

      public EvokerEntity(EntityType<? extends EvokerEntity> 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

    • initGoals

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

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

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class SpellcastingIllagerEntity
      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 SpellcastingIllagerEntity
      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
    • getCelebratingSound

      public SoundEvent getCelebratingSound()
      Specified by:
      getCelebratingSound in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      named getCelebratingSound Lnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_20033 Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;
      official ai_ Lcoj;ai_()Lavo;
    • 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
      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
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class SpellcastingIllagerEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      official ab Lbtp;ab()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 IllagerEntity
      Returns:
      whether this entity and other are in the same team
      Mappings:
      Namespace Name Mixin selector
      named isTeammate Lnet/minecraft/entity/Entity;isTeammate(Lnet/minecraft/entity/Entity;)Z
      intermediary method_5722 Lnet/minecraft/class_1297;method_5722(Lnet/minecraft/class_1297;)Z
      official s Lbsr;s(Lbsr;)Z
    • 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;
    • setWololoTarget

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

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

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

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