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

Entries

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
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

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

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

Writes the actual information to the packetWrapper.