Class BedrockNativeBlocks
java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockNativeBlocks
Client lifecycle adapter for the core's authoritative block mirror.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaccept(net.minecraft.network.Connection connection, net.raphimc.viabedrock.api.model.NativeBlockIdentifiers message) static voidclear()static net.minecraft.world.level.material.FluidStatefluidState(net.minecraft.world.level.Level owner, int x, int y, int z) Worker-safe fluid query.static net.raphimc.viabedrock.api.model.NativeBlockIdentifiers.Namestate(int x, int y, int z, int layer) Exact native runtime identity and properties for either block layer on the client thread.
-
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.
-