Lava Java
In the dark depths of the Nether, you'll find an unexpected discovery — a cozy Lava Java café! Here, for just a few gold nuggets, you can purchase unique drinks that grant you various beneficial effects.
The café is staffed by two friendly skeleton baristas who continuously improve their skills. The more you trade with them, the more skilled they become — they start offering more drinks at once and creating more complex and powerful blends.
Each cup of Lava Java has its own flavor profile and freshness that determine the provided buffs. The assortment updates over time, so every visit brings new amazing combinations!
Flavor Customization via Datapacks
The mod uses a datapack system to define possible drink flavors. Configuration files should be located in the data/lavajava/lava_java_flavor folder and follow JSON format:
{
"flavorID": "spellbound:bubbly",
"statusID": "spellbound:shielded",
"isDrawback": false,
"duration": 7200,
"magnitude": 4,
"weight": 30,
"value": 15,
"namePriority": 0,
"exclusions": [
"spellbound:extra_bubbly",
"spellbound:very_bubbly"
]
}
Required parameters:
- flavorID — unique flavor identifier (must differ from file name)
- statusID — effect identifier provided by this flavor
- duration — effect duration in ticks (positive integer)
- weight — flavor appearance frequency (positive integer)
- value — influence on drink cost (positive integer)
Optional parameters:
- isDrawback — whether the flavor reduces drink cost (default false)
- magnitude — effect strength (non-negative integer, default 0)
- namePriority — priority in drink name (integer, default 0)
- exclusions — list of incompatible flavors
To display the flavor name in-game, add a line to the language file: "flavor.spellbound.bubbly": "Bubbly"