Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make signs writable #120

Open
Danielxs01 opened this issue Aug 15, 2023 · 2 comments
Open

Make signs writable #120

Danielxs01 opened this issue Aug 15, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request Forge 1.12.2 Forge 1.16.5 help wanted Extra attention is needed Priority: Normal Indicates that the issue or enhancement is of normal priority Signals Problem belongs to the signals part

Comments

@Danielxs01
Copy link
Member

Make signs writable

Solutions:

  • Using the text rendering of minecraft
  • Using custom fonts (licensing though?)
@Danielxs01 Danielxs01 added enhancement New feature or request help wanted Extra attention is needed Forge 1.12.2 Forge 1.16.5 Signals Problem belongs to the signals part Priority: Normal Indicates that the issue or enhancement is of normal priority labels Aug 15, 2023
@Danielxs01 Danielxs01 self-assigned this Aug 15, 2023
@Danielxs01
Copy link
Member Author

Duplicating the drawText() method of GlobalRender.java would allow to render text in MC font.
https://github.com/TeamOpenIndustry/UniversalModCore/blob/1.12.2-forge/src/main/java/cam72cam/mod/render/GlobalRender.java#L135

@Danielxs01
Copy link
Member Author

Danielxs01 commented Nov 25, 2023

1.7.10

  • Implemented
  • Tested
  • Merged to TOI

=> ActionBar does not work, it will write a ChatMessage instead.

1.10.2

  • Implemented
  • Tested
  • Merged to TOI

=> ActionBar does not work, it will write a ChatMessage instead.
This works (but only client-side):
Minecraft.getMinecraft().ingameGUI.setOverlayMessage(playerMessage.internal, false);

It's okay for now.

1.11.2

  • Implemented
  • Tested
  • Merged to TOI

1.12.2

  • Implemented
  • Tested
  • Merged to TOI

1.14.4

  • Implemented
  • Tested
  • Merged to TOI

1.15.2

  • Implemented
  • Tested
  • Merged to TOI

1.16.5

  • Implemented
  • Tested
  • Merged to TOI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Forge 1.12.2 Forge 1.16.5 help wanted Extra attention is needed Priority: Normal Indicates that the issue or enhancement is of normal priority Signals Problem belongs to the signals part
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant