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.

slowfish_

Members
  • Joined

  • Last visited

Everything posted by slowfish_

  1. I'm trying to modify the simple_dungeon loot table to add in my mod's loot, I tried to follow the Forge Documentation for modifying vanilla loot tables (https://docs.minecraftforge.net/en/1.12.x/items/loot_tables/#modifying-vanilla-loot) but it's not working and I don't know what I'm doing wrong, please help. Here's my code LootHandler.java public class LootHandler { @SubscribeEvent public void lootLoad(LootTableLoadEvent evt) { if (evt.getName().toString().equals("minecraft:chests/simple_dungeon")) { } } private LootEntryTable getInjectEntry(String name, int weight) { return new LootEntryTable(new ResourceLocation("scorchingembers:inject/simple_dungeon"), weight, 0, new LootCondition[0], "scorchingembers_inject_entry"); } private LootPool getInjectPool(String entryName) { return new LootPool(new LootEntry[] { getInjectEntry(entryName, 1) }, new LootCondition[0], new RandomValueRange(1), new RandomValueRange(0, 1), "scorchingembers_inject_pool"); } } simple_dungeon.json { "pools":[ { "name":"main", "rolls":1, "entries":[ { "type":"item", "name":"scorchingembers:ember_crystalweave", "weight":10 }, { "type":"item", "name":"scorchingembers:alchemical_annihiliator", "weight":10 }, { "type":"empty", "weight":80 } ] } ] }

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.