Package net.minecraft.core.component
Class DataComponentPredicate
java.lang.Object
net.minecraft.core.component.DataComponentPredicate
- All Implemented Interfaces:
Predicate<DataComponentMap>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataComponentPredicate> static final DataComponentPredicate
private final List
<TypedDataComponent<?>> static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataComponentPredicate
allOf
(DataComponentMap p_331623_) boolean
asPatch()
builder()
boolean
int
hashCode()
boolean
test
(DataComponentHolder p_331666_) boolean
test
(DataComponentMap p_331560_) toString()
-
Field Details
-
CODEC
-
STREAM_CODEC
-
EMPTY
-
expectedComponents
-
-
Constructor Details
-
DataComponentPredicate
DataComponentPredicate(List<TypedDataComponent<?>> p_330446_)
-
-
Method Details