ofClass

@Nullable()
public static @Nullable() IBlockEntityProcessor<T> ofClass<T extends BlockEntity>(@NotNull() @NotNull() Class<@NotNull() T> type)(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