Enemy .java

net.minecraft.world.entity.monster.Enemy (interface): members: XP_REWARD_MEDIUM, XP_REWARD_LARGE, XP_REWARD_SMALL, XP_REWARD_BOSS, XP_REWARD_HUGE.

net.minecraft.world.entity.monsterinterface11 linescommon229 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (6)

XP_REWARD_NONE
XP_REWARD_SMALL
XP_REWARD_MEDIUM
XP_REWARD_LARGE
XP_REWARD_HUGE
XP_REWARD_BOSS

Full Source

Enemy.java11 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.entity.monster;
2
3
public interface Enemy {
4
	int XP_REWARD_NONE = 0;
5
	int XP_REWARD_SMALL = 3;
6
	int XP_REWARD_MEDIUM = 5;
7
	int XP_REWARD_LARGE = 10;
8
	int XP_REWARD_HUGE = 20;
9
	int XP_REWARD_BOSS = 50;
10
}
11

Decompiled Minecraft 26.3 source of Enemy (net/minecraft/world/entity/monster/Enemy.java) with Mojang official mappings, stored verbatim on the site.