Using loot tables with generated TFC containers
alcatrazEscapee opened this issue ยท 0 comments
Most TFC inventory containers could conceivably be populated by loot tables (large vessels, chests, etc.) Some requirements:
- need to be unpacked if we think the container may be accessed at all by a non-spectator (even an
isEmpty
check) - need to be loaded/saved in the nbt of the BE
- after this, can only be used if either you use a custom structure pieces class that loads a builtin loot table, or you save a structure nbt file with a chest that you /setblock to have the loot table ID encoded
See RandomizableContainerBlockEntity