Interface Monster

All Known Implementing Classes:
AbstractPiglinEntity, AbstractSkeletonEntity, BlazeEntity, BoggedEntity, BreezeEntity, CaveSpiderEntity, CreakingEntity, 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 cpc
  • Field Details

    • ZERO_EXPERIENCE

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

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

      static final int NORMAL_MONSTER_EXPERIENCE
      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_EXPERIENCE Lnet/minecraft/entity/mob/Monster;NORMAL_MONSTER_EXPERIENCE:I
      intermediary field_30466 Lnet/minecraft/class_1569;field_30466:I
      official h_ Lcpc;h_:I
    • STRONG_MONSTER_EXPERIENCE

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

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

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