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 kl
-
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) 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
Lkl;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
Lkl;b:Lys;
-
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
Lkl;c:Lkl;
-
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
Lkl;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>
Lkl;<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
Lkl;a()Lkl$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
Lkl;a(Lkj;)Lkl;
-
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
Lkl;b(Lkj;)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
Lkl;a(Lki;)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
Lkl;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
Lkl;c()Lkk;
-