Class ItemPredicate.Builder
java.lang.Object
net.minecraft.advancements.criterion.ItemPredicate.Builder
- Enclosing class:
- ItemPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate MinMaxBounds.IntBound
private MinMaxBounds.IntBound
private final List<EnchantmentPredicate>
private Item
private NBTPredicate
private Potion
private final List<EnchantmentPredicate>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
hasEnchantment
(EnchantmentPredicate p_218003_1_) hasNbt
(CompoundNBT p_218002_1_) static ItemPredicate.Builder
item()
of
(IItemProvider p_200308_1_)
-
Field Details
-
enchantments
-
storedEnchantments
-
item
-
tag
-
count
-
durability
-
potion
-
nbt
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
item
-
of
-
of
-
hasNbt
-
hasEnchantment
-
build
-