Class BedrockInputPermissions

java.lang.Object
com.viaversion.viafabricplus.bedrock.input.BedrockInputPermissions

public final class BedrockInputPermissions extends Object
Connection-scoped permissions also work when ViaBedrock runs remotely in ViaProxy.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    accept(net.raphimc.viabedrock.api.model.PlayerInputPermissions value)
     
    static boolean
     
    static void
    capture(net.minecraft.world.entity.player.Input input)
     
    static void
     
    static net.raphimc.viabedrock.api.model.PlayerInputPermissions
     
    static net.minecraft.world.entity.player.Input
    filter(net.minecraft.world.entity.player.Input input, boolean passenger)
     
    static boolean
    Direct sessions are known before the first snapshot; ViaProxy advertises them through the core channel.
    static net.minecraft.world.phys.Vec2
    movement(net.minecraft.world.entity.player.Input input)
     
    static net.raphimc.viabedrock.api.model.PlayerInput
    sample(net.minecraft.world.entity.player.Input input)
     

    Methods inherited from class Object

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

    • current

      public static net.raphimc.viabedrock.api.model.PlayerInputPermissions current()
    • active

      public static boolean active()
    • isBedrockConnection

      public static boolean isBedrockConnection()
      Direct sessions are known before the first snapshot; ViaProxy advertises them through the core channel.
    • accept

      public static void accept(net.raphimc.viabedrock.api.model.PlayerInputPermissions value)
    • clear

      public static void clear()
    • sample

      public static net.raphimc.viabedrock.api.model.PlayerInput sample(net.minecraft.world.entity.player.Input input)
    • capture

      public static void capture(net.minecraft.world.entity.player.Input input)
    • filter

      public static net.minecraft.world.entity.player.Input filter(net.minecraft.world.entity.player.Input input, boolean passenger)
    • movement

      public static net.minecraft.world.phys.Vec2 movement(net.minecraft.world.entity.player.Input input)