Class MonsterBase

All Implemented Interfaces:
class_582, MonsterEntityType
Direct Known Subclasses:
Creeper, Giant, Skeleton, Spider, Zombie

public class MonsterBase extends WalkingBase implements MonsterEntityType
Mappings:
Namespace Name
intermediary net/minecraft/class_146
glue class_176
server ep
client gz
named net/minecraft/entity/monster/MonsterBase
  • Field Details

    • attackDamage

      protected int attackDamage
      Mappings:
      Namespace Name Mixin selector
      intermediary field_547 Lnet/minecraft/class_146;field_547:I
      glue field_754 Lclass_176;field_754:I
      server c Lep;c:I
      client c Lgz;c:I
      named attackDamage Lnet/minecraft/entity/monster/MonsterBase;attackDamage:I
  • Constructor Details

    • MonsterBase

      public MonsterBase(Level level)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_57;<init>(Lnet/minecraft/class_18;)V
      glue <init> Lclass_450;<init>(Lclass_129;)V
      server <init> Llq;<init>(Ldj;)V
      client <init> Lsn;<init>(Lfd;)V
      named <init> Lnet/minecraft/entity/EntityBase;<init>(Lnet/minecraft/level/Level;)V
  • Method Details

    • updateDespawnCounter

      public void updateDespawnCounter()
      Overrides:
      updateDespawnCounter in class Living
      Mappings:
      Namespace Name Mixin selector
      intermediary method_937 Lnet/minecraft/class_127;method_937()V
      glue method_442 Lclass_283;method_442()V
      server v Lhl;v()V
      client o Lls;o()V
      named updateDespawnCounter Lnet/minecraft/entity/Living;updateDespawnCounter()V
    • tick

      public void tick()
      Overrides:
      tick in class Living
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1370 Lnet/minecraft/class_57;method_1370()V
      glue method_29 Lclass_450;method_29()V
      server m_ Llq;m_()V
      client w_ Lsn;w_()V
      named tick Lnet/minecraft/entity/EntityBase;tick()V
    • getAttackTarget

      protected EntityBase getAttackTarget()
      Overrides:
      getAttackTarget in class WalkingBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_638 Lnet/minecraft/class_188;method_638()Lnet/minecraft/class_57;
      glue method_196 Lclass_212;method_196()Lclass_450;
      server o Lfp;o()Llq;
      client g_ Lii;g_()Lsn;
      named getAttackTarget Lnet/minecraft/entity/WalkingBase;getAttackTarget()Lnet/minecraft/entity/EntityBase;
    • damage

      public boolean damage(EntityBase target, int amount)
      Overrides:
      damage in class Living
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1355 Lnet/minecraft/class_57;method_1355(Lnet/minecraft/class_57;I)Z
      glue method_178 Lclass_450;method_178(Lclass_450;I)Z
      server a Llq;a(Llq;I)Z
      client a Lsn;a(Lsn;I)Z
      named damage Lnet/minecraft/entity/EntityBase;damage(Lnet/minecraft/entity/EntityBase;I)Z
    • tryAttack

      protected void tryAttack(EntityBase target, float float2)
      Overrides:
      tryAttack in class WalkingBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_637 Lnet/minecraft/class_188;method_637(Lnet/minecraft/class_57;F)V
      glue method_193 Lclass_212;method_193(Lclass_450;F)V
      server a Lfp;a(Llq;F)V
      client a Lii;a(Lsn;F)V
      named tryAttack Lnet/minecraft/entity/WalkingBase;tryAttack(Lnet/minecraft/entity/EntityBase;F)V
    • getPathfindingFavour

      protected float getPathfindingFavour(int x, int y, int z)
      Overrides:
      getPathfindingFavour in class WalkingBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_641 Lnet/minecraft/class_188;method_641(III)F
      glue method_91 Lclass_212;method_91(III)F
      server a Lfp;a(III)F
      client a Lii;a(III)F
      named getPathfindingFavour Lnet/minecraft/entity/WalkingBase;getPathfindingFavour(III)F
    • writeCustomDataToTag

      public void writeCustomDataToTag(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class Living
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1368 Lnet/minecraft/class_57;method_1368(Lnet/minecraft/class_8;)V
      glue method_24 Lclass_450;method_24(Lclass_333;)V
      server b Llq;b(Liq;)V
      client b Lsn;b(Lnu;)V
      named writeCustomDataToTag Lnet/minecraft/entity/EntityBase;writeCustomDataToTag(Lnet/minecraft/util/io/CompoundTag;)V
    • readCustomDataFromTag

      public void readCustomDataFromTag(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class Living
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1363 Lnet/minecraft/class_57;method_1363(Lnet/minecraft/class_8;)V
      glue method_23 Lclass_450;method_23(Lclass_333;)V
      server a Llq;a(Liq;)V
      client a Lsn;a(Lnu;)V
      named readCustomDataFromTag Lnet/minecraft/entity/EntityBase;readCustomDataFromTag(Lnet/minecraft/util/io/CompoundTag;)V
    • canSpawn

      public boolean canSpawn()
      Overrides:
      canSpawn in class WalkingBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_935 Lnet/minecraft/class_127;method_935()Z
      glue method_26 Lclass_283;method_26()Z
      server d Lhl;d()Z
      client d Lls;d()Z
      named canSpawn Lnet/minecraft/entity/Living;canSpawn()Z