Package kr.toxicity.model.api.nms
package kr.toxicity.model.api.nms
Defines low-level Minecraft server adapter contracts used by BetterModel.
This package is the API boundary for version-specific NMS implementations, including display entities, hit boxes, packet bundling, player channels, nametags, and version selection. Implementations belong in NMS modules; API consumers should treat these types as contracts for packet-based rendering.
Example:
NMS nms = BetterModel.nms();
PlayerChannelHandler channel = BetterModel.player(player.uniqueId()).orElseThrow();
- Since:
- 3.2.0
-
ClassDescriptionA record that bundles animation packets for both standard clients and modded clients.Handles the transformation (position, scale, rotation) of a display entity.Represents a hitbox for a model part, allowing for interaction and collision detection.Listens for events related to a
HitBox, such as damage, interaction, and mounting.Builder forHitBoxListener.Represents an object that can be identified by a unique ID and a UUID.A bundler that sends animation data to a player.Represents an item display entity used for rendering model parts.Represents the hand used during an interaction with a model hitbox.Represents a nametag associated with a model part.Handles direct interactions with Minecraft's internal server code (NMS).Enumerates supported Minecraft server versions and their associated metadata.Collects multiple packets to be sent together to a player.Manages the network channel for a player, allowing for packet interception and injection.Represents an entity that has a player profile, armor, and skin customization settings.