GUIs
Inside of /config/BetterBreeding/GUI/ you'll find a Menus folder & an "item_definitions.json" file.
If you haven't used Roanoke Development's GUI system before, have a read through Custom GUI.
GUI Items
The default "item_definitions.json" looks like this:
{
"defaultFillItem": {
"id": "minecraft:black_stained_glass_pane",
"name": ""
},
"defaultElementFillItem": {
"id": "minecraft:gray_stained_glass_pane",
"name": ""
},
"emptyEggHutchItem": {
"id": "minecraft:composter",
"name": "Egg Hutch",
"lore": [
"There isn't an Egg in here, yet..."
]
},
"filledEggHutchItem": {
"id": "minecraft:composter",
"name": "Egg Hutch",
"lore": [
"Click to collect your Egg!"
]
},
"pastureInfoItem": {
"id": "minecraft:beehive",
"name": "The Birds and the Bees",
"lore": [
"",
"Leave two compatible Pokemon in here for a while",
"When you come back, you may find an egg...",
"",
"Click here to add and withdraw Pokemon from the Pasture"
]
},
"pasturePokeSwapperInfoItem": {
"id": "minecraft:beehive",
"name": "The Birds and the Bees",
"lore": [
"",
"Leave two compatible Pokemon in here for a while",
"When you come back, you may find an egg...",
"",
"Click your Pokemon to move them to the pasture and back."
]
}
}
The "pastureInfoItem" is passed into the virtual pasture menu. You could change it here, or add extra items to the pasture GUI. The "pasturePokeSwapperInfoItem" is passed into the... you guessed it, virtual pasture pokemon swap menu.
The egg hutch item definitions passed into the menus depend on whether an egg is currently in there. You could use custom items here to give a better visual indicator to players than just lore.
GUIs
"virtual_pasture": the main menu. "X" keys represent the Pokemon in the Pasture, "I" is the "Pasture Info" item defined in "item_definitions.json". "E" is the Egg Hutch item, which players click to claim an Egg, and is defined in "item_definitions.json"
{
"id": "virtual_pasture",
"gui_type": "G9X5",
"gui": [
"#########",
"####I####",
"##X###X##",
"####E####",
"#########"
],
"keys": {
"#": "defaultFillItem",
"X": "defaultElementFillItem",
"I": "defaultElementFillItem",
"E": "defaultElementFillItem"
}
}
"virtual_pasture_pokeswapper": the menu used to change Pokemon in a Pasture. "P" represents the player's party, the other keys are the same as above, except for "I", which has a separate version defined in "item_definitions.json".
{
"id": "virtual_pasture_pokeswapper",
"gui_type": "G9X5",
"gui": [
"#########",
"#PP###I##",
"#PP##X#X#",
"#PP###E##",
"#########"
],
"keys": {
"#": "defaultFillItem",
"X": "defaultElementFillItem",
"I": "defaultElementFillItem",
"E": "defaultElementFillItem",
"P": "defaultElementFillItem"
}
}
Last updated