Class BedrockRidingAnchors

java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockRidingAnchors
All Implemented Interfaces:
com.viaversion.viaversion.api.connection.StorableObject

public final class BedrockRidingAnchors extends Object implements com.viaversion.viaversion.api.connection.StorableObject
Immutable native passenger anchors published by the connection thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    remove(com.viaversion.viaversion.api.connection.UserConnection connection, net.raphimc.viabedrock.api.model.entity.Entity passenger)
     
    static net.minecraft.world.phys.Vec3
    ridingPosition(com.viaversion.viaversion.api.connection.UserConnection connection, int passengerId, UUID passengerUuid, UUID vehicleUuid, net.minecraft.world.phys.Vec3 vehiclePosition, float vehicleYaw, net.minecraft.world.phys.Vec3 passengerAttachment)
    Returns the Java vehicle attachment point; positionRider subtracts the passenger attachment.
    static void
    update(com.viaversion.viaversion.api.connection.UserConnection connection, net.raphimc.viabedrock.api.model.entity.Entity passenger)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.viaversion.viaversion.api.connection.StorableObject

    onRemove
  • Method Details

    • update

      public static void update(com.viaversion.viaversion.api.connection.UserConnection connection, net.raphimc.viabedrock.api.model.entity.Entity passenger)
    • remove

      public static void remove(com.viaversion.viaversion.api.connection.UserConnection connection, net.raphimc.viabedrock.api.model.entity.Entity passenger)
    • ridingPosition

      public static net.minecraft.world.phys.Vec3 ridingPosition(com.viaversion.viaversion.api.connection.UserConnection connection, int passengerId, UUID passengerUuid, UUID vehicleUuid, net.minecraft.world.phys.Vec3 vehiclePosition, float vehicleYaw, net.minecraft.world.phys.Vec3 passengerAttachment)
      Returns the Java vehicle attachment point; positionRider subtracts the passenger attachment.