1.21+ patch / 'Entity' added in the scriptlex token list#39
1.21+ patch / 'Entity' added in the scriptlex token list#39JhonTabio wants to merge 2 commits intoSethBling:masterfrom
Conversation
…e_type types. This allows for the creation of entity loot tables
…, same as what the 1.21+ update did
|
Updated mcworld.py to create folders with names that the newer 1.21+ versions would query for. |
|
Would it be better to include both the new folder name format and the old folder name format in the datapack to make it compatible with both pre and post 1.21 versions? As far as I know that shouldn't cause any conflicts. |
I have not tried something like this, though I also don't see an issue (Aside from bloat files of the other version not currently in use). The pack_format should remain the same, so depending on the version, the new or old folder format would be read in. Personally, I think the best approach if you truly want the software to be able to generate both versions is to just have a new parameter when running the script that flips between the old or new format. This would at least keep a single consistent folder structure instead of having double at once |
|
Yeah I think you are right, ideally there should be another CLI argument with the Minecraft version for |
Seems like CBScript only supported "block" for loot tables.
So now you should be able to define an entity loot table as follows:
More information on the issue I posted