Origins (Forge)

Origins (Forge)

7M Downloads

[1.18.2] modify_food does not work

Kitsune-Ultima opened this issue ยท 0 comments

commented

MC Version: 1.18.2,
Origin Version: 1.5.0.1 beta

Issue: Attempting to use the "origins:modify_food" type does not modify food values

example:

{
	"name":"Obligate Carnivore",
	"description":"Meat is delicious and always edible, you can still eat other things tho",
	"type": "origins:modify_food",
	"item_condition": {
		"type":"origins:or",
		"conditions": [
			{
				"type": "origins:ingredient",
				"ingredient": {
					"tag": "forge:foods/meat/raw"
				}
			},
			{
				"type":"origins:ingredient",
				"ingredient": {
					"tag": "minecraft:fox_food"
				}
			}
		]
	},
	"food_modifier": {
		"operation": "addition",
		"value": 10
	},
	"saturation_modifier": {
		"operation": "addition",
		"value": 10
	},
	"always_edible":true
}