RecipeManager

RecipeManager

130k Downloads

@override and @remove not working

Derpford opened this issue ยท 1 comments

commented

I am trying to adjust the number of nuggets produced by a gold ingot, along with the number of gold ingots to make a block, for the purpose of making a Gringotts plugin work a little better.
Inside a file called change.txt, in RecipeManager/recipes:

COMBINE
GOLD_NUGGET + GOLD_NUGGET + GOLD_NUGGET + GOLD_NUGGET
= GOLD_INGOT

COMBINE
GOLD_INGOT + GOLD_INGOT + GOLD_INGOT + GOLD_INGOT
= GOLD_BLOCK

COMBINE
EMERALD + EMERALD + EMERALD + EMERALD
= EMERALD_BLOCK

CRAFT
@override
GOLD_BLOCK
= GOLD_INGOT:0:4

CRAFT
@override
GOLD_INGOT
= GOLD_NUGGET:0:4

CRAFT
@override
EMERALD_BLOCK
= EMERALD:0:4

CRAFT
@override
GOLD_INGOT + GOLD_INGOT + GOLD_INGOT
GOLD_INGOT + GOLD_INGOT + GOLD_INGOT
GOLD_INGOT + GOLD_INGOT + GOLD_INGOT
= GOLD_INGOT:0:9

CRAFT
@override
GOLD_NUGGET + GOLD_NUGGET + GOLD_NUGGET
GOLD_NUGGET + GOLD_NUGGET + GOLD_NUGGET 
GOLD_NUGGET + GOLD_NUGGET + GOLD_NUGGET 
= GOLD_NUGGET:0:9

CRAFT
@override
EMERALD + EMERALD + EMERALD 
EMERALD + EMERALD + EMERALD 
EMERALD + EMERALD + EMERALD 
= EMERALD:0:9

However, I get an error:

[15:46:39 INFO]: [RecipeManager] File: change
line 18   Warning: Recipe was not found, can't override/remove it! Added as new recipe.
          TIP: Use 'rmextract' command to see the exact ingredients needed
line 28   Warning: Recipe was not found, can't override/remove it! Added as new recipe.
          TIP: Use 'rmextract' command to see the exact ingredients needed
line 35   Warning: Recipe was not found, can't override/remove it! Added as new recipe.
          TIP: Use 'rmextract' command to see the exact ingredients needed
... and 1 more similar errors.

I'm not sure why this is happening, as all of the overriding recipes appear to use identical ingredients to the recipes they're replacing.

commented

It's probably a mismatch in data values. (0 vs *). Use /rmextract to get the vanilla recipes and copy the recipes out of that for overriding.