I have no plans to reliably update this mod, and it is not guaranteed to work perfectly (for example debug shapes are not cleared when disconnecting currently)
Allows servers to render arbitrarily placed and sized debug shapes on the client.
At the moment, the following plugin message is supported:
PMC ID | Field Name | Field Type | Notes | ||||
---|---|---|---|---|---|---|---|
debug:shapes | Op Count | VarInt | The number of operations following | ||||
Operation | Type | VarInt | One of the following | ||||
SET (0) | Target | NamespacedID | |||||
Shape Type | VarInt | One of the following | |||||
BOX (0) | Start | Vec3D | 3 doubles | ||||
End | Vec3D | 3 doubles | |||||
Color | Integer | In ARGB format (8 bits per) | |||||
LINES (1) | Point Count | VarInt | Number of following points. They will be drawn as a strip. | ||||
Point | Start | Vec3D | 3 doubles | ||||
End | Vec3D | 3 doubles | |||||
Thickness | Float | ||||||
Color | Integer | In ARGB format (8 bits per) | |||||
REMOVE (1) | Target | NamespaceID | |||||
CLEAR_NS (2) | Target | String | Clears all entries in the given namespace. | ||||
CLEAR (3) |