-
Notifications
You must be signed in to change notification settings - Fork 4
Home
PacketEntityAPI is a simple, easy to use, and efficient library for the creation and modification of outbound or inbound packets related to entities. The documentation has been divided into a few categories:
To get started, see the Getting Started and Obtaining an API Instance pages.
Articles under the fake entities heading are related to the creation of fake entities. For modification of fake entity metadata, see the modifiers section.
PacketEntityAPI supports overriding custom hitboxes for fake entities. Currently, these have a few limitations:
- When clicking outside of the bounds of the standard hitbox of the entity, only attacking will work.
- If the custom hitbox is smaller than the original hitbox, then the uncovered area of the original hitbox will form a 'dead zone' where clicking does nothing.
Packet listeners can specify a few engine settings related to the packet detection engine, including whether or not to fire events for fake entities or collisions with fake entities. These events contain getters and setters for easy modification of the packet. The documentation on this wiki explains how to register a listener - additional information about settings is available on the Javadocs.
The documentation for the modifier system explains how you should obtain modifier instances and how to use these instances to modify fake entities or metadata packets.
Contains information about how to create packets, send packets, and queue packets for sending after the event.