get

@Nullable()
abstract Provider get(T object)

Get a color provider for the given object.

Please note that the underlying registry may not be fully populated or stable until the game has started,as other mods may overwrite the registry.

Return

The registered mapper for this provider, or {@code null} if none is registered or available.

Parameters

object

The object to acquire the provide for.

Sources

jvm source
Link copied to clipboard