ofClass

@Nullable
open fun <T : BlockEntity?> ofClass(@NotNull type: @NotNull Class<@NotNull T>): @Nullable IBlockEntityProcessor<T>(source)

Finds the registered block entity processor for the given block entity class.

Parameters

<T>

The type of the block entity

type

The class of the block entity