v0.5.3
This is a minor update that fixes a few crashes.
Game version: v1.21.23
Added
- Added support for Minecraft v1.21.23.
- Introduced the
BlockData
class, which encapsulates both the block type and a specific state from all possible block
states. - Block types and block states can now be used as command arguments.
- Added
PlayerKnockbackEvent
, triggered when a player receives knockback. Developers can modify the knockback that the
player will receive. - Added
PlayerKickEvent
, triggered when a player is kicked from the server, allowing for customization of kick
messages. - Introduced the
BlockState
class, representing a snapshot of a block at a specific point in time. PlayerJoinEvent
andPlayerQuitEvent
now include getter and setter methods for customizing join/quit messages.- Integrated bStats metrics.
Changed
- BREAKING CHANGE: Renamed
Server::getNewScoreboard
toServer::createScoreboard
for consistency with other
methods likecreateBossbar
andcreateBlockData
. - Lifted the restriction on the
/reload
command for console use. It can now be executed in-game.
Fixed
- Enforced the use of libc++ for C++ plugins on Linux to resolve symbol errors.
Player::setExpProgress
now correctly sets experience progress without precision loss.- Fixed an issue where death messages were being sent to players twice.
- Resolved a crash when calling
ItemStack::getType
on an item fromPlayerInteractEvent
when the player interacts
with a block with bare hands. PlayerInteractEvent::hasItem
now correctly returnsfalse
if the player has no item in hand when interacting.
Full Changelog: v0.5.2...v0.5.3