Uses of Class
net.minecraft.advancements.critereon.ItemPredicate
Package
Description
-
Uses of ItemPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final ItemPredicate
ItemPredicate.ANY
private ItemPredicate
EntityEquipmentPredicate.Builder.chest
private final ItemPredicate
EntityEquipmentPredicate.chest
private ItemPredicate
EntityEquipmentPredicate.Builder.feet
private final ItemPredicate
EntityEquipmentPredicate.feet
private ItemPredicate
EntityEquipmentPredicate.Builder.head
private final ItemPredicate
EntityEquipmentPredicate.head
private final ItemPredicate
BeeNestDestroyedTrigger.TriggerInstance.item
private final ItemPredicate
ConsumeItemTrigger.TriggerInstance.item
private final ItemPredicate
EnchantedItemTrigger.TriggerInstance.item
private final ItemPredicate
FilledBucketTrigger.TriggerInstance.item
private final ItemPredicate
FishingRodHookedTrigger.TriggerInstance.item
private final ItemPredicate
ItemDurabilityTrigger.TriggerInstance.item
private final ItemPredicate
PickedUpItemTrigger.TriggerInstance.item
private final ItemPredicate
PlayerInteractTrigger.TriggerInstance.item
private final ItemPredicate
ShotCrossbowTrigger.TriggerInstance.item
private final ItemPredicate
TradeTrigger.TriggerInstance.item
private final ItemPredicate
UsedTotemTrigger.TriggerInstance.item
private final ItemPredicate
UsingItemTrigger.TriggerInstance.item
private ItemPredicate
EntityEquipmentPredicate.Builder.legs
private final ItemPredicate
EntityEquipmentPredicate.legs
private ItemPredicate
EntityEquipmentPredicate.Builder.mainhand
private final ItemPredicate
EntityEquipmentPredicate.mainhand
private ItemPredicate
EntityEquipmentPredicate.Builder.offhand
private final ItemPredicate
EntityEquipmentPredicate.offhand
private final ItemPredicate[]
InventoryChangeTrigger.TriggerInstance.predicates
private final ItemPredicate
FishingRodHookedTrigger.TriggerInstance.rod
Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.custom_predicates
private final List<ItemPredicate>
RecipeCraftedTrigger.TriggerInstance.predicates
private static final Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.unmod_predicates
Modifier and TypeMethodDescriptionItemPredicate.Builder.build()
static ItemPredicate
ItemPredicate.fromJson
(com.google.gson.JsonElement p_45052_) static ItemPredicate[]
ItemPredicate.fromJsonArray
(com.google.gson.JsonElement p_45056_) Modifier and TypeMethodDescriptionstatic Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.getPredicates()
Modifier and TypeMethodDescriptionItemDurabilityTrigger.TriggerInstance.changedDurability
(ContextAwarePredicate p_286720_, ItemPredicate p_286288_, MinMaxBounds.Ints p_286730_) ItemDurabilityTrigger.TriggerInstance.changedDurability
(ItemPredicate p_151287_, MinMaxBounds.Ints p_151288_) EntityEquipmentPredicate.Builder.chest
(ItemPredicate p_32209_) EntityEquipmentPredicate.Builder.feet
(ItemPredicate p_32213_) FilledBucketTrigger.TriggerInstance.filledBucket
(ItemPredicate p_38794_) FishingRodHookedTrigger.TriggerInstance.fishedItem
(ItemPredicate p_40448_, EntityPredicate p_40449_, ItemPredicate p_40450_) InventoryChangeTrigger.TriggerInstance.hasItems
(ItemPredicate... p_43198_) EntityEquipmentPredicate.Builder.head
(ItemPredicate p_32206_) EntityEquipmentPredicate.Builder.legs
(ItemPredicate p_32211_) EntityEquipmentPredicate.Builder.mainhand
(ItemPredicate p_149929_) EntityEquipmentPredicate.Builder.offhand
(ItemPredicate p_149931_) ShotCrossbowTrigger.TriggerInstance.shotCrossbow
(ItemPredicate p_159432_) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity
(ContextAwarePredicate p_286865_, ItemPredicate p_286788_, ContextAwarePredicate p_286327_) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByPlayer
(ContextAwarePredicate p_286405_, ItemPredicate p_286518_, ContextAwarePredicate p_286381_) ConsumeItemTrigger.TriggerInstance.usedItem
(ItemPredicate p_148082_) UsedTotemTrigger.TriggerInstance.usedTotem
(ItemPredicate p_163725_) Modifier and TypeMethodDescriptionRecipeCraftedTrigger.TriggerInstance.craftedItem
(ResourceLocation p_282794_, List<ItemPredicate> p_281369_) static void
ItemPredicate.register
(ResourceLocation name, Function<com.google.gson.JsonObject, ItemPredicate> deserializer) ModifierConstructorDescriptionEntityEquipmentPredicate
(ItemPredicate p_32186_, ItemPredicate p_32187_, ItemPredicate p_32188_, ItemPredicate p_32189_, ItemPredicate p_32190_, ItemPredicate p_32191_) TriggerInstance
(ContextAwarePredicate p_286609_, Block p_286264_, ItemPredicate p_286572_, MinMaxBounds.Ints p_286574_) TriggerInstance
(ContextAwarePredicate p_286663_, ItemPredicate p_286533_) TriggerInstance
(ContextAwarePredicate p_286871_, ItemPredicate p_286640_, MinMaxBounds.Ints p_286367_) TriggerInstance
(ContextAwarePredicate p_286231_, ItemPredicate p_286845_) TriggerInstance
(ContextAwarePredicate p_286346_, ItemPredicate p_286539_, ContextAwarePredicate p_286253_, ItemPredicate p_286372_) TriggerInstance
(ContextAwarePredicate p_286286_, MinMaxBounds.Ints p_286313_, MinMaxBounds.Ints p_286767_, MinMaxBounds.Ints p_286601_, ItemPredicate[] p_286380_) TriggerInstance
(ContextAwarePredicate p_286731_, ItemPredicate p_286447_, MinMaxBounds.Ints p_286431_, MinMaxBounds.Ints p_286460_) TriggerInstance
(ResourceLocation p_286249_, ContextAwarePredicate p_286258_, ItemPredicate p_286761_, ContextAwarePredicate p_286491_) TriggerInstance
(ContextAwarePredicate p_286824_, ItemPredicate p_286719_, ContextAwarePredicate p_286219_) TriggerInstance
(ContextAwarePredicate p_286262_, ItemPredicate p_286755_) TriggerInstance
(ContextAwarePredicate p_286523_, ContextAwarePredicate p_286395_, ItemPredicate p_286263_) TriggerInstance
(ContextAwarePredicate p_286406_, ItemPredicate p_286462_) TriggerInstance
(ContextAwarePredicate p_286652_, ItemPredicate p_286296_) ModifierConstructorDescriptionTriggerInstance
(ContextAwarePredicate p_286913_, ResourceLocation p_286906_, List<ItemPredicate> p_286302_) -
Uses of ItemPredicate in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprotected static InventoryChangeTrigger.TriggerInstance
RecipeProvider.inventoryTrigger
(ItemPredicate... p_126012_) -
Uses of ItemPredicate in net.minecraft.world.level.storage.loot.predicates