Posted April 4, 20169 yr Hi everyone, is there any guide or can someone explain, how to add own loot tables so i can use these in my generated structure? thanks for the answers:)
April 4, 20169 yr Forge hasn't yet added support for custom loot tables, see this PR. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
April 4, 20169 yr Author Thanks, and how do I set my own ChestGenHook? Not just adding Blocks and Items, I want a complete own.
April 4, 20169 yr Forge's ChestGenHooks system was removed in 1.9. It turns out that you can use the loot table system even though Forge hasn't added any hooks for it. See this commit. You can use TileEntityChest#setLoot to set the ID of the LootTable that will be used to generate the chest contents. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.