Class BedrockActorState

java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockActorState

public final class BedrockActorState extends Object
Native actor inputs received on the current Minecraft connection's client thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.ActorSpatialCommand message)
     
    static void
    accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeActorBoundsMessage message)
     
    static void
    accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeActorMessage message)
     
    static void
    accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeAnimationMessage message)
     
    static net.raphimc.viabedrock.api.model.NativeAnimationControllers
     
    static void
    beforePhysics(net.minecraft.client.multiplayer.ClientLevel level)
     
    static net.raphimc.viabedrock.api.model.NativeActorBoundsMessage
    bounds(UUID uuid)
     
    static void
     
    static boolean
    isBlocking(UUID uuid, boolean javaBlocking)
     
    static boolean
     
    static UUID
    lifetime(UUID uuid)
     
    static UUID
    Ownership checks use the current registry even while physics reads restored metadata.
    static net.raphimc.viabedrock.api.model.NativeMovementSources
    movement(UUID uuid)
     
    static float
    shieldBlockingBob(UUID uuid, float frameAlpha)
     
    spellColor(UUID uuid, UUID lifetime)
     
    static net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot
    state(UUID uuid)
     
    static net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot
    stateByRuntimeId(long runtimeId)
     
    static boolean
     
    static void
     
    static UUID
    uuidByUniqueId(long uniqueId)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • accept

      public static void accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeActorMessage message)
    • accept

      public static void accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeActorBoundsMessage message)
    • accept

      public static void accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.ActorSpatialCommand message)
    • movement

      public static net.raphimc.viabedrock.api.model.NativeMovementSources movement(UUID uuid)
    • beforePhysics

      public static void beforePhysics(net.minecraft.client.multiplayer.ClientLevel level)
    • bounds

      public static net.raphimc.viabedrock.api.model.NativeActorBoundsMessage bounds(UUID uuid)
    • accept

      public static void accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeAnimationMessage message)
    • state

      public static net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot state(UUID uuid)
    • stateByRuntimeId

      public static net.raphimc.viabedrock.api.model.NativeActorMessage.Snapshot stateByRuntimeId(long runtimeId)
    • supportsUniqueIds

      public static boolean supportsUniqueIds()
    • uuidByUniqueId

      public static UUID uuidByUniqueId(long uniqueId)
    • lifetime

      public static UUID lifetime(UUID uuid)
    • liveLifetime

      public static UUID liveLifetime(UUID uuid)
      Ownership checks use the current registry even while physics reads restored metadata.
    • animations

      public static net.raphimc.viabedrock.api.model.NativeAnimationControllers animations(UUID uuid)
    • isCharging

      public static boolean isCharging(UUID uuid)
    • isBlocking

      public static boolean isBlocking(UUID uuid, boolean javaBlocking)
    • tick

      public static void tick()
    • shieldBlockingBob

      public static float shieldBlockingBob(UUID uuid, float frameAlpha)
    • spellColor

      public static BedrockMolangColor spellColor(UUID uuid, UUID lifetime)
    • clear

      public static void clear()