Uses of Record Class
net.minecraft.predicate.item.ItemPredicate
Packages that use ItemPredicate
Package
Description
-
Uses of ItemPredicate in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion with type parameters of type ItemPredicateModifier and TypeFieldDescriptionprivate final Optional<ItemPredicate>FishingRodHookedCriterion.Conditions.caughtItemprivate final List<ItemPredicate>RecipeCraftedCriterion.Conditions.ingredientsprivate final Optional<ItemPredicate>BeeNestDestroyedCriterion.Conditions.itemprivate final Optional<ItemPredicate>ConsumeItemCriterion.Conditions.itemprivate final Optional<ItemPredicate>EnchantedItemCriterion.Conditions.itemprivate final Optional<ItemPredicate>FilledBucketCriterion.Conditions.itemprivate final Optional<ItemPredicate>ItemDurabilityChangedCriterion.Conditions.itemprivate final Optional<ItemPredicate>PlayerInteractedWithEntityCriterion.Conditions.itemprivate final Optional<ItemPredicate>ShotCrossbowCriterion.Conditions.itemprivate final Optional<ItemPredicate>ThrownItemPickedUpByEntityCriterion.Conditions.itemprivate final Optional<ItemPredicate>UsedTotemCriterion.Conditions.itemprivate final Optional<ItemPredicate>UsingItemCriterion.Conditions.itemprivate final Optional<ItemPredicate>VillagerTradeCriterion.Conditions.itemprivate final List<ItemPredicate>InventoryChangedCriterion.Conditions.itemsprivate final Optional<ItemPredicate>FishingRodHookedCriterion.Conditions.rodMethods in net.minecraft.advancement.criterion with parameters of type ItemPredicateModifier and TypeMethodDescriptionUsedTotemCriterion.Conditions.create(ItemPredicate itemPredicate) InventoryChangedCriterion.Conditions.items(ItemPredicate[] items) Method parameters in net.minecraft.advancement.criterion with type arguments of type ItemPredicateModifier and TypeMethodDescriptionFishingRodHookedCriterion.Conditions.create(Optional<ItemPredicate> rod, Optional<EntityPredicate> hookedEntity, Optional<ItemPredicate> caughtItem) ItemDurabilityChangedCriterion.Conditions.create(Optional<ItemPredicate> item, NumberRange.IntRange durability) ShotCrossbowCriterion.Conditions.create(Optional<ItemPredicate> item) ThrownItemPickedUpByEntityCriterion.Conditions.createThrownItemPickedUpByEntity(LootContextPredicate player, Optional<ItemPredicate> item, Optional<LootContextPredicate> entity) Constructor parameters in net.minecraft.advancement.criterion with type arguments of type ItemPredicateModifierConstructorDescriptionConditions(Optional<LootContextPredicate> playerPredicate, NumberRange.IntRange occupied, NumberRange.IntRange full, NumberRange.IntRange empty, List<ItemPredicate> items) Conditions(Optional<LootContextPredicate> playerPredicate, Identifier recipeId, List<ItemPredicate> ingredients) -
Uses of ItemPredicate in net.minecraft.data.server.recipe
Methods in net.minecraft.data.server.recipe with parameters of type ItemPredicateModifier and TypeMethodDescriptionprivate static AdvancementCriterion<InventoryChangedCriterion.Conditions>RecipeProvider.conditionsFromItemPredicates(ItemPredicate[] predicates) -
Uses of ItemPredicate in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition with type parameters of type ItemPredicateModifier and TypeFieldDescriptionprivate final Optional<ItemPredicate>MatchToolLootCondition.predicateThe field for thepredicaterecord component.Methods in net.minecraft.loot.condition that return types with arguments of type ItemPredicateModifier and TypeMethodDescriptionMatchToolLootCondition.predicate()Returns the value of thepredicaterecord component.Constructor parameters in net.minecraft.loot.condition with type arguments of type ItemPredicate -
Uses of ItemPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type ItemPredicateModifier and TypeFieldDescriptionprivate Optional<ItemPredicate>EntityEquipmentPredicate.Builder.chestprivate final Optional<ItemPredicate>EntityEquipmentPredicate.chestThe field for thechestrecord component.private 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 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.Methods in net.minecraft.predicate.entity 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.EntityEquipmentPredicate.legs()Returns the value of thelegsrecord component.EntityEquipmentPredicate.mainhand()Returns the value of themainhandrecord component.EntityEquipmentPredicate.offhand()Returns the value of theoffhandrecord component.Constructor parameters in net.minecraft.predicate.entity with type arguments of type ItemPredicateModifierConstructorDescriptionEntityEquipmentPredicate(Optional<ItemPredicate> optional, Optional<ItemPredicate> optional2, Optional<ItemPredicate> optional3, Optional<ItemPredicate> optional4, Optional<ItemPredicate> optional5, Optional<ItemPredicate> optional6) -
Uses of ItemPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type ItemPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ItemPredicate>ItemPredicate.CODECMethods in net.minecraft.predicate.item that return ItemPredicateMethods in net.minecraft.predicate.item that return types with arguments of type ItemPredicateModifier and TypeMethodDescriptionstatic List<ItemPredicate>ItemPredicate.deserializeAll(@Nullable JsonElement el) static Optional<ItemPredicate>ItemPredicate.fromJson(@Nullable JsonElement el) Method parameters in net.minecraft.predicate.item with type arguments of type ItemPredicateModifier and TypeMethodDescriptionstatic JsonElementItemPredicate.toJson(List<ItemPredicate> predicates)