mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
SPIGOT-7355: More field renames and fixes
- Rename MapCursor Types to match their Minecraft names - SPIGOT-7355: Rename ItemFlag#HIDE_POTION_EFFECTS to better reflect its function By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ public final class StructureType implements Keyed {
|
|||||||
* They come in my different variations. The cold variants consist primarily
|
* They come in my different variations. The cold variants consist primarily
|
||||||
* of stone brick, and the warm variants consist of sandstone.
|
* of stone brick, and the warm variants consist of sandstone.
|
||||||
*/
|
*/
|
||||||
public static final StructureType OCEAN_RUIN = register(new StructureType("ocean_ruin", MapCursor.Type.TEMPLE));
|
public static final StructureType OCEAN_RUIN = register(new StructureType("ocean_ruin", MapCursor.Type.MONUMENT));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Desert pyramids (also known as desert temples) are found in deserts.
|
* Desert pyramids (also known as desert temples) are found in deserts.
|
||||||
@@ -107,7 +107,7 @@ public final class StructureType implements Keyed {
|
|||||||
* lanterns. They are the only place guardians and elder guardians spawn
|
* lanterns. They are the only place guardians and elder guardians spawn
|
||||||
* naturally.
|
* naturally.
|
||||||
*/
|
*/
|
||||||
public static final StructureType OCEAN_MONUMENT = register(new StructureType("monument", MapCursor.Type.TEMPLE));
|
public static final StructureType OCEAN_MONUMENT = register(new StructureType("monument", MapCursor.Type.MONUMENT));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* End Cities are tall castle-like structures that generate in the outer
|
* End Cities are tall castle-like structures that generate in the outer
|
||||||
|
@@ -29,7 +29,7 @@ public enum ItemFlag {
|
|||||||
* Setting to show/hide potion effects, book and firework information, map
|
* Setting to show/hide potion effects, book and firework information, map
|
||||||
* tooltips, patterns of banners, and enchantments of enchanted books.
|
* tooltips, patterns of banners, and enchantments of enchanted books.
|
||||||
*/
|
*/
|
||||||
HIDE_POTION_EFFECTS,
|
HIDE_ADDITIONAL_TOOLTIP,
|
||||||
/**
|
/**
|
||||||
* Setting to show/hide dyes from colored leather armor.
|
* Setting to show/hide dyes from colored leather armor.
|
||||||
*/
|
*/
|
||||||
|
@@ -228,16 +228,16 @@ public final class MapCursor {
|
|||||||
* resource pack.
|
* resource pack.
|
||||||
*/
|
*/
|
||||||
public enum Type implements Keyed {
|
public enum Type implements Keyed {
|
||||||
WHITE_POINTER(0, "player"),
|
PLAYER(0, "player"),
|
||||||
GREEN_POINTER(1, "frame"),
|
FRAME(1, "frame"),
|
||||||
RED_POINTER(2, "red_marker"),
|
RED_MARKER(2, "red_marker"),
|
||||||
BLUE_POINTER(3, "blue_marker"),
|
BLUE_MARKER(3, "blue_marker"),
|
||||||
WHITE_CROSS(4, "target_x"),
|
TARGET_X(4, "target_x"),
|
||||||
RED_MARKER(5, "target_point"),
|
TARGET_POINT(5, "target_point"),
|
||||||
WHITE_CIRCLE(6, "player_off_map"),
|
PLAYER_OFF_MAP(6, "player_off_map"),
|
||||||
SMALL_WHITE_CIRCLE(7, "player_off_limits"),
|
PLAYER_OFF_LIMITS(7, "player_off_limits"),
|
||||||
MANSION(8, "mansion"),
|
MANSION(8, "mansion"),
|
||||||
TEMPLE(9, "monument"),
|
MONUMENT(9, "monument"),
|
||||||
BANNER_WHITE(10, "banner_white"),
|
BANNER_WHITE(10, "banner_white"),
|
||||||
BANNER_ORANGE(11, "banner_orange"),
|
BANNER_ORANGE(11, "banner_orange"),
|
||||||
BANNER_MAGENTA(12, "banner_magenta"),
|
BANNER_MAGENTA(12, "banner_magenta"),
|
||||||
@@ -255,11 +255,11 @@ public final class MapCursor {
|
|||||||
BANNER_RED(24, "banner_red"),
|
BANNER_RED(24, "banner_red"),
|
||||||
BANNER_BLACK(25, "banner_black"),
|
BANNER_BLACK(25, "banner_black"),
|
||||||
RED_X(26, "red_x"),
|
RED_X(26, "red_x"),
|
||||||
DESERT_VILLAGE(27, "village_desert"),
|
VILLAGE_DESERT(27, "village_desert"),
|
||||||
PLAINS_VILLAGE(28, "village_plains"),
|
VILLAGE_PLAINS(28, "village_plains"),
|
||||||
SAVANNA_VILLAGE(29, "village_savanna"),
|
VILLAGE_SAVANNA(29, "village_savanna"),
|
||||||
SNOWY_VILLAGE(30, "village_snowy"),
|
VILLAGE_SNOWY(30, "village_snowy"),
|
||||||
TAIGA_VILLAGE(31, "village_taiga"),
|
VILLAGE_TAIGA(31, "village_taiga"),
|
||||||
JUNGLE_TEMPLE(32, "jungle_temple"),
|
JUNGLE_TEMPLE(32, "jungle_temple"),
|
||||||
SWAMP_HUT(33, "swamp_hut"),
|
SWAMP_HUT(33, "swamp_hut"),
|
||||||
TRIAL_CHAMBERS(34, "trial_chambers")
|
TRIAL_CHAMBERS(34, "trial_chambers")
|
||||||
|
Reference in New Issue
Block a user