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 ks
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentPredicate> static final ComponentPredicate
static final PacketCodec
<RegistryByteBuf, ComponentPredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentPredicate.Builder
builder()
boolean
int
hashCode()
boolean
isEmpty()
static ComponentPredicate
of
(ComponentMap components) static ComponentPredicate
ofFiltered
(ComponentMap components, ComponentType<?>[] types) boolean
test
(ComponentHolder holder) boolean
test
(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
Lks;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
Lks;b:Lzt;
-
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
Lks;c:Lks;
-
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
Lks;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>
Lks;<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
Lks;a()Lks$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
Lks;a(Lkq;)Lks;
-
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
Lks;a(Lkq;[Lkt;)Lks;
-
equals
-
hashCode
public int hashCode() -
toString
-
test
- Specified by:
test
in interfacePredicate<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
Lks;b(Lkq;)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
Lks;a(Lkp;)Z
-
isEmpty
public 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
Lks;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
Lks;c()Lkr;
-