Package net.minecraft.predicate
Class ComponentPredicate
java.lang.Object
net.minecraft.predicate.ComponentPredicate
- All Implemented Interfaces:
- Predicate<ComponentMap>
- Mappings:
- Namespace - Name - named - net/minecraft/predicate/ComponentPredicate- intermediary - net/minecraft/class_9329- official - kt
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ComponentPredicate> static final ComponentPredicatestatic final PacketCodec<RegistryByteBuf, ComponentPredicate> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ComponentPredicate.Builderbuilder()booleaninthashCode()booleanisEmpty()static ComponentPredicateof(ComponentMap components) static ComponentPredicateofFiltered(ComponentMap components, ComponentType<?>[] types) booleantest(ComponentHolder holder) booleantest(ComponentMap componentMap) toString()
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/predicate/ComponentPredicate;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_49595- Lnet/minecraft/class_9329;field_49595:Lcom/mojang/serialization/Codec;- official - a- Lkt;a:Lcom/mojang/serialization/Codec;
 
- 
PACKET_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - PACKET_CODEC- Lnet/minecraft/predicate/ComponentPredicate;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;- intermediary - field_49596- Lnet/minecraft/class_9329;field_49596:Lnet/minecraft/class_9139;- official - b- Lkt;b:Lyn;
 
- 
EMPTY- Mappings:
- Namespace - Name - Mixin selector - named - EMPTY- Lnet/minecraft/predicate/ComponentPredicate;EMPTY:Lnet/minecraft/predicate/ComponentPredicate;- intermediary - field_49597- Lnet/minecraft/class_9329;field_49597:Lnet/minecraft/class_9329;- official - c- Lkt;c:Lkt;
 
- 
components- Mappings:
- Namespace - Name - Mixin selector - named - components- Lnet/minecraft/predicate/ComponentPredicate;components:Ljava/util/List;- intermediary - field_49598- Lnet/minecraft/class_9329;field_49598:Ljava/util/List;- official - d- Lkt;d:Ljava/util/List;
 
 
- 
- 
Constructor Details- 
ComponentPredicate- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/predicate/ComponentPredicate;<init>(Ljava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_9329;<init>(Ljava/util/List;)V- official - <init>- Lkt;<init>(Ljava/util/List;)V
 
 
- 
- 
Method Details- 
builder- Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/predicate/ComponentPredicate;builder()Lnet/minecraft/predicate/ComponentPredicate$Builder;- intermediary - method_57862- Lnet/minecraft/class_9329;method_57862()Lnet/minecraft/class_9329$class_9330;- official - a- Lkt;a()Lkt$a;
 
- 
of- Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/predicate/ComponentPredicate;of(Lnet/minecraft/component/ComponentMap;)Lnet/minecraft/predicate/ComponentPredicate;- intermediary - method_57865- Lnet/minecraft/class_9329;method_57865(Lnet/minecraft/class_9323;)Lnet/minecraft/class_9329;- official - a- Lkt;a(Lkr;)Lkt;
 
- 
ofFiltered- Mappings:
- Namespace - Name - Mixin selector - named - ofFiltered- Lnet/minecraft/predicate/ComponentPredicate;ofFiltered(Lnet/minecraft/component/ComponentMap;[Lnet/minecraft/component/ComponentType;)Lnet/minecraft/predicate/ComponentPredicate;- intermediary - method_64096- Lnet/minecraft/class_9329;method_64096(Lnet/minecraft/class_9323;[Lnet/minecraft/class_9331;)Lnet/minecraft/class_9329;- official - a- Lkt;a(Lkr;[Lku;)Lkt;
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
- 
test- Specified by:
- testin interface- Predicate<ComponentMap>
- Mappings:
- Namespace - Name - Mixin selector - named - test- Lnet/minecraft/predicate/ComponentPredicate;test(Lnet/minecraft/component/ComponentMap;)Z- intermediary - method_57868- Lnet/minecraft/class_9329;method_57868(Lnet/minecraft/class_9323;)Z- official - b- Lkt;b(Lkr;)Z
 
- 
test- Mappings:
- Namespace - Name - Mixin selector - named - test- Lnet/minecraft/predicate/ComponentPredicate;test(Lnet/minecraft/component/ComponentHolder;)Z- intermediary - method_57864- Lnet/minecraft/class_9329;method_57864(Lnet/minecraft/class_9322;)Z- official - a- Lkt;a(Lkq;)Z
 
- 
isEmptypublic boolean isEmpty()- Mappings:
- Namespace - Name - Mixin selector - named - isEmpty- Lnet/minecraft/predicate/ComponentPredicate;isEmpty()Z- intermediary - method_57867- Lnet/minecraft/class_9329;method_57867()Z- official - b- Lkt;b()Z
 
- 
toChanges- Mappings:
- Namespace - Name - Mixin selector - named - toChanges- Lnet/minecraft/predicate/ComponentPredicate;toChanges()Lnet/minecraft/component/ComponentChanges;- intermediary - method_57870- Lnet/minecraft/class_9329;method_57870()Lnet/minecraft/class_9326;- official - c- Lkt;c()Lks;
 
 
-