Record Class ItemPredicate

java.lang.Object
java.lang.Record
net.minecraft.predicate.item.ItemPredicate
Record Components:
items -
count -
durability -
enchantments -
storedEnchantments -
potions -
customData -
components -

public record ItemPredicate(Optional<RegistryEntryList<Item>> items, NumberRange.IntRange count, NumberRange.IntRange durability, List<EnchantmentPredicate> enchantments, List<EnchantmentPredicate> storedEnchantments, Optional<RegistryEntryList<Potion>> potions, Optional<NbtPredicate> customData, ComponentPredicate components) extends Record
Mappings:
Namespace Name
official cc
intermediary net/minecraft/class_2073
named net/minecraft/predicate/item/ItemPredicate
official b
intermediary comp_1784
named items
official c
intermediary comp_1785
named count
official d
intermediary comp_1786
named durability
official e
intermediary comp_1787
named enchantments
official f
intermediary comp_1788
named storedEnchantments
official g
intermediary comp_1789
named potions
official h
intermediary comp_2373
named customData
official i
intermediary comp_2374
named components