Geolosys

Geolosys

5M Downloads

[Suggestion] (BLOCK KINDS) Support for Stone -> Block Mappings

oitsjustjose opened this issue ยท 2 comments

commented

As per Rorax, add the ability to support BlockKinds, which are a specific type of BlockStateMatcher that support a specific mapping of stone -> ore i.e. only replace diorite with dioritic ores, etc.

"blocks":[{
        "block": "geolosys:coal",
        "chance": 50
},  {
  "blockkinds":[{
      "blocktype": "minecraft:diorite",
      "replace": "geolosys:coal_diorite"
  },  {
      "blocktype": "minecraft:granite",
      "replace": "geolosys:coal_granite"
  }, {
      "blocktype": "minecraft:andesite",
      "replace": "geolosys:coal_andesite"
  }, {
      "blocktype": "minecraft:stone",
      "replace": "geolosys:coal"
  } ],
  "chance": 50
}]
commented

this is what I need!

commented

BlockKinds were implemented in their own way already and will only be supported in 1.18+ - I will not be backporting this feature, but if someone else did it in a PR knock yourself out!

Relevant Commit