Add missing 1.14 entity statuses

This commit is contained in:
Jonas Herzig 2019-07-06 12:35:08 +02:00
parent a5af5c1762
commit f3be50538e
2 changed files with 29 additions and 1 deletions

View file

@ -337,6 +337,20 @@ public class MagicValues {
register(EntityStatus.LIVING_DROWN, 36);
register(EntityStatus.LIVING_BURN, 37);
register(EntityStatus.DOLPHIN_HAPPY, 38);
register(EntityStatus.RAVAGER_STUNNED, 39);
register(EntityStatus.OCELOT_TAMING_FAILED, 40);
register(EntityStatus.OCELOT_TAMING_SUCCEEDED, 41);
register(EntityStatus.VILLAGER_SWEAT, 42);
register(EntityStatus.PLAYER_EMIT_CLOUD, 43);
register(EntityStatus.LIVING_HURT_SWEET_BERRY_BUSH, 44);
register(EntityStatus.FOX_EATING, 45);
register(EntityStatus.LIVING_TELEPORT, 46);
register(EntityStatus.LIVING_EQUIPMENT_BREAK_MAIN_HAND, 47);
register(EntityStatus.LIVING_EQUIPMENT_BREAK_OFF_HAND, 48);
register(EntityStatus.LIVING_EQUIPMENT_BREAK_HEAD, 49);
register(EntityStatus.LIVING_EQUIPMENT_BREAK_CHEST, 50);
register(EntityStatus.LIVING_EQUIPMENT_BREAK_LEGS, 51);
register(EntityStatus.LIVING_EQUIPMENT_BREAK_FEET, 52);
register(PositionElement.X, 0);
register(PositionElement.Y, 1);

View file

@ -38,5 +38,19 @@ public enum EntityStatus {
TOTEM_OF_UNDYING_MAKE_SOUND,
LIVING_DROWN,
LIVING_BURN,
DOLPHIN_HAPPY;
DOLPHIN_HAPPY,
RAVAGER_STUNNED,
OCELOT_TAMING_FAILED,
OCELOT_TAMING_SUCCEEDED,
VILLAGER_SWEAT, // water particle emitted randomly while raid is active
PLAYER_EMIT_CLOUD, // sent to player whose Bad Omen effect is activated
LIVING_HURT_SWEET_BERRY_BUSH,
FOX_EATING,
LIVING_TELEPORT,
LIVING_EQUIPMENT_BREAK_MAIN_HAND,
LIVING_EQUIPMENT_BREAK_OFF_HAND,
LIVING_EQUIPMENT_BREAK_HEAD,
LIVING_EQUIPMENT_BREAK_CHEST,
LIVING_EQUIPMENT_BREAK_LEGS,
LIVING_EQUIPMENT_BREAK_FEET;
}