getEntrypoints

@NotNull
open fun <T> getEntrypoints(@NotNull type: @NotNull Class<@NotNull T>): @NotNull List<@NotNull T>(source)

Gets all entry points from fabric.mod.json with name specified in the EntrypointName annotation of the given type.

Parameters

type

The type of the entry points

<T>

The type of the entry points

See also