Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.14 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.14 KB

How to use the current features:

-Tag Blacklists/Exclusions: in a tag json, have your entry you want to exclude in brackets with the id field, like how you would add "required": false. add "excluded": true , just like you'd set the required field. You should have your exclusions AFTER any entries that might contain the tag you wish to exclude.

Example Usage, for a tag that will contain everything in #minecraft:small_flowers, EXCEPT for wither roses, along with a couple other things:

{
  "values": [
    "#minecraft:small_flowers",
    {
      "id": "minecraft:wither_rose",
      "excluded": true
    },
    "minecraft:apple",
    "minecraft:waxed_exposed_cut_copper_stairs"
  ]
}

-Feature placement Structure Overlap Predicate: use "exclusions_lib:overlaps_structure" like any other block predicate filter. optional fields are range, an integer from 1 to 32 to choose how far away it checks for from the feature's origin (you probably want this large if the feature is large), and structures, an array of structure ids for if you want to specify it to only checking for specific structures. You probably want to wrap this one in a minecraft:not