5zig / The-5zig-API

The official client API of The 5zig Mod.
Apache License 2.0
11 stars 2 forks source link

A way to display titles/send sounds. #16

Closed roccodev closed 7 years ago

roccodev commented 7 years ago

Can we get a way to display titles and send sounds?

5zig commented 7 years ago

Have a look at ModAPI#playSound and ModAPI#createOverlay.

roccodev commented 7 years ago

Oh so createOverlay creates also a title, and not like an "achievement"?

5zig commented 7 years ago

What title do you mean?

roccodev commented 7 years ago

This one https://www.digminecraft.com/game_commands/images/completed_title_command_subtitle.png

5zig commented 7 years ago

You can create a custom module item for that, override the render method and use the large text renderer. The problem is that the 5zig mod supports Minecraft 1.7.10, which doesn't have the title feature.