package net.glowstone.constants; /** * Name mappings for magic values in UpdateBlockEntity packet */ public enum GlowBlockEntity { MOB_SPAWNER_POTENTIALS(1), COMMAND_BLOCK(2), BEACON(3), SKULL(4), FLOWER_POT(5), BANNER(6), STRUCTURE(7), END_GATEWAY(8), SIGN(9), SHULKER_BOX(10); private final int value; GlowBlockEntity(int value) { this.value = value; } /** * Gets the magic number associated with this GlowBlockEntity * * @return the magic number */ public int getValue() { return value; } }