Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BoxerMike

Members
  • Joined

  • Last visited

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.