接口 CollectionContentsPredicate<T,P extends Predicate<T>>
- 所有已知实现类:
CollectionContentsPredicate.Multiple
,CollectionContentsPredicate.Single
,CollectionContentsPredicate.Zero
-
嵌套类概要
嵌套类修饰符和类型接口说明static final record
CollectionContentsPredicate.Multiple<T,
P extends Predicate<T>> static final record
CollectionContentsPredicate.Single<T,
P extends Predicate<T>> static class
CollectionContentsPredicate.Zero<T,
P extends Predicate<T>> -
方法概要
修饰符和类型方法说明static <T,
P extends Predicate<T>>
com.mojang.serialization.Codec<CollectionContentsPredicate<T, P>> codec
(com.mojang.serialization.Codec<P> p_341117_) static <T,
P extends Predicate<T>>
CollectionContentsPredicate<T, P> static <T,
P extends Predicate<T>>
CollectionContentsPredicate<T, P> of
(P... p_341163_) unpack()
-
方法详细资料
-
unpack
-
codec
static <T,P extends Predicate<T>> com.mojang.serialization.Codec<CollectionContentsPredicate<T,P>> codec(com.mojang.serialization.Codec<P> p_341117_) -
of
-
of
-