Jump to content

theDutchFlamingo

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by theDutchFlamingo

  1. 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?"
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.