I'm trying to add a new ore. To do so, I've downloaded and unpacked a very cool mod, crimson ore, to check how to add new ores. And so I've found a file: biomes/oredistributions.configfunctions.patch. I suppose it's used to determine where should ore spawn. But how do I do that? What do these numbers mean? Code: [ { "op": "add", "path": "/surface/0/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/surface/1/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/surface/2/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/surface/3/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/surface/4/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/surface/5/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth1/0/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth1/1/1/2", "value": [ "glory", 0.50 ] }, { "op": "add", "path": "/depth1/2/1/2", "value": [ "glory", 0.50 ] }, { "op": "add", "path": "/depth1/3/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth1/4/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth1/5/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth2/0/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth2/1/1/2", "value": [ "glory", 0.70 ] }, { "op": "add", "path": "/depth2/2/1/2", "value": [ "glory", 0.70 ] }, { "op": "add", "path": "/depth2/3/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth2/4/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth2/5/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth3/0/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth3/1/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth3/2/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth3/3/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth3/4/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/depth3/5/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/core/0/1/2", "value": [ "glory", 0 ] }, { "op": "add", "path": "/core/1/1/2", "value": [ "glory", 0 ] }, { "op": "add", "path": "/core/2/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/core/3/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/core/4/1/2", "value": [ "glory", 0.0 ] }, { "op": "add", "path": "/core/5/1/2", "value": [ "glory", 0.0 ] } ] And yes, my ore's name is Glory.
0.0 is the weighted frequency. The others are paths to specific places in the Json array. Load up the original oredistributions.configfunctions and study this guide http://community.playstarbound.com/threads/basic-patching-now-with-path-guide-v1-9.84496/