Add new map icons to MapCursor.Type

By: Pokechu22 <Pokechu022@gmail.com>
This commit is contained in:
Bukkit/Spigot 2017-01-20 23:08:49 -08:00
parent 37102c4137
commit 86a1bf165c

View file

@ -147,16 +147,21 @@ public final class MapCursor {
/** /**
* Represents the standard types of map cursors. More may be made * Represents the standard types of map cursors. More may be made
* available by texture packs - the value is used by the client as an * available by resource packs - the value is used by the client as an
* index in the file './misc/mapicons.png' from minecraft.jar or from a * index in the file './misc/mapicons.png' from minecraft.jar or from a
* texture pack. * resource pack.
*/ */
public enum Type { public enum Type {
WHITE_POINTER(0), WHITE_POINTER(0),
GREEN_POINTER(1), GREEN_POINTER(1),
RED_POINTER(2), RED_POINTER(2),
BLUE_POINTER(3), BLUE_POINTER(3),
WHITE_CROSS(4); WHITE_CROSS(4),
RED_MARKER(5),
WHITE_CIRCLE(6),
SMALL_WHITE_CIRCLE(7),
MANSION(8),
TEMPLE(9);
private byte value; private byte value;