|
|
|
|
@ -7,6 +7,11 @@
|
|
|
|
|
"type": "origins:tooltip",
|
|
|
|
|
"sprite": "minecraft:textures/item/sweet_berries.png",
|
|
|
|
|
"text": "Eating berries is more effective!"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "origins:tooltip",
|
|
|
|
|
"sprite": "minecraft:textures/item/sweet_berries.png",
|
|
|
|
|
"text": "?"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"eating_berries": {
|
|
|
|
|
@ -27,5 +32,79 @@
|
|
|
|
|
"operation": "add_base_late",
|
|
|
|
|
"amount": 2
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"random_effect": {
|
|
|
|
|
"type": "origins:action_on_item_use",
|
|
|
|
|
"item_condition": {
|
|
|
|
|
"type": "origins:ingredient",
|
|
|
|
|
"ingredient": {
|
|
|
|
|
"item": "minecraft:sweet_berries"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"entity_action": {
|
|
|
|
|
"type": "origins:choice",
|
|
|
|
|
"actions": [
|
|
|
|
|
{
|
|
|
|
|
"element": {
|
|
|
|
|
"type": "origins:chance",
|
|
|
|
|
"chance": 0.1,
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "origins:apply_effect",
|
|
|
|
|
"effect": {
|
|
|
|
|
"id": "minecraft:speed",
|
|
|
|
|
"duration": 100,
|
|
|
|
|
"amplifier": 20
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"weight": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"element": {
|
|
|
|
|
"type": "origins:chance",
|
|
|
|
|
"chance": 0.2,
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "origins:apply_effect",
|
|
|
|
|
"effect": {
|
|
|
|
|
"id": "minecraft:invisibility",
|
|
|
|
|
"duration": 1000,
|
|
|
|
|
"amplifier": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"weight": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"element": {
|
|
|
|
|
"type": "origins:chance",
|
|
|
|
|
"chance": 0.2,
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "origins:apply_effect",
|
|
|
|
|
"effect": {
|
|
|
|
|
"id": "minecraft:slow_falling",
|
|
|
|
|
"duration": 1000,
|
|
|
|
|
"amplifier": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"weight": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"element": {
|
|
|
|
|
"type": "origins:chance",
|
|
|
|
|
"chance": 0.2,
|
|
|
|
|
"action": {
|
|
|
|
|
"type": "origins:apply_effect",
|
|
|
|
|
"effect": {
|
|
|
|
|
"id": "minecraft:fire_resistance",
|
|
|
|
|
"duration": 1000,
|
|
|
|
|
"amplifier": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"weight": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|