类 ItemEnchantmentsPredicate
java.lang.Object
net.minecraft.advancements.critereon.ItemEnchantmentsPredicate
public abstract class ItemEnchantmentsPredicate
extends Object
implements SingleComponentItemPredicate<ItemEnchantments>
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
从接口继承的嵌套类/接口 net.minecraft.advancements.critereon.ItemSubPredicate
ItemSubPredicate.Type<T extends ItemSubPredicate>
-
字段概要
字段从接口继承的字段 net.minecraft.advancements.critereon.ItemSubPredicate
CODEC
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T extends ItemEnchantmentsPredicate>
com.mojang.serialization.Codec<T> codec
(Function<List<EnchantmentPredicate>, T> p_330847_) protected List
<EnchantmentPredicate> enchantments
(List<EnchantmentPredicate> p_334509_) boolean
matches
(ItemStack p_332137_, ItemEnchantments p_331461_) storedEnchantments
(List<EnchantmentPredicate> p_331491_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.advancements.critereon.SingleComponentItemPredicate
componentType, matches
-
字段详细资料
-
enchantments
-
-
构造器详细资料
-
ItemEnchantmentsPredicate
-
-
方法详细资料
-
codec
public static <T extends ItemEnchantmentsPredicate> com.mojang.serialization.Codec<T> codec(Function<List<EnchantmentPredicate>, T> p_330847_) -
enchantments
-
matches
- 指定者:
matches
在接口中SingleComponentItemPredicate<ItemEnchantments>
-
enchantments
public static ItemEnchantmentsPredicate.Enchantments enchantments(List<EnchantmentPredicate> p_334509_) -
storedEnchantments
public static ItemEnchantmentsPredicate.StoredEnchantments storedEnchantments(List<EnchantmentPredicate> p_331491_)
-