Class BedrockActorQueries
java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockActorQueries
Immutable live actor inputs shared by animation frames and attached particle contexts.
-
Method Summary
Modifier and TypeMethodDescriptionequipmentAndVehicle(net.minecraft.world.entity.Entity actor) Capture equipment and native vehicle identity without retaining entities in query closures.static floatgroundSpeed(net.minecraft.world.phys.Vec3 movement) static booleanNative metadata and accepted emote playback both contribute current actor status.nativeState(net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot state) Refresh native metadata even when the actor has not produced another render frame.sample(net.minecraft.world.entity.Entity actor, net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot state, Map<String, ?> rendered)
-
Method Details
-
sample
-
equipmentAndVehicle
-
nativeState
-
isEmoting
public static boolean isEmoting(UUID actor, net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot state) Native metadata and accepted emote playback both contribute current actor status. -
groundSpeed
public static float groundSpeed(net.minecraft.world.phys.Vec3 movement)
-