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>
This commit is contained in:
apple502j 2021-10-20 01:17:05 +09:00 committed by GitHub
parent 4f29a712e1
commit cd41fa9d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -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}.