Class SpellcastingIllagerEntity

All Implemented Interfaces:
ComponentsAccess, Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, Nameable, EntityLike, UniquelyIdentifiable, ServerWaypoint, Waypoint
Direct Known Subclasses:
EvokerEntity, IllusionerEntity

public abstract class SpellcastingIllagerEntity extends IllagerEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/SpellcastingIllagerEntity
intermediary net/minecraft/class_1617
official csf
  • Field Details

    • SPELL

      private static final TrackedData<Byte> SPELL
      Mappings:
      Namespace Name Mixin selector
      named SPELL Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;SPELL:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7373 Lnet/minecraft/class_1617;field_7373:Lnet/minecraft/class_2940;
      official a Lcsf;a:Lalh;
    • DEFAULT_SPELL_TICKS

      private static final int DEFAULT_SPELL_TICKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SPELL_TICKS Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;DEFAULT_SPELL_TICKS:I
      intermediary field_57693 Lnet/minecraft/class_1617;field_57693:I
      official e Lcsf;e:I
    • spellTicks

      protected int spellTicks
      Mappings:
      Namespace Name Mixin selector
      named spellTicks Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;spellTicks:I
      intermediary field_7372 Lnet/minecraft/class_1617;field_7372:I
      official b Lcsf;b:I
    • spell

      Mappings:
      Namespace Name Mixin selector
      named spell Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;spell:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      intermediary field_7371 Lnet/minecraft/class_1617;field_7371:Lnet/minecraft/class_1617$class_1618;
      official f Lcsf;f:Lcsf$a;
  • Constructor Details

    • SpellcastingIllagerEntity

      protected SpellcastingIllagerEntity(EntityType<? extends SpellcastingIllagerEntity> 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> Lbzm;<init>(Lbzv;Ldmu;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class RaiderEntity
      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 Lbzm;a(Lall$a;)V
    • readCustomData

      protected void readCustomData(ReadView view)
      Overrides:
      readCustomData in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      named readCustomData Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
      official a Lbzm;a(Lfda;)V
    • writeCustomData

      protected void writeCustomData(WriteView view)
      Overrides:
      writeCustomData in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      named writeCustomData Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
      official a Lbzm;a(Lfdc;)V
    • getState

      public IllagerEntity.State getState()
      Overrides:
      getState in class IllagerEntity
      Mappings:
      Namespace Name Mixin selector
      named getState Lnet/minecraft/entity/mob/IllagerEntity;getState()Lnet/minecraft/entity/mob/IllagerEntity$State;
      intermediary method_6990 Lnet/minecraft/class_1543;method_6990()Lnet/minecraft/class_1543$class_1544;
      official l Lcrc;l()Lcrc$a;
    • isSpellcasting

      public boolean isSpellcasting()
      Mappings:
      Namespace Name Mixin selector
      named isSpellcasting Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;isSpellcasting()Z
      intermediary method_7137 Lnet/minecraft/class_1617;method_7137()Z
      official gQ Lcsf;gQ()Z
    • setSpell

      public void setSpell(SpellcastingIllagerEntity.Spell spell)
      Mappings:
      Namespace Name Mixin selector
      named setSpell Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;setSpell(Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;)V
      intermediary method_7138 Lnet/minecraft/class_1617;method_7138(Lnet/minecraft/class_1617$class_1618;)V
      official a Lcsf;a(Lcsf$a;)V
    • getSpell

      protected SpellcastingIllagerEntity.Spell getSpell()
      Mappings:
      Namespace Name Mixin selector
      named getSpell Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;getSpell()Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      intermediary method_7140 Lnet/minecraft/class_1617;method_7140()Lnet/minecraft/class_1617$class_1618;
      official gR Lcsf;gR()Lcsf$a;
    • mobTick

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
      official a Lcao;a(Laub;)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 g Lbzm;g()V
    • getSpellTicks

      protected int getSpellTicks()
      Mappings:
      Namespace Name Mixin selector
      named getSpellTicks Lnet/minecraft/entity/mob/SpellcastingIllagerEntity;getSpellTicks()I
      intermediary method_7139 Lnet/minecraft/class_1617;method_7139()I
      official gS Lcsf;gS()I
    • getCastSpellSound

      protected abstract SoundEvent getCastSpellSound()
      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 t Lcsf;t()Layy;