09-07-2020, 04:47 AM
So I had an idea for the export from the galery server to the cuberite binary/serverd download
I wrote my interpreter that way that it accepts minecraft style loot tables so if you want to use a custom loot table for a structure you write one with such a tool.
The object reposible for providing the loot tables has a function which returns a loot table from string. If you want to add a non vanilla loot table you put it in a special folder and then gaining access to the table by asking the provider for the name you gave to the file without ".json".
I wrote my interpreter that way that it accepts minecraft style loot tables so if you want to use a custom loot table for a structure you write one with such a tool.
The object reposible for providing the loot tables has a function which returns a loot table from string. If you want to add a non vanilla loot table you put it in a special folder and then gaining access to the table by asking the provider for the name you gave to the file without ".json".