GregTechCE / GregTech

GregTech rewrite for modern versions of Minecraft
GNU Lesser General Public License v3.0
269 stars 150 forks source link

[Question]How to add a vein to the GC or extraplanets' planet? #1029

Open HoleFish opened 4 years ago

HoleFish commented 4 years ago

the following code is it:

{
  "weight": 2500,
  "density": 0.4,
  "max_height": 64,
  "min_height": 64,
  "dimension_filter": ["name:planet.Jupiter"],
  "generation_predicate":"any"
  "generator": {
    "type": "ellipsoid",
    "radius": [40, 40]
  },
  "filler": {
    "type": "simple",
    "value": {
      "type": "weight_random",
      "values": [
        {
          "weight": 25,
          "value": "gregtech:ore_scheelite_0"
        },
        {
          "weight": 5,
          "value": "gregtech:ore_tungstate_0"
        },
        {
          "weight": 70,
          "value": "gregtech:ore_wolframite_0"
        }
      ]
    }
  }
}

I cant find any ore on the Jupiter. This is the only json in the folder. I've tried this: "value": "block:gregtech:ore_wolframite_0" It's no use. Is there anything wrong in my code? tips: wolframite is the material I add

huneau commented 4 years ago

@HoleFish can you try this :

"filler": {
    "type": "simple",
    "value": {
      "type": "weight_random",
      "values": [
        {
          "weight": 60,
          "value": "ore:scheelite"
        },
        {
          "weight": 20,
          "value": "ore:tungstate"
        },
        {
          "weight": 20,
          "value": "ore:lithium"
        }
      ]
    }
  }