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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Mods that add potions may not have the same ID every time. Also this thread is over a year old.
  2. The reason it makes zero sense is that Hypixel is a specific multiplayer server that hasn't updated their server jar in forever. Hence any mod not made for 1.8.9 is worthless. (They should still update)
  3. What you probably want: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java#L102 For sate-based items where each state has a different item (wood type, wool color, etc): https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java#L70
  4. Not quite. I believe Forge Mod Loader is actually a layer that allows Mod Loader mods to work with a Forge installation. As a result, the two systems "merged" (originally just compatible, but Mod Loader is no longer, while Forge still exists)
  5. Unlocalized name is for displaying the block's name in the inventory. That is it. Nothing else.
  6. Or with loops. foreac(EnumWhatever val in EnumWhatever.values) { registerBlock(new Block(val)); }
  7. Why do this? This code is already running in the block at that position. It is equivalent to this instanceof IWrenchable Which you already know is true.
  8. So you need to follow the execution of the vanilla code when you pass it in your data and figure out why it is not returning what you expect.
  9. There are no other methods on that line, so yes.
  10. You're going to have to examine that method.
  11. list = loottable.generateLootForPools(world.rand, context.build()); That is returning a zero-sized list.
  12. No, that is you not using the debugger correctly.
  13. No. You need to change your block class to deal with dropped items correctly. Namely, not return 1 from damageDropped() when dropping the unrefined dust. If you can't handle that, override getDrops() instead
  14. So WILD_DUST drops UNREFINED_DUST, and when it does so, it's icon is the purple and black cube? Yeah, you dropped it with a metadata of 1 and you registered an icon for metadata of 0.
  15. No, you registered it like this:
  16. Blocks that have variants defined by the blockstate json file need to specify their variant string as their model, not "inventory" https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java#L68-L71
  17. /me face desk Don't use that. Use your own packets.
  18. This is because in creative mode the client has authority on inventory changes. Through the magic of packets.
  19. Item stacks are never null: No idea why dropping a stack of air is causing your diamond helmet to pop off though.
  20. 1.7.10 is no longer supported here. Update. Those are SRG names. They're functions that have not yet received a human-readable name via MCP.
  21. That's not what I asked. This line: Is this true when it executes?
  22. Two things: 1) Are you sure that the item stack you're getting is not empty? 2) That's not the only way to make an item slot empty

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.