result vs results
result vs results
I see some mods use "results" even when there's only a single item for certain things (mining, recipes). Is there a reason for this?
I have mods! I guess!
Link
Link
Re: result vs results
"result" is old one, for it to specify amount you would have to add extra property "result_count" because default is 1 (you can see this in "transport-belt" recipe). No other attributes can be added for it.
"results" is new, generic one in which you can specify many products, each with its own count and with some extra options like minimum count, maximum count, probability and catalyst amount.
Since "result" is not going to be removed for obvious reasons, feel free to use whatever you want.
"results" is new, generic one in which you can specify many products, each with its own count and with some extra options like minimum count, maximum count, probability and catalyst amount.
Since "result" is not going to be removed for obvious reasons, feel free to use whatever you want.