PlayerSneakPacket

https://github.com/ViaVersion/ViaFabricPlus/blob/56c4959000e68d77fd415b89af7a95478d825079/src/main/java/com/viaversion/viafabricplus/injection/mixin/features/movement/sprinting_and_sneaking/MixinClientPlayerEntity.java#L251-L264

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val packetType: ServerboundPackets1_21_5

The type of the packet.

Link copied to clipboard
open override val protocol: Class<Protocol1_21_5To1_21_6>

Should provide the class of the protocol from the version where the packet got removed to the version where it was still present.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun write(packetWrapper: PacketWrapper)

Writes the actual information to the packetWrapper.