ticticboooomer / MasterfulMachinery

A Mod That Does Shizz
MIT License
10 stars 11 forks source link

Registry Based Structure Key/Part System #19

Closed ticticboooomer closed 5 months ago

ticticboooomer commented 6 months ago

Design

create base structure key which can be applied to all blocks with the following settings:

Create subclasses of the base structure key which specialise the search requirements of blocks.

Then create a Structure Key Parser which parses the key JSON objects into the respective subclass.

Example:

{
  "A": {
    "block": "mm:controller_a",
    "state_properties": [
      {
        "property": "facing",
        "value": "north"
      },
      {
        "property": "axis",
        "value": "y"
      }
    ]
  }
}
WhiseNT commented 2 months ago

I am unable to edit these in kubejs. Do you have any plans to add support for this?