Uses of Class
net.minecraft.advancements.criterion.ItemPredicate
Package
Description
-
Uses of ItemPredicate in net.minecraft.advancements.criterion
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.Instance.item
private final ItemPredicate
ConsumeItemTrigger.Instance.item
private final ItemPredicate
EnchantedItemTrigger.Instance.item
private final ItemPredicate
FilledBucketTrigger.Instance.item
private final ItemPredicate
FishingRodHookedTrigger.Instance.item
private final ItemPredicate
ItemDurabilityTrigger.Instance.item
private final ItemPredicate
PlacedBlockTrigger.Instance.item
private final ItemPredicate
PlayerEntityInteractionTrigger.Instance.item
private final ItemPredicate
RightClickBlockWithItemTrigger.Instance.item
private final ItemPredicate
ShotCrossbowTrigger.Instance.item
private final ItemPredicate
ThrownItemPickedUpByEntityTrigger.Instance.item
private final ItemPredicate
UsedTotemTrigger.Instance.item
private final ItemPredicate
VillagerTradeTrigger.Instance.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.Instance.predicates
private final ItemPredicate
FishingRodHookedTrigger.Instance.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_192492_0_) static ItemPredicate[]
ItemPredicate.fromJsonArray
(com.google.gson.JsonElement p_192494_0_) Modifier and TypeMethodDescriptionstatic Map<ResourceLocation,
Function<com.google.gson.JsonObject, ItemPredicate>> ItemPredicate.getPredicates()
Modifier and TypeMethodDescriptionItemDurabilityTrigger.Instance.changedDurability
(EntityPredicate.AndPredicate p_234816_0_, ItemPredicate p_234816_1_, MinMaxBounds.IntBound p_234816_2_) EntityEquipmentPredicate.Builder.chest
(ItemPredicate p_234269_1_) EntityEquipmentPredicate.Builder.feet
(ItemPredicate p_234271_1_) static FilledBucketTrigger.Instance
FilledBucketTrigger.Instance.filledBucket
(ItemPredicate p_204827_0_) FishingRodHookedTrigger.Instance.fishedItem
(ItemPredicate p_204829_0_, EntityPredicate p_204829_1_, ItemPredicate p_204829_2_) InventoryChangeTrigger.Instance.hasItems
(ItemPredicate... p_203923_0_) EntityEquipmentPredicate.Builder.head
(ItemPredicate p_234267_1_) EntityEquipmentPredicate.Builder.legs
(ItemPredicate p_234270_1_) Modifier and TypeMethodDescriptionstatic void
ItemPredicate.register
(ResourceLocation name, Function<com.google.gson.JsonObject, ItemPredicate> deserializer) ModifierConstructorDescriptionEntityEquipmentPredicate
(ItemPredicate p_i50809_1_, ItemPredicate p_i50809_2_, ItemPredicate p_i50809_3_, ItemPredicate p_i50809_4_, ItemPredicate p_i50809_5_, ItemPredicate p_i50809_6_) Instance
(EntityPredicate.AndPredicate p_i231471_1_, Block p_i231471_2_, ItemPredicate p_i231471_3_, MinMaxBounds.IntBound p_i231471_4_) Instance
(EntityPredicate.AndPredicate p_i231522_1_, ItemPredicate p_i231522_2_) Instance
(EntityPredicate.AndPredicate p_i231556_1_, ItemPredicate p_i231556_2_, MinMaxBounds.IntBound p_i231556_3_) Instance
(EntityPredicate.AndPredicate p_i231585_1_, ItemPredicate p_i231585_2_) Instance
(EntityPredicate.AndPredicate p_i231592_1_, ItemPredicate p_i231592_2_, EntityPredicate.AndPredicate p_i231592_3_, ItemPredicate p_i231592_4_) Instance
(EntityPredicate.AndPredicate p_i231597_1_, MinMaxBounds.IntBound p_i231597_2_, MinMaxBounds.IntBound p_i231597_3_, MinMaxBounds.IntBound p_i231597_4_, ItemPredicate[] p_i231597_5_) Instance
(EntityPredicate.AndPredicate p_i231598_1_, ItemPredicate p_i231598_2_, MinMaxBounds.IntBound p_i231598_3_, MinMaxBounds.IntBound p_i231598_4_) Instance
(EntityPredicate.AndPredicate p_i231810_1_, Block p_i231810_2_, StatePropertiesPredicate p_i231810_3_, LocationPredicate p_i231810_4_, ItemPredicate p_i231810_5_) Instance
(EntityPredicate.AndPredicate p_i241240_1_, ItemPredicate p_i241240_2_, EntityPredicate.AndPredicate p_i241240_3_) Instance
(EntityPredicate.AndPredicate p_i231602_1_, LocationPredicate p_i231602_2_, ItemPredicate p_i231602_3_) Instance
(EntityPredicate.AndPredicate p_i231880_1_, ItemPredicate p_i231880_2_) Instance
(EntityPredicate.AndPredicate p_i231599_1_, ItemPredicate p_i231599_2_, EntityPredicate.AndPredicate p_i231599_3_) Instance
(EntityPredicate.AndPredicate p_i232051_1_, ItemPredicate p_i232051_2_) Instance
(EntityPredicate.AndPredicate p_i232013_1_, EntityPredicate.AndPredicate p_i232013_2_, ItemPredicate p_i232013_3_) -
Uses of ItemPredicate in net.minecraft.data
Modifier and TypeMethodDescriptionprotected static InventoryChangeTrigger.Instance
RecipeProvider.inventoryTrigger
(ItemPredicate... p_200405_0_) -
Uses of ItemPredicate in net.minecraft.loot.conditions