111 lines
No EOL
3 KiB
JSON
111 lines
No EOL
3 KiB
JSON
{
|
|
"version": 2,
|
|
"name": {
|
|
"translate": "drinktype.ttb.ale"
|
|
},
|
|
"color": "#efc737",
|
|
"alcoholic_value": "10",
|
|
"ingredients": [
|
|
{
|
|
"items": [
|
|
"minecraft:wheat"
|
|
],
|
|
"count": 3
|
|
},
|
|
{
|
|
"items": [
|
|
"minecraft:sugar"
|
|
],
|
|
"count": 1
|
|
},
|
|
{
|
|
"items": [
|
|
"minecraft:spider_eye"
|
|
],
|
|
"count": 1
|
|
}
|
|
],
|
|
"cooking_quality_multiplier": "cos(clamp((age / 60 - 10.0) * 0.4, -2, 2))",
|
|
"base_quality_value": "smooth_value_days(3.0, 1.0, 15.0, age) * 10",
|
|
"book_information": {
|
|
"best_cooking_time": 600.0,
|
|
"best_barrel_age": 3600.0,
|
|
"best_barrel_type": [
|
|
"spruce"
|
|
]
|
|
},
|
|
"barrel_definitions": [
|
|
{
|
|
"type": "minecraft:spruce",
|
|
"quality_value": "quality",
|
|
"reveal_time": 300
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"type": "potion",
|
|
"locked": false,
|
|
"effect": "minecraft:saturation",
|
|
"time": "(quality - 7) * 15 + 10",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"type": "potion",
|
|
"locked": false,
|
|
"effect": "minecraft:strength",
|
|
"time": "(quality - 8) * 60",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"type": "random",
|
|
"entries": [
|
|
{
|
|
"type": "potion",
|
|
"locked": false,
|
|
"effect": "minecraft:haste",
|
|
"time": "abs(11 - quality) * 60",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"apply_check": "random() + 1 - (50 / 100)"
|
|
},
|
|
{
|
|
"type": "delayed",
|
|
"entries": [
|
|
{
|
|
"type": "random",
|
|
"entries": [
|
|
{
|
|
"type": "potion",
|
|
"locked": false,
|
|
"effect": "minecraft:weakness",
|
|
"time": "abs(10.5 - quality) * 60",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"apply_check": "random() - 1 + (80 / 100)"
|
|
}
|
|
],
|
|
"delay": "600"
|
|
},
|
|
{
|
|
"type": "delayed",
|
|
"entries": [
|
|
{
|
|
"type": "random",
|
|
"entries": [
|
|
{
|
|
"type": "potion",
|
|
"locked": false,
|
|
"effect": "minecraft:slowness",
|
|
"time": "15",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"apply_check": "random() - 1 + (30 / 100)"
|
|
}
|
|
],
|
|
"delay": "600"
|
|
}
|
|
]
|
|
} |