Skip to content

v1.3.1.3

Compare
Choose a tag to compare
@retrooper retrooper released this 16 Jun 12:31
· 1163 commits to master since this release

Changelog:

  • All wrapper classes can no longer be extended now.(you never should've anyway)

  • WrappedPacketOutKickDisconnect (sendable and readable)
    Can be used to kick users

  • PacketEvents can now be shaded into your projects, and is no longer recognized as a plugin

  • ClientVersion added isHigherThan(ClientVersion version) and isLowerThan(ClientVersion version) methods for simple client version comparison.

  • Packet.isInstanceOf(fatherPacketName, childPacketName) has now been deprecated, will be removed in the next version!

  • Packet.isInstanceOfFlyingPacket(nmsPacketObject) method added (might soon be renamed to isFlyingPacket)

It has been replaced by Packet.isInstanceOfFlyingPacket(nmsPacketObject), as the flying packet is the only packet that has subclasses.
The flying packet is also used a lot, so I made an efficient way to check if the nms packet object is an instanceof of it!
If you are on a 1.9+ server, it will just check if the packet is an instance of "PacketPlayInPosition" or "PacketPlayInPositionLook" or "PacketPlayInLook".