Uses of Record Class
net.minecraft.advancements.critereon.ItemPredicate
Packages that use ItemPredicate
Package
Description
- 
Uses of ItemPredicate in net.minecraft.advancements.critereonFields in net.minecraft.advancements.critereon with type parameters of type ItemPredicateModifier and TypeFieldDescriptionprivate Optional<ItemPredicate>EntityEquipmentPredicate.Builder.chestprivate final Optional<ItemPredicate>EntityEquipmentPredicate.chestThe field for thechestrecord component.static com.mojang.serialization.Codec<ItemPredicate>ItemPredicate.CODECprivate Optional<ItemPredicate>EntityEquipmentPredicate.Builder.feetprivate final Optional<ItemPredicate>EntityEquipmentPredicate.feetThe field for thefeetrecord component.private Optional<ItemPredicate>EntityEquipmentPredicate.Builder.headprivate final Optional<ItemPredicate>EntityEquipmentPredicate.headThe field for theheadrecord component.private final List<ItemPredicate>RecipeCraftedTrigger.TriggerInstance.ingredientsThe field for theingredientsrecord component.private final Optional<ItemPredicate>BeeNestDestroyedTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>ConsumeItemTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>EnchantedItemTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>FilledBucketTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>FishingRodHookedTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>ItemDurabilityTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>PickedUpItemTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>PlayerInteractTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>ShotCrossbowTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>TradeTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>UsedTotemTrigger.TriggerInstance.itemThe field for theitemrecord component.private final Optional<ItemPredicate>UsingItemTrigger.TriggerInstance.itemThe field for theitemrecord component.private final List<ItemPredicate>InventoryChangeTrigger.TriggerInstance.itemsThe field for theitemsrecord component.private Optional<ItemPredicate>EntityEquipmentPredicate.Builder.legsprivate final Optional<ItemPredicate>EntityEquipmentPredicate.legsThe field for thelegsrecord component.private Optional<ItemPredicate>EntityEquipmentPredicate.Builder.mainhandprivate final Optional<ItemPredicate>EntityEquipmentPredicate.mainhandThe field for themainhandrecord component.private Optional<ItemPredicate>EntityEquipmentPredicate.Builder.offhandprivate final Optional<ItemPredicate>EntityEquipmentPredicate.offhandThe field for theoffhandrecord component.private final Optional<ItemPredicate>FishingRodHookedTrigger.TriggerInstance.rodThe field for therodrecord component.static final com.mojang.serialization.Codec<ItemPredicate>ItemPredicate.VANILLA_CODECMethods in net.minecraft.advancements.critereon that return ItemPredicateMethods in net.minecraft.advancements.critereon that return types with arguments of type ItemPredicateModifier and TypeMethodDescriptionEntityEquipmentPredicate.chest()Returns the value of thechestrecord component.EntityEquipmentPredicate.feet()Returns the value of thefeetrecord component.EntityEquipmentPredicate.head()Returns the value of theheadrecord component.RecipeCraftedTrigger.TriggerInstance.ingredients()Returns the value of theingredientsrecord component.BeeNestDestroyedTrigger.TriggerInstance.item()Returns the value of theitemrecord component.ConsumeItemTrigger.TriggerInstance.item()Returns the value of theitemrecord component.EnchantedItemTrigger.TriggerInstance.item()Returns the value of theitemrecord component.FilledBucketTrigger.TriggerInstance.item()Returns the value of theitemrecord component.FishingRodHookedTrigger.TriggerInstance.item()Returns the value of theitemrecord component.ItemDurabilityTrigger.TriggerInstance.item()Returns the value of theitemrecord component.PickedUpItemTrigger.TriggerInstance.item()Returns the value of theitemrecord component.PlayerInteractTrigger.TriggerInstance.item()Returns the value of theitemrecord component.ShotCrossbowTrigger.TriggerInstance.item()Returns the value of theitemrecord component.TradeTrigger.TriggerInstance.item()Returns the value of theitemrecord component.UsedTotemTrigger.TriggerInstance.item()Returns the value of theitemrecord component.UsingItemTrigger.TriggerInstance.item()Returns the value of theitemrecord component.InventoryChangeTrigger.TriggerInstance.items()Returns the value of theitemsrecord component.EntityEquipmentPredicate.legs()Returns the value of thelegsrecord component.EntityEquipmentPredicate.mainhand()Returns the value of themainhandrecord component.EntityEquipmentPredicate.offhand()Returns the value of theoffhandrecord component.FishingRodHookedTrigger.TriggerInstance.rod()Returns the value of therodrecord component.Methods in net.minecraft.advancements.critereon with parameters of type ItemPredicateModifier and TypeMethodDescriptionInventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate... p_43198_) UsedTotemTrigger.TriggerInstance.usedTotem(ItemPredicate p_163725_) Method parameters in net.minecraft.advancements.critereon with type arguments of type ItemPredicateModifier and TypeMethodDescriptionItemDurabilityTrigger.TriggerInstance.changedDurability(Optional<ItemPredicate> p_299020_, MinMaxBounds.Ints p_151288_) FishingRodHookedTrigger.TriggerInstance.fishedItem(Optional<ItemPredicate> p_298233_, Optional<EntityPredicate> p_298660_, Optional<ItemPredicate> p_298847_) ShotCrossbowTrigger.TriggerInstance.shotCrossbow(Optional<ItemPredicate> p_300988_) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity(ContextAwarePredicate p_286865_, Optional<ItemPredicate> p_299099_, Optional<ContextAwarePredicate> p_299117_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type ItemPredicateModifierConstructorDescriptionEntityEquipmentPredicate(Optional<ItemPredicate> head, Optional<ItemPredicate> chest, Optional<ItemPredicate> legs, Optional<ItemPredicate> feet, Optional<ItemPredicate> mainhand, Optional<ItemPredicate> offhand) Creates an instance of aEntityEquipmentPredicaterecord class.TriggerInstance(Optional<ContextAwarePredicate> player, InventoryChangeTrigger.TriggerInstance.Slots slots, List<ItemPredicate> items) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceLocation recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstancerecord class.
- 
Uses of ItemPredicate in net.minecraft.data.recipesMethods in net.minecraft.data.recipes with parameters of type ItemPredicateModifier and TypeMethodDescriptionprotected static Criterion<InventoryChangeTrigger.TriggerInstance>RecipeProvider.inventoryTrigger(ItemPredicate... p_126012_) 
- 
Uses of ItemPredicate in net.minecraft.world.level.storage.loot.predicatesFields in net.minecraft.world.level.storage.loot.predicates with type parameters of type ItemPredicateModifier and TypeFieldDescriptionprivate final Optional<ItemPredicate>MatchTool.predicateThe field for thepredicaterecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type ItemPredicateModifier and TypeMethodDescriptionMatchTool.predicate()Returns the value of thepredicaterecord component.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type ItemPredicateModifierConstructorDescriptionMatchTool(Optional<ItemPredicate> predicate) Creates an instance of aMatchToolrecord class.
- 
Uses of ItemPredicate in net.neoforged.neoforge.common.advancements.critereonMethods in net.neoforged.neoforge.common.advancements.critereon that return ItemPredicateModifier and TypeMethodDescriptiondefault ItemPredicateICustomItemPredicate.toVanilla()Convert to a vanillaItemPredicate.