0x0C C0CPacketInput
Player steers a vehicle (boat or horse). Sends sideways/forward movement, jump flag, and unmount flag.
Fields
| Field | Type | Description |
|---|---|---|
| sideways | float | Left/right input (-1 to 1) |
| forward | float | Forward/back input (-1 to 1) |
| jump | boolean | Jump flag |
| unmount | boolean | Sneak to dismount flag |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Sideways | float | Left/right input |
| Forward | float | Forward/back input |
| Jump | bool | Horse jump or boat vertical |
| Unmount | bool | Dismount vehicle |
MCP References
MCP
NetHandlerPlayServer.processInput()Handler Interface
HND
INetHandlerPlayServerNotes
Sent every tick while riding a vehicle. Rise 6.0 uses C0CPacketInput in its Disabler module for three different modes: VehicleDisabler (send empty C0C on pre-motion), InputDisabler (send C0C with fix- ed values on strafe), and GhostlyDisabler (send C0C alongside C03 movement). The empty constructor C0CPacketInput() defaults to (0,0,false,false) which freezes the boat.
implementation Implementation Cases
BoatFly
(Monsoon 3.0-A6, Tenacity 6.0)
Spoof vehicle input values (sideways, forward, jump/unmount flags) for vehicle speed hacks.
if (event.getPacket() instanceof C0CPacketInput) {
C0CPacketInput c0c = (C0CPacketInput) event.getPacket();
// modify sideways/forward for speed
c0c.forward = 1.0f; // max forward
}HorseJump
(Monsoon 3.0-A6, Tenacity 6.0)
Spoof vehicle input values (sideways, forward, jump/unmount flags) for vehicle speed hacks.
if (event.getPacket() instanceof C0CPacketInput) {
C0CPacketInput c0c = (C0CPacketInput) event.getPacket();
// modify sideways/forward for speed
c0c.forward = 1.0f; // max forward
}VehicleSpeed
(Monsoon 3.0-A6, Tenacity 6.0)
Spoof vehicle input values (sideways, forward, jump/unmount flags) for vehicle speed hacks.
if (event.getPacket() instanceof C0CPacketInput) {
C0CPacketInput c0c = (C0CPacketInput) event.getPacket();
// modify sideways/forward for speed
c0c.forward = 1.0f; // max forward
}