making loot table only spawn in certain structures

Started by itzmodestep3 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
making loot table only spawn in certain structures

so I'm creating a dungeon mod with custom buildings and i want certain loot tables to be only available in those buildings

 

how would i do this