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.

CatGray

Members
  • Joined

  • Last visited

Everything posted by CatGray

  1. OMG! That worked! Thank you! That was so simple and stupid... I have spent a day for searches... Thank you so much! Well, what if I want to change not vanilla chest? Like, chest of another mod? Or if I even want to make my own chest?
  2. I'm currently trying to change vanilla's bonus chest loot.
  3. Well, could you please share some example or more detailed explanation? I have done some research after I had read your answer. And I have found that there are exist data providers but I have not found any examples of using that mechanism for changing chest loot tables. I have tried to implement it by myself but then I struggled. In ChestLootTables class which I have tried to extend that use resource location (path to loot table file I suppose) but it also build that loot table by that own with some kind of builder. So I can't get wheter I should use loot table json file or just built it in code in some way. I don't understand anything at all now.
  4. Hello! That topic was discussed a lot there but I still can't find a solution. I have searched through a lot of topics here and even more links in google but I still can't get how to set up custom loot table. I have tried to change loot in bonus chest as a training before realizing an initial idea but without success. I have tried some ways I have found in my searches: 1) set up new loot table on LootTableLoadEvent: chest spawned empty; after some searches I have found that way is kind of deprecated and unwelcome; 2) some answers was like "just put json in right folder"; I have put my json (I will paste it lower) at src\main\resources\data\cupiditas\loot_tables\chests\spawn_bonus_chest.json - that did nothing, the chest was neither empty nor filled with desired items. 3) I guess most proper way to do that is mightly Loot Modification. I have pretty clearely got how to use it with items, but it's not clear for me how to use it with chests and I haven't found any examples with chests. My JSON: I would really appreciate if you point me to the right direction. Thank you in advance!

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.