Interface Monster

All Known Implementing Classes:
AbstractPiglinEntity, AbstractSkeletonEntity, BlazeEntity, BoggedEntity, BreezeEntity, CaveSpiderEntity, CreeperEntity, DrownedEntity, ElderGuardianEntity, EnderDragonEntity, EndermanEntity, EndermiteEntity, EvokerEntity, GhastEntity, GiantEntity, GuardianEntity, HoglinEntity, HostileEntity, HuskEntity, IllagerEntity, IllusionerEntity, MagmaCubeEntity, PatrolEntity, PhantomEntity, PiglinBruteEntity, PiglinEntity, PillagerEntity, RaiderEntity, RavagerEntity, ShulkerEntity, SilverfishEntity, SkeletonEntity, SlimeEntity, SpellcastingIllagerEntity, SpiderEntity, StrayEntity, VexEntity, VindicatorEntity, WardenEntity, WitchEntity, WitherEntity, WitherSkeletonEntity, ZoglinEntity, ZombieEntity, ZombieVillagerEntity, ZombifiedPiglinEntity

public interface Monster
This interface marks that an entity class belongs to monsters, including hostile mobs like zombies. It also contains constants to be used for setting MobEntity.experiencePoints.
See Also:
Mappings:
Namespace Name
named net/minecraft/entity/mob/Monster
intermediary net/minecraft/class_1569
official cjv
  • Field Details

    • ZERO_XP

      static final int ZERO_XP
      See Also:
      API Note:
      This is used for mobs that do not drop experience.
      Mappings:
      Namespace Name Mixin selector
      named ZERO_XP Lnet/minecraft/entity/mob/Monster;ZERO_XP:I
      intermediary field_30464 Lnet/minecraft/class_1569;field_30464:I
      official i_ Lcjv;i_:I
    • SMALL_MONSTER_XP

      static final int SMALL_MONSTER_XP
      See Also:
      API Note:
      This is used for monsters such as endermites and vexes.
      Mappings:
      Namespace Name Mixin selector
      named SMALL_MONSTER_XP Lnet/minecraft/entity/mob/Monster;SMALL_MONSTER_XP:I
      intermediary field_30465 Lnet/minecraft/class_1569;field_30465:I
      official j_ Lcjv;j_:I
    • NORMAL_MONSTER_XP

      static final int NORMAL_MONSTER_XP
      See Also:
      API Note:
      This is used for most of the monsters, such as zombies and skeletons.
      Mappings:
      Namespace Name Mixin selector
      named NORMAL_MONSTER_XP Lnet/minecraft/entity/mob/Monster;NORMAL_MONSTER_XP:I
      intermediary field_30466 Lnet/minecraft/class_1569;field_30466:I
      official k_ Lcjv;k_:I
    • STRONG_MONSTER_XP

      static final int STRONG_MONSTER_XP
      See Also:
      API Note:
      This is used for monsters such as blazes and guardians.
      Mappings:
      Namespace Name Mixin selector
      named STRONG_MONSTER_XP Lnet/minecraft/entity/mob/Monster;STRONG_MONSTER_XP:I
      intermediary field_30467 Lnet/minecraft/class_1569;field_30467:I
      official l_ Lcjv;l_:I
    • STRONGER_MONSTER_XP

      static final int STRONGER_MONSTER_XP
      See Also:
      API Note:
      This is used for piglin brutes and ravagers.
      Mappings:
      Namespace Name Mixin selector
      named STRONGER_MONSTER_XP Lnet/minecraft/entity/mob/Monster;STRONGER_MONSTER_XP:I
      intermediary field_30468 Lnet/minecraft/class_1569;field_30468:I
      official m_ Lcjv;m_:I
    • WITHER_XP

      static final int WITHER_XP
      See Also:
      API Note:
      This is used for withers.
      Mappings:
      Namespace Name Mixin selector
      named WITHER_XP Lnet/minecraft/entity/mob/Monster;WITHER_XP:I
      intermediary field_30469 Lnet/minecraft/class_1569;field_30469:I
      official n_ Lcjv;n_:I