Interface PaletteReference<T,R>
-
public interface PaletteReference<T,R>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PaletteReference.Factory
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <T,R>
PaletteReference<T,R>byString(RegistryType<R> registryType, String value)
RegistryType<R>
registry()
default Optional<T>
resolve(RegistryHolder holder, PaletteType<T,R> type)
String
value()
-
-
-
Method Detail
-
registry
RegistryType<R> registry()
-
value
String value()
-
resolve
default Optional<T> resolve(RegistryHolder holder, PaletteType<T,R> type)
-
byString
static <T,R> PaletteReference<T,R> byString(RegistryType<R> registryType, String value)
-
-