Class CameraAimAssistRegistry
java.lang.Object
net.raphimc.viabedrock.protocol.model.CameraAimAssistRegistry
Connection-owned native definitions and pending command requests. Rendering activation is separate.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive()voidPacket 339 upserts signed metadata-ID triples and retains omitted priorities.voidapply(CameraAimAssistData.Definitions definitions) Operation zero replaces both tables; one replaces only named entries.presets()intpriority(int presetId, int categoryId, int actorId) The first two IDs belong to the local player; the third belongs to the candidate actor.booleansubmit(CameraAimAssistData.Command command) Unknown named presets leave even an earlier pending request untouched.booleantick()Last request wins before the native update phase; invalid settings consume the request and retain active state.
-
Constructor Details
-
CameraAimAssistRegistry
public CameraAimAssistRegistry()
-
-
Method Details
-
categories
-
presets
-
actorPriorities
-
definitions
-
active
-
apply
Operation zero replaces both tables; one replaces only named entries. Unknown operations do nothing. -
apply
Packet 339 upserts signed metadata-ID triples and retains omitted priorities. -
priority
public int priority(int presetId, int categoryId, int actorId) The first two IDs belong to the local player; the third belongs to the candidate actor. -
submit
Unknown named presets leave even an earlier pending request untouched. Empty names bypass lookup. -
tick
public boolean tick()Last request wins before the native update phase; invalid settings consume the request and retain active state.
-