Skip to content

API reference Obsidian.API.Client

ClientBlockEntityExtensions class

Client world access for block entities, without making their server-side Level a client level.

public static class ClientBlockEntityExtensions

In Obsidian.API.Client.

Methods

GetClientWorld(BlockEntity)

public static IClientWorld GetClientWorld(this BlockEntity blockEntity);

The client view while this is a live client block entity (including Load and ClientTick), otherwise null. The view's thread rules still apply. The server never attaches a client world.

On this page