Jump to content

How to change edit-screen for build-in signs and hanging signs?


Recommended Posts

Posted (edited)

Hello

I created a mod, where i recreated model, text-layout and other stuff for the build-in signs in an older version of minecraft forge, where it worked properly.

Now i´m updating it, but i found a problem:

When i open the sign edit screen, i want to instantly replace it with my own.
But the class has now 3 constructor arguments.
The first one is the SignTileEntity, and i tried to get it through the ObfuscationReflectionHelper, but none of the names of the matching fild in the class AbstractSignEditScreen can be found during a testrun
How can i get the used SignBlockEntity to pass it into the constructor of my edited screen?

Edited by Drachenbauer
add tag
Link to comment
Share on other sites

  • Drachenbauer changed the title to How to change edit-screen for build-in signs and hanging signs?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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