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
ItemPickedUpByEntityTrigger.TriggerInstance.item
private final ItemPredicate
ItemUsedOnBlockTrigger.TriggerInstance.item
private final ItemPredicate
PlacedBlockTrigger.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 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
(EntityPredicate.Composite p_43695_, ItemPredicate p_43696_, MinMaxBounds.Ints p_43697_) 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_) ConsumeItemTrigger.TriggerInstance.usedItem
(ItemPredicate p_148082_) UsedTotemTrigger.TriggerInstance.usedTotem
(ItemPredicate p_163725_) Modifier and TypeMethodDescriptionstatic 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
(EntityPredicate.Composite p_17504_, Block p_17505_, ItemPredicate p_17506_, MinMaxBounds.Ints p_17507_) TriggerInstance
(EntityPredicate.Composite p_23699_, ItemPredicate p_23700_) TriggerInstance
(EntityPredicate.Composite p_27688_, ItemPredicate p_27689_, MinMaxBounds.Ints p_27690_) TriggerInstance
(EntityPredicate.Composite p_38789_, ItemPredicate p_38790_) TriggerInstance
(EntityPredicate.Composite p_40439_, ItemPredicate p_40440_, EntityPredicate.Composite p_40441_, ItemPredicate p_40442_) TriggerInstance
(EntityPredicate.Composite p_43181_, MinMaxBounds.Ints p_43182_, MinMaxBounds.Ints p_43183_, MinMaxBounds.Ints p_43184_, ItemPredicate[] p_43185_) TriggerInstance
(EntityPredicate.Composite p_43690_, ItemPredicate p_43691_, MinMaxBounds.Ints p_43692_, MinMaxBounds.Ints p_43693_) TriggerInstance
(EntityPredicate.Composite p_44384_, ItemPredicate p_44385_, EntityPredicate.Composite p_44386_) TriggerInstance
(EntityPredicate.Composite p_45504_, LocationPredicate p_45505_, ItemPredicate p_45506_) TriggerInstance
(EntityPredicate.Composite p_59500_, Block p_59501_, StatePropertiesPredicate p_59502_, LocationPredicate p_59503_, ItemPredicate p_59504_) TriggerInstance
(EntityPredicate.Composite p_61514_, ItemPredicate p_61515_, EntityPredicate.Composite p_61516_) TriggerInstance
(EntityPredicate.Composite p_65479_, ItemPredicate p_65480_) TriggerInstance
(EntityPredicate.Composite p_70979_, EntityPredicate.Composite p_70980_, ItemPredicate p_70981_) TriggerInstance
(EntityPredicate.Composite p_74448_, ItemPredicate p_74449_) TriggerInstance
(EntityPredicate.Composite p_163881_, ItemPredicate p_163882_) -
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