Jump to content

BoxerMike

Members
  • Posts

    4
  • Joined

  • Last visited

BoxerMike's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. @Ugdhar you're a lifesaver! I was in creative mode. I'm writing this mod for my kids, and when I read them your comment, they said, "Yeah, obviously!" Obviously to them, who play all the time. I've given them additional chores today to make up for the hours of my life debugging code that was working fine that I'll never get back. Thank you SO much! -mike
  2. Yeah, I had that in there before. Just tried again, still doesn't work. { "type": "minecraft:block", "pools": [ { "name": "tutorial_loot_table", "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "minecraft:apple" } ] } ] }
  3. Here's my directory structure.
  4. Working on my first mod, and I've followed a few examples to create items and blocks, but I can't for the life of me get my custom loot_table loaded. If I put a bad element in the json, I see an error in the debug.log, but if the file looks good, it simply doesn't load (nothing shows in the logs.) Stepping through the code, I see it get all the way to ForgeHooks.loadLootTable(), but since custom==true, it never calls the ForgeEventFactory.loadLootTable() method, so it never gets registered (I'm guessing here - while I've got years of Java experience, I only have days of minecraft mod experience.) I've gone over my code many times, and have made it as simple as I can to narrow down potential issues, but I'm stumped. Running on Forge 1.15.2-1.31.0, Java 1.8.0_161, and Eclipse 2020-03. I've attached my loot_table and model/block json files, along with the source code where I register everything - anyone have any ideas? Thanks in advance. -mike ruby_block.json ruby_block.json RegistryHandler.java
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.