Class BedrockNativeBlocks

java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockNativeBlocks

public final class BedrockNativeBlocks extends Object
Client lifecycle adapter for the core's authoritative block mirror.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    accept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeBlockIdentifiers message)
     
    static void
     
    static net.minecraft.world.level.material.FluidState
    fluidState(net.minecraft.world.level.Level owner, int x, int y, int z)
    Worker-safe fluid query.
    static net.raphimc.viabedrock.api.model.NativeBlockIdentifiers.Name
    state(int x, int y, int z, int layer)
    Exact native runtime identity and properties for either block layer on the client thread.

    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.NativeBlockIdentifiers message)
    • clear

      public static void clear()
    • state

      public static net.raphimc.viabedrock.api.model.NativeBlockIdentifiers.Name state(int x, int y, int z, int layer)
      Exact native runtime identity and properties for either block layer on the client thread.
    • fluidState

      public static net.minecraft.world.level.material.FluidState fluidState(net.minecraft.world.level.Level owner, int x, int y, int z)
      Worker-safe fluid query. Null retains vanilla behavior until this world's native mirror is ready.