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_333484_) boolean
asPatch()
builder()
boolean
int
hashCode()
boolean
test
(DataComponentHolder p_332932_) boolean
test
(DataComponentMap p_329561_) toString()
-
Field Details
-
CODEC
-
STREAM_CODEC
-
EMPTY
-
expectedComponents
-
-
Constructor Details
-
DataComponentPredicate
DataComponentPredicate(List<TypedDataComponent<?>> p_328927_)
-
-
Method Details