From cd41fa9d2b96c10eefabe67c15cfe9f46dbde511 Mon Sep 17 00:00:00 2001 From: apple502j <33279053+apple502j@users.noreply.github.com> Date: Wed, 20 Oct 2021 01:17:05 +0900 Subject: [PATCH] 21w41a monster XP fields (#2757) * 21w41a monster XP fields * Added javadoc * Update mappings/net/minecraft/entity/mob/Monster.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> --- .../net/minecraft/entity/mob/Monster.mapping | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/mappings/net/minecraft/entity/mob/Monster.mapping b/mappings/net/minecraft/entity/mob/Monster.mapping index 35d9eaceff..edcc9ecd79 100644 --- a/mappings/net/minecraft/entity/mob/Monster.mapping +++ b/mappings/net/minecraft/entity/mob/Monster.mapping @@ -1 +1,26 @@ CLASS net/minecraft/class_1569 net/minecraft/entity/mob/Monster + COMMENT This interface marks that an entity class belongs to monsters, including + COMMENT hostile mobs like zombies. It also contains constants to be used for + COMMENT setting {@link MobEntity#experiencePoints}. + COMMENT + COMMENT @see net.minecraft.entity.SpawnGroup#MONSTER + FIELD field_30464 ZERO_XP I + COMMENT @apiNote This is used for mobs that do not drop experience. + FIELD field_30465 SMALL_MONSTER_XP I + COMMENT @apiNote This is used for monsters such as + COMMENT {@linkplain EndermiteEntity endermites} and + COMMENT {@linkplain VexEntity vexes}. + FIELD field_30466 NORMAL_MONSTER_XP I + COMMENT @apiNote This is used for most of the monsters, such as + COMMENT {@linkplain ZombieEntity zombies} and + COMMENT {@linkplain SkeletonEntity skeletons}. + FIELD field_30467 STRONG_MONSTER_XP I + COMMENT @apiNote This is used for monsters such as + COMMENT {@linkplain BlazeEntity blazes} and + COMMENT {@linkplain GuardianEntity guardians}. + FIELD field_30468 STRONGER_MONSTER_XP I + COMMENT @apiNote This is used for {@linkplain PiglinBruteEntity piglin brutes} + COMMENT and {@linkplain RavagerEntity ravagers}. + FIELD field_30469 WITHER_XP I + COMMENT @apiNote This is used for + COMMENT {@linkplain net.minecraft.entity.boss.WitherEntity withers}.