LandOfSignals (Railroad Signal Mod)

LandOfSignals (Railroad Signal Mod)

45.9k Downloads

Make signs writable

Danielxs01 opened this issue ยท 2 comments

commented

Make signs writable

Solutions:

  • Using the text rendering of minecraft
  • Using custom fonts (licensing though?)
commented

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

commented

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