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.

theDutchFlamingo

Members
  • Joined

  • Last visited

  1. theDutchFlamingo joined the community
  2. Hi! I'm working on a 1.15.2 mod that will add many new types of wood, and of course that also means I need signs for every type of wood. However, I got stuck while trying to implement the rendering and the GUI of the sign. I noticed that minecraft has an "openSignEditor" method in "ClientPlayerEntity", but this leads to a call to "SignTileEntityRenderer.getMaterial(blockstate.getBlock())", which cannot be overriden (as it's static) and doesn't have any way of adding my own materials (that I can find). What I tried (instead of calling "openSignEditor") is to directly call "Minecraft.getInstance().displayGuiScreen", but this only ever crashed; maybe something to do with threading, but I also tried ".enqueue" with no luck. So basically my question is just, "what's the easiest way to add signs?"

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.