类 CompositeLootItemCondition
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.CompositeLootItemCondition
- 所有已实现的接口:
Predicate<LootContext>
,LootContextUser
,LootItemCondition
- 直接已知子类:
AllOfCondition
,AnyOfCondition
-
嵌套类概要
嵌套类 -
字段概要
字段从接口继承的字段 net.minecraft.world.level.storage.loot.predicates.LootItemCondition
CODEC, DIRECT_CODEC, TYPED_CODEC
-
构造器概要
构造器限定符构造器说明protected
CompositeLootItemCondition
(List<LootItemCondition> p_298458_, Predicate<LootContext> p_286771_) -
方法概要
修饰符和类型方法说明protected static <T extends CompositeLootItemCondition>
com.mojang.serialization.MapCodec<T> createCodec
(Function<List<LootItemCondition>, T> p_298515_) protected static <T extends CompositeLootItemCondition>
com.mojang.serialization.Codec<T> createInlineCodec
(Function<List<LootItemCondition>, T> p_298806_) final boolean
test
(LootContext p_286298_) void
validate
(ValidationContext p_286819_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams
从接口继承的方法 net.minecraft.world.level.storage.loot.predicates.LootItemCondition
getType
-
字段详细资料
-
terms
-
composedPredicate
-
-
构造器详细资料
-
CompositeLootItemCondition
protected CompositeLootItemCondition(List<LootItemCondition> p_298458_, Predicate<LootContext> p_286771_)
-
-
方法详细资料
-
createCodec
protected static <T extends CompositeLootItemCondition> com.mojang.serialization.MapCodec<T> createCodec(Function<List<LootItemCondition>, T> p_298515_) -
createInlineCodec
protected static <T extends CompositeLootItemCondition> com.mojang.serialization.Codec<T> createInlineCodec(Function<List<LootItemCondition>, T> p_298806_) -
test
- 指定者:
test
在接口中Predicate<LootContext>
-
validate
- 指定者:
validate
在接口中LootContextUser
-