Releases: 5zig/The-5zig-API
Releases · 5zig/The-5zig-API
The 5zig API v1.0.12
- added methods to
IOverlay
to be able to display unique notifications. Specify a unique reference object and only one notification with that reference will be displayed at the same time (Minecraft 1.12 only) - fixed issue #12 (ChatSendEvent doesn't get called when using chat macros or chat filter auto-text)
- use correct resource keys in
ModAPI#getItemCount()
(using the minecraft: prefix-resource-notation)
The 5zig API v1.0.11
- added
setMessage()
toChatEvent
- fixed
registerKeyBinding
method name typo
The 5zig API v1.0.10
- added a renderSettings variable to AbstractModuleItem that gets set by the mod each time before the actual module item render method is called
- added methods for getting the player's yaw and pitch rotation
The 5zig API v1.0.9
- added methods to get the coordinates of the target block
- added a SignEditEvent
The 5zig API v1.0.8
- added a PlayerTeleportedEvent
The 5zig API v1.0.7
- added getHealAmount() and getSaturationModifier() methods to ItemStack
The 5zig API v1.0.6
- added a getAmount() method to ItemStack
The 5zig API v1.0.5
- [IMPORTANT] Changed Scoreboard#getLines to return Map<String, Integer> instead of Map<Integer, String> since Minecraft stores scoreboard scores like this as well
- made all fields in GameMode class protected
- added a killstreakDuration field to GameMode class
- added the possibility to specify custom item categories
The 5zig API v1.0.4
- added a method to print messages into the second chat
- fixed a bug where only the first matched key of a server message would be handled
- fixed a bug where ChatColor.RESET would not reset formatting when sending a message to the chat
The 5zig API v1.0.3
- added a ChatSendEvent that gets called every time the player sends a chat message to the server (Compatible with the 5zig mod v3.6.5+)
- added the possibility get the server player list (Compatible with the 5zig mod v3.6.5+)