Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
New API added for easy packet registration in Velocity
// Example of UpdateTeam registration
PacketRegistration.of(UpdateTeamsPacket.class)
.direction(Direction.CLIENTBOUND)
.packetSupplier(UpdateTeamsPacket::new)
.stateRegistry(StateRegistry.PLAY)
.mapping(0x47, MINECRAFT_1_13, false)
.mapping(0x4B, MINECRAFT_1_14, false)
.mapping(0x4C, MINECRAFT_1_15, false)
.mapping(0x55, MINECRAFT_1_17, false)
.mapping(0x58, MINECRAFT_1_19_1, false)
.mapping(0x56, MINECRAFT_1_19_3, false)
.mapping(0x5A, MINECRAFT_1_19_4, false)
.register();
What's Changed
- chore(deps): update dependency gradle to v8.1 in https://github.com/4drian3d/VPacketEvents/pull/9
- Added Packet Registration capability in https://github.com/4drian3d/VPacketEvents/pull/10
Full Changelog: https://github.com/4drian3d/VPacketEvents/compare/1.0.2...1.1.0
Information
Published on | April 20, 2023 |
---|---|
Downloads | 100 |
Platforms
Velocity (3.2)