Class KayakPropertyFactory
- java.lang.Object
-
- com.github.liachmodded.kayak.ui.property.KayakPropertyFactory
-
public final class KayakPropertyFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description KayakPropertyFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> void
addToHandler(Consumer<net.minecraft.screen.Property> adder, T target, PropertyApplication<T>... applications)
static <T> void
addToHandler(Consumer<net.minecraft.screen.Property> adder, T target, Iterable<PropertyApplication<T>> applications)
static <T,E extends Enum<E> & PropertyApplication<T>>
Map<E,net.minecraft.screen.Property>map(T target, Class<E> enumType)
static net.minecraft.screen.Property
of(IntSupplier getter)
static <T> net.minecraft.screen.Property
of(T target, PropertyApplication<T> application)
-
-
-
Method Detail
-
addToHandler
@SafeVarargs public static <T> void addToHandler(Consumer<net.minecraft.screen.Property> adder, T target, PropertyApplication<T>... applications)
-
addToHandler
public static <T> void addToHandler(Consumer<net.minecraft.screen.Property> adder, T target, Iterable<PropertyApplication<T>> applications)
-
map
public static <T,E extends Enum<E> & PropertyApplication<T>> Map<E,net.minecraft.screen.Property> map(T target, Class<E> enumType)
-
of
public static <T> net.minecraft.screen.Property of(T target, PropertyApplication<T> application)
-
of
public static net.minecraft.screen.Property of(IntSupplier getter)
-
-