Package | Description |
---|---|
net.minecraft.advancements.critereon | |
net.minecraftforge.advancements.critereon |
Modifier and Type | Field and Description |
---|---|
static ItemPredicate |
ItemPredicate.ANY |
private ItemPredicate |
ConsumeItemTrigger.Instance.item |
private ItemPredicate |
PlacedBlockTrigger.Instance.item |
private ItemPredicate |
ItemDurabilityTrigger.Instance.item |
private ItemPredicate |
UsedTotemTrigger.Instance.item |
private ItemPredicate |
EnchantedItemTrigger.Instance.item |
private ItemPredicate |
VillagerTradeTrigger.Instance.item |
private ItemPredicate[] |
InventoryChangeTrigger.Instance.items |
Modifier and Type | Method and Description |
---|---|
static ItemPredicate |
ItemPredicate.deserialize(com.google.gson.JsonElement element) |
static ItemPredicate[] |
ItemPredicate.deserializeArray(com.google.gson.JsonElement element) |
Constructor and Description |
---|
Instance(Block block,
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn,
LocationPredicate locationIn,
ItemPredicate itemIn) |
Instance(EntityPredicate villager,
ItemPredicate item) |
Instance(ItemPredicate item) |
Instance(ItemPredicate item) |
Instance(ItemPredicate item,
MinMaxBounds levels) |
Instance(ItemPredicate item,
MinMaxBounds durability,
MinMaxBounds delta) |
Instance(MinMaxBounds occupied,
MinMaxBounds full,
MinMaxBounds empty,
ItemPredicate[] items) |
Modifier and Type | Class and Description |
---|---|
class |
OredictItemPredicate
An
ItemPredicate that matches oredicts. |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicates.predicates |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicates.getPredicates() |
Modifier and Type | Method and Description |
---|---|
static void |
ItemPredicates.register(ResourceLocation rl,
java.util.function.Function<com.google.gson.JsonObject,ItemPredicate> jsonToPredicate) |