#custom ore generation

11 messages · Page 1 of 1 (latest)

dire kestrel
#

im trying to add custom ore generation to my modpack using kubejs datapack, cause the worldgen built into kubejs is reportedly not working in this version. Im not getting my ores to generate, even though i did the things im supposed to do i think

sharp shuttleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

dire kestrel
#

Instances\Satiscraftory\kubejs\data\kubejs\worldgen

#

this is the path "configured_feature" and "placed_feature" are in

#

placed_feature:

  "feature": "kubejs:uranium_ore",
  "placement": [
    {
      "type": "minecraft:count",
      "count": 20
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:height_range",
      "height": {
        "type": "minecraft:uniform",
        "max_inclusive": {
          "absolute": 60
        },
        "min_inclusive": {
          "absolute": -20
        }
      }
    }
  ]
}```


configured_feature:

```{
  "type": "minecraft:ore",
  "config": {
    "discard_chance_on_air_exposure": 0.0,
    "size": 2,
    "targets": [
      {
        "state": {
          "Name": "kubejs:uranium_ore"
        },
        "target": {
          "predicate_type": "minecraft:tag_match",
          "tag": "minecraft:stone_ore_replaceables"
        }
      }
    ]
  }
}```
#

custom ore is kubejs:uranium_ore

dire kestrel
#

could someone help me?

swift flame
#

You also need to add the feature to biomes

#

Example

dire kestrel