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, java.lang.String value)
RegistryType<R>
registry()
default java.util.Optional<T>
resolve(RegistryHolder holder, PaletteType<T,R> type)
java.lang.String
value()
-
-
-
Method Detail
-
registry
RegistryType<R> registry()
-
value
java.lang.String value()
-
resolve
default java.util.Optional<T> resolve(RegistryHolder holder, PaletteType<T,R> type)
-
byString
static <T,R> PaletteReference<T,R> byString(RegistryType<R> registryType, java.lang.String value)
-
-