public class LootFunctionManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LootFunctionManager.Serializer |
Constructor and Description |
---|
LootFunctionManager() |
Modifier and Type | Method and Description |
---|---|
static <T extends LootFunction> |
getSerializerFor(T functionClass) |
static LootFunction.Serializer<?> |
getSerializerForName(ResourceLocation location) |
static <T extends LootFunction> |
registerFunction(LootFunction.Serializer<? extends T> serializer) |
public static <T extends LootFunction> void registerFunction(LootFunction.Serializer<? extends T> serializer)
public static LootFunction.Serializer<?> getSerializerForName(ResourceLocation location)
public static <T extends LootFunction> LootFunction.Serializer<T> getSerializerFor(T functionClass)