#905: Add missing MapCursor.Type and update documentation

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2023-09-23 10:03:17 +10:00
parent 8eec7d7fd5
commit 27975d2062

View file

@ -222,7 +222,7 @@ 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 resource 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 './assets/minecraft/textures/map/map_icons.png' from minecraft.jar or from a
* resource pack. * resource pack.
*/ */
public enum Type { public enum Type {
@ -252,7 +252,15 @@ public final class MapCursor {
BANNER_GREEN(23), BANNER_GREEN(23),
BANNER_RED(24), BANNER_RED(24),
BANNER_BLACK(25), BANNER_BLACK(25),
RED_X(26); RED_X(26),
DESERT_VILLAGE(27),
PLAINS_VILLAGE(28),
SAVANNA_VILLAGE(29),
SNOWY_VILLAGE(30),
TAIGA_VILLAGE(31),
JUNGLE_TEMPLE(32),
SWAMP_HUT(33),
;
private byte value; private byte value;