updates for 1.21.100 support

This commit is contained in:
ethaniccc
2025-08-08 00:29:41 -04:00
parent d3fae5d3be
commit 6479ff677e
16 changed files with 9433 additions and 68 deletions

View File

@@ -22,6 +22,8 @@ type CameraAimAssist struct {
TargetMode byte
// Action is the action that should be performed with the aim assist. This is one of the constants above.
Action byte
// ShowDebugRender specifies if debug render should be shown.
ShowDebugRender bool
}
// ID ...
@@ -37,4 +39,7 @@ func (pk *CameraAimAssist) Marshal(io protocol.IO) {
io.Float32(&pk.Distance)
io.Uint8(&pk.TargetMode)
io.Uint8(&pk.Action)
if proto.IsProtoGTE(io, proto.ID827) {
io.Bool(&pk.ShowDebugRender)
}
}