public class ItemPredicates
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
predicates |
Constructor and Description |
---|
ItemPredicates() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
getPredicates() |
static void |
register(ResourceLocation rl,
java.util.function.Function<com.google.gson.JsonObject,ItemPredicate> jsonToPredicate) |
private static final java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> predicates
public static void register(ResourceLocation rl, java.util.function.Function<com.google.gson.JsonObject,ItemPredicate> jsonToPredicate)
public static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> getPredicates()