Class EvokerEntity

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

public class EvokerEntity extends SpellcastingIllagerEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/EvokerEntity
intermediary net/minecraft/class_1564
official cmp
  • 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 a Lcmp;a:Lcis;
  • 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> Lbvj;<init>(Lbvq;Ldhh;)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 Lbwh;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 p Lcmp;p()Lbxm$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 Lbvj;a(Lalg$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 Lbvj;a(Lux;)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 ak_ Lcrk;ak_()Laxe;
    • 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 Lbvj;b(Lux;)V
    • isInSameTeam

      protected boolean isInSameTeam(Entity other)
      Overrides:
      isInSameTeam in class IllagerEntity
      Mappings:
      Namespace Name Mixin selector
      named isInSameTeam Lnet/minecraft/entity/Entity;isInSameTeam(Lnet/minecraft/entity/Entity;)Z
      intermediary method_61416 Lnet/minecraft/class_1297;method_61416(Lnet/minecraft/class_1297;)Z
      official t Lbvj;t(Lbvj;)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 u Lbwh;u()Laxe;
    • 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 o_ Lbwf;o_()Laxe;
    • 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 e Lbwf;e(Lbtz;)Laxe;
    • 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 Lcmp;a(Lcis;)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 gI Lcmp;gI()Lcis;
    • 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 x Lcng;x()Laxe;
    • 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 Lcrk;a(Lash;IZ)V