Get Client Version:

@ModuleData(name = "Example1", description = "Get Client Version")

public class Example1 extends Module {
  @Override
  public void init() {
      String version = OpalSDK.getVersion();
  }
}

Render Hello World on HUD:


@ModuleData(name = "test", description = "test")
public class Test extends Module {

  private final NumberProperty myNumber = new NumberProperty("test", 5, 0, 100, 1);


  @Override
  public void init() {
    addProperties(myNumber);
  }

  @Override
  public void onInGameHudRenderEvent(InGameHudRenderEvent event) {
    OpalSDK.getFontRenderer().drawString(event.drawContext(), "Hello World!", 10, 10, 10, 0xFFFFFFFF);
  }
}