Add new OP permission level entity status values.

This commit is contained in:
Steven Smith 2015-08-22 16:23:17 -07:00
parent 4d68bc26eb
commit 447fb16447
2 changed files with 11 additions and 3 deletions

View file

@ -267,6 +267,11 @@ public class MagicValues {
register(EntityStatus.GUARDIAN_SOUND, 21); register(EntityStatus.GUARDIAN_SOUND, 21);
register(EntityStatus.ENABLE_REDUCED_DEBUG, 22); register(EntityStatus.ENABLE_REDUCED_DEBUG, 22);
register(EntityStatus.DISABLE_REDUCED_DEBUG, 23); register(EntityStatus.DISABLE_REDUCED_DEBUG, 23);
register(EntityStatus.OP_PERMISSION_LEVEL_0, 24);
register(EntityStatus.OP_PERMISSION_LEVEL_1, 25);
register(EntityStatus.OP_PERMISSION_LEVEL_2, 26);
register(EntityStatus.OP_PERMISSION_LEVEL_3, 27);
register(EntityStatus.OP_PERMISSION_LEVEL_4, 28);
register(PositionElement.X, 0); register(PositionElement.X, 0);
register(PositionElement.Y, 1); register(PositionElement.Y, 1);

View file

@ -1,7 +1,6 @@
package org.spacehq.mc.protocol.data.game.values.entity; package org.spacehq.mc.protocol.data.game.values.entity;
public enum EntityStatus { public enum EntityStatus {
HURT_OR_MINECART_SPAWNER_DELAY_RESET, HURT_OR_MINECART_SPAWNER_DELAY_RESET,
LIVING_HURT, LIVING_HURT,
DEAD, DEAD,
@ -23,6 +22,10 @@ public enum EntityStatus {
EXPLOSION_PARTICLE, EXPLOSION_PARTICLE,
GUARDIAN_SOUND, GUARDIAN_SOUND,
ENABLE_REDUCED_DEBUG, ENABLE_REDUCED_DEBUG,
DISABLE_REDUCED_DEBUG; DISABLE_REDUCED_DEBUG,
OP_PERMISSION_LEVEL_0,
OP_PERMISSION_LEVEL_1,
OP_PERMISSION_LEVEL_2,
OP_PERMISSION_LEVEL_3,
OP_PERMISSION_LEVEL_4;
} }