Class IllagerEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
PillagerEntity, SpellcastingIllagerEntity, VindicatorEntity

public abstract class IllagerEntity extends RaiderEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/IllagerEntity
intermediary net/minecraft/class_1543
official cjk
  • Constructor Details

    • IllagerEntity

      protected IllagerEntity(EntityType<? extends IllagerEntity> 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 RaiderEntity
      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
    • getState

      public IllagerEntity.State getState()
      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 s Lcjk;s()Lcjk$a;
    • canTarget

      public boolean canTarget(LivingEntity target)
      Overrides:
      canTarget in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_18395 Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Z
      official c Lbtn;c(Lbtn;)Z
    • 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
      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