@@ -176,10 +176,10 @@ public static class COMMAND {
176176 "menu" ,
177177 "Menu" ,
178178 List .of (
179- Settings .createNodeSequence (MENU .ITEM_DATA .class , "." , "minecraft:black_stained_glass_pane" , List .of ("minecraft:glass_pane " ), 1 , false , 0 , false , "" , "" , List .of ()),
180- Settings .createNodeSequence (MENU .ITEM_DATA .class , "1" , "minecraft:leather_helmet" , List .of (), 1 , true , 12544467 , false , "" , "&fOpen another menu" , List .of ()),
181- Settings .createNodeSequence (MENU .ITEM_DATA .class , "2" , "minecraft:stone" , List .of (), 2 , false , 0 , true , "" , "&fServer1" , List .of ("&r&7This is a server." )),
182- Settings .createNodeSequence (MENU .ITEM_DATA .class , "3" , "minecraft:player_head" , List .of ("minecraft:experience_bottle" ), 1 , false , 0 , false , "f051234a-8c3d-45d5-8e78-df729dd0da8c;eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjcwNWZkOTRhMGM0MzE5MjdmYjRlNjM5YjBmY2ZiNDk3MTdlNDEyMjg1YTAyYjQzOWUwMTEyZGEyMmIyZTJlYyJ9fX0=" , "&fWhat is this?" , List .of ())
179+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "." , "minecraft:black_stained_glass_pane" , List .of ("minecraft:white_stained_glass_pane " ), 1 , 15 , false , 0 , false , "" , "" , List .of ()),
180+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "1" , "minecraft:leather_helmet" , List .of (), 1 , 0 , true , 12544467 , false , "" , "&fOpen another menu" , List .of ()),
181+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "2" , "minecraft:stone" , List .of (), 2 , 0 , false , 0 , true , "" , "&fServer1" , List .of ("&r&7This is a server." )),
182+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "3" , "minecraft:player_head" , List .of ("minecraft:experience_bottle" ), 1 , 0 , false , 0 , false , "f051234a-8c3d-45d5-8e78-df729dd0da8c;eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjcwNWZkOTRhMGM0MzE5MjdmYjRlNjM5YjBmY2ZiNDk3MTdlNDEyMjg1YTAyYjQzOWUwMTEyZGEyMmIyZTJlYyJ9fX0=" , "&fWhat is this?" , List .of ())
183183 ),
184184 List .of (
185185 "........." ,
@@ -196,9 +196,9 @@ public static class COMMAND {
196196 "menu2" ,
197197 "Another Menu" ,
198198 List .of (
199- Settings .createNodeSequence (MENU .ITEM_DATA .class , "." , "minecraft:black_stained_glass_pane" , List .of ("minecraft:glass_pane " ), 1 , false , 0 , false , "" , "" , List .of ()),
200- Settings .createNodeSequence (MENU .ITEM_DATA .class , "1" , "minecraft:barrier" , List .of (), 1 , false , 0 , false , "" , "&fClose menu" , List .of ()),
201- Settings .createNodeSequence (MENU .ITEM_DATA .class , "2" , "minecraft:bedrock" , List .of (), 1 , false , 0 , false , "" , "&fGo back" , List .of ())
199+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "." , "minecraft:black_stained_glass_pane" , List .of ("minecraft:white_stained_glass_pane " ), 1 , 15 , false , 0 , false , "" , "" , List .of ()),
200+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "1" , "minecraft:barrier" , List .of (), 1 , 0 , false , 0 , false , "" , "&fClose menu" , List .of ()),
201+ Settings .createNodeSequence (MENU .ITEM_DATA .class , "2" , "minecraft:bedrock" , List .of (), 1 , 0 , false , 0 , false , "" , "&fGo back" , List .of ())
202202 ),
203203 List .of (
204204 "........." ,
@@ -230,6 +230,8 @@ public static class ITEM_DATA {
230230 public String ITEM = "" ;
231231 public List <String > FALLBACK_ITEMS = List .of ();
232232 public int COUNT = 1 ;
233+ @ Comment ("Only used on legacy versions (1.12.2 and lower)." )
234+ public int DATA = 0 ;
233235 public boolean HAS_COLOR = false ;
234236 @ Comment ("You can get color value at https://notwoods.github.io/minecraft-tools/armorcolor/." )
235237 public int COLOR = 0 ;
0 commit comments