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. 1) https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/models/block/hardore.json 2) add "shade":"false" to the elements block for the overlay textures.
  2. 1) Create a class that extends Achievement. 2) Register an event handler to wait for the appropriate event and check to see if the conditions are met, and if so, award the achievement.
  3. If your blockstate depends on the world around it, that's handled by getActualState(). It shouldn't be encoded in metadata. See: Fences.
  4. Yeah, there's really only two proxy classes needed: The common, which does everything needed by both (SSP still uses a server!) and the client, which does things the server cannot do.
  5. Here's a working inventory container/gui. It's actually kinda funky. Particularly line 37. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/GuiHandler.java
  6. Most likely, you are using the single-parameter tool material constructor, you need to use the three parameter ToolMaterial, float, float one.
  7. That method is called anytime world.setBlockState() is passed a 0x1 as the third parameter.
  8. That's onBlockHarvested, I believe. Which is called from onBlockRemoved (by player).
  9. Create a new enumerated and have an explicit "unknown" or "none" value.
  10. In C# you can, but really all that means is that the interface is declaring an explicit getter/setter. I know this because I did it not to long ago. e.g. public interface ISomeThing { public someField { get; set; } } But yes, you can't do that in Java. You'd have to declare it as a getField() and setField(v) methods and supply the field itself in the implementation.
  11. Items.getItemFromBlock(block)
  12. You don't have the Java knowledge necessary to even have someone help you with this.
  13. Because the object is never set to anything. I can't tell you because you haven't posted your current code.
  14. That's not how you compare ItemStacks.
  15. If any are wrong, this would be the one. But not having used I18n yet, I am not 100%
  16. Considering that the crash occurs on line 67 of your custome elytra class, yes, I do think its related to your code.
  17. Define "doesn't work"

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.