Class ItemPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.ItemPredicate.Builder
- Enclosing class:
- ItemPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate MinMaxBounds.Ints
private MinMaxBounds.Ints
private final List<EnchantmentPredicate>
private NbtPredicate
private Potion
private final List<EnchantmentPredicate>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
hasDurability
(MinMaxBounds.Ints p_151450_) hasEnchantment
(EnchantmentPredicate p_45072_) hasNbt
(CompoundTag p_45076_) hasStoredEnchantment
(EnchantmentPredicate p_151448_) static ItemPredicate.Builder
item()
withCount
(MinMaxBounds.Ints p_151444_)
-
Field Details
-
enchantments
-
storedEnchantments
-
items
-
tag
-
count
-
durability
-
potion
-
nbt
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
item
-
of
-
of
-
withCount
-
hasDurability
-
isPotion
-
hasNbt
-
hasEnchantment
-
hasStoredEnchantment
-
build
-