Skip to content

Instantly share code, notes, and snippets.

@williewillus
Last active January 13, 2024 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save williewillus/9ebb0d04329526e31564 to your computer and use it in GitHub Desktop.
Save williewillus/9ebb0d04329526e31564 to your computer and use it in GitHub Desktop.
ProjectE Custom Conversion JSON Grammar
NOTE: For 1.20.4 and above, see the new grammar: https://gist.github.com/pupnewfster/7b5c411635e16227c1dea9af5e20e4c3
{
"comment": <Optional comment describing the file>,
"groups": {
"<name>": <group>, ...
},
"values": {
"before": <valuemap>,
"after": <valuemap>,
"conversion": [ <conversion>, ... ]
}
}
-----------
<valuemap> ::= {
<item>: <value>,
...
}
<group> ::= {
"comment": <Optional comment>,
"conversions": [ <conversion>, ... ]
}
<conversion> ::= {
"output": <item>,
"count": <int> // If left out, defaults to 1
"ingredients": <ingredients>
"evalOD": <bool> // If true and the output is an oredict entry, this conversion will be propagated to all ItemStacks in the oredict matching the oredict name
}
<ingredients> ::= [
<item>, ... // Defaults to 1 for everything, specifying an item again increments the count
]
<ingredients> ::= {
<item>: <int>, ... // The number of times the item is used
}
<item> ::=
"<modid>:<registryName>"
"<modid>:<registryName>" // Wildcard value
"#domain:name" // Reference a tag ID
"FAKE|<name>" // Create a fake item used in this file
"FLUID|<fluidName>" // Registry name of a fluid
<value> ::=
<int>
"free" // Marks this ingredient as "free" to the mapper, which means it does not contribute to the final cost of the output
@jawsawn
Copy link

jawsawn commented Oct 7, 2016

Is there a way to add block transmutations with PhiStone?
Am I blind or it doesn't exist?

@williewillus
Copy link
Author

not without using code, currently.
will look into configs for it.

@williewillus
Copy link
Author

williewillus commented Jan 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment