Uses of Class
net.minecraft.advancements.criterion.ItemPredicate
-
Packages that use ItemPredicate Package Description net.minecraft.advancements.criterion net.minecraft.data net.minecraft.loot.conditions -
-
Uses of ItemPredicate in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as ItemPredicate Modifier and Type Field Description static ItemPredicate
ItemPredicate. ANY
private ItemPredicate
EntityEquipmentPredicate.Builder. chest
private ItemPredicate
EntityEquipmentPredicate. chest
private ItemPredicate
EntityEquipmentPredicate.Builder. feet
private ItemPredicate
EntityEquipmentPredicate. feet
private ItemPredicate
EntityEquipmentPredicate.Builder. head
private ItemPredicate
EntityEquipmentPredicate. head
private ItemPredicate
BeeNestDestroyedTrigger.Instance. item
private ItemPredicate
ConsumeItemTrigger.Instance. item
private ItemPredicate
EnchantedItemTrigger.Instance. item
private ItemPredicate
FilledBucketTrigger.Instance. item
private ItemPredicate
FishingRodHookedTrigger.Instance. item
private ItemPredicate
ItemDurabilityTrigger.Instance. item
private ItemPredicate
PlacedBlockTrigger.Instance. item
private ItemPredicate
PlayerEntityInteractionTrigger.Instance. item
private ItemPredicate
RightClickBlockWithItemTrigger.Instance. item
private ItemPredicate
ShotCrossbowTrigger.Instance. item
private ItemPredicate
ThrownItemPickedUpByEntityTrigger.Instance. item
private ItemPredicate
UsedTotemTrigger.Instance. item
private ItemPredicate
VillagerTradeTrigger.Instance. item
private ItemPredicate
EntityEquipmentPredicate.Builder. legs
private ItemPredicate
EntityEquipmentPredicate. legs
private ItemPredicate
EntityEquipmentPredicate.Builder. mainhand
private ItemPredicate
EntityEquipmentPredicate. mainhand
private ItemPredicate
EntityEquipmentPredicate.Builder. offhand
private ItemPredicate
EntityEquipmentPredicate. offhand
private ItemPredicate[]
InventoryChangeTrigger.Instance. predicates
private ItemPredicate
FishingRodHookedTrigger.Instance. rod
Fields in net.minecraft.advancements.criterion with type parameters of type ItemPredicate Modifier and Type Field Description private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>>
ItemPredicate. custom_predicates
private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>>
ItemPredicate. unmod_predicates
Methods in net.minecraft.advancements.criterion that return ItemPredicate Modifier and Type Method Description ItemPredicate
ItemPredicate.Builder. build()
static ItemPredicate
ItemPredicate. fromJson(com.google.gson.JsonElement p_192492_0_)
static ItemPredicate[]
ItemPredicate. fromJsonArray(com.google.gson.JsonElement p_192494_0_)
Methods in net.minecraft.advancements.criterion that return types with arguments of type ItemPredicate Modifier and Type Method Description static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>>
ItemPredicate. getPredicates()
Methods in net.minecraft.advancements.criterion with parameters of type ItemPredicate Modifier and Type Method Description static ItemDurabilityTrigger.Instance
ItemDurabilityTrigger.Instance. changedDurability(EntityPredicate.AndPredicate p_234816_0_, ItemPredicate p_234816_1_, MinMaxBounds.IntBound p_234816_2_)
EntityEquipmentPredicate.Builder
EntityEquipmentPredicate.Builder. chest(ItemPredicate p_234269_1_)
EntityEquipmentPredicate.Builder
EntityEquipmentPredicate.Builder. feet(ItemPredicate p_234271_1_)
static FilledBucketTrigger.Instance
FilledBucketTrigger.Instance. filledBucket(ItemPredicate p_204827_0_)
static FishingRodHookedTrigger.Instance
FishingRodHookedTrigger.Instance. fishedItem(ItemPredicate p_204829_0_, EntityPredicate p_204829_1_, ItemPredicate p_204829_2_)
static InventoryChangeTrigger.Instance
InventoryChangeTrigger.Instance. hasItems(ItemPredicate... p_203923_0_)
EntityEquipmentPredicate.Builder
EntityEquipmentPredicate.Builder. head(ItemPredicate p_234267_1_)
EntityEquipmentPredicate.Builder
EntityEquipmentPredicate.Builder. legs(ItemPredicate p_234270_1_)
Method parameters in net.minecraft.advancements.criterion with type arguments of type ItemPredicate Modifier and Type Method Description static void
ItemPredicate. register(ResourceLocation name, java.util.function.Function<com.google.gson.JsonObject,ItemPredicate> deserializer)
-
Uses of ItemPredicate in net.minecraft.data
Methods in net.minecraft.data with parameters of type ItemPredicate Modifier and Type Method Description protected static InventoryChangeTrigger.Instance
RecipeProvider. inventoryTrigger(ItemPredicate... p_200405_0_)
-
Uses of ItemPredicate in net.minecraft.loot.conditions
Fields in net.minecraft.loot.conditions declared as ItemPredicate Modifier and Type Field Description private ItemPredicate
MatchTool. predicate
Constructors in net.minecraft.loot.conditions with parameters of type ItemPredicate Constructor Description MatchTool(ItemPredicate p_i51193_1_)
-