Posted May 10, 20205 yr 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?"
May 30, 20205 yr Create your own sign instance that's expandable instead of relying on extending the source code.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.