Package net.minecraft.predicate
Class ComponentPredicate
java.lang.Object
net.minecraft.predicate.ComponentPredicate
- All Implemented Interfaces:
Predicate<ComponentMap>
- Mappings:
Namespace Name official jy
intermediary net/minecraft/class_9329
named net/minecraft/predicate/ComponentPredicate
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentPredicate> static final ComponentPredicate
static final PacketCodec
<RegistryByteBuf, ComponentPredicate> -
Constructor Summary
Constructors -
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 official a
Ljy;a:Lcom/mojang/serialization/Codec;
intermediary field_49595
Lnet/minecraft/class_9329;field_49595:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/predicate/ComponentPredicate;CODEC:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector official b
Ljy;b:Lys;
intermediary field_49596
Lnet/minecraft/class_9329;field_49596:Lnet/minecraft/class_9139;
named PACKET_CODEC
Lnet/minecraft/predicate/ComponentPredicate;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official c
Ljy;c:Ljy;
intermediary field_49597
Lnet/minecraft/class_9329;field_49597:Lnet/minecraft/class_9329;
named EMPTY
Lnet/minecraft/predicate/ComponentPredicate;EMPTY:Lnet/minecraft/predicate/ComponentPredicate;
-
components
- Mappings:
Namespace Name Mixin selector official d
Ljy;d:Ljava/util/List;
intermediary field_49598
Lnet/minecraft/class_9329;field_49598:Ljava/util/List;
named components
Lnet/minecraft/predicate/ComponentPredicate;components:Ljava/util/List;
-
-
Constructor Details
-
ComponentPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Ljy;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_9329;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/predicate/ComponentPredicate;<init>(Ljava/util/List;)V
-
-
Method Details
-
builder
- Mappings:
Namespace Name Mixin selector official a
Ljy;a()Ljy$a;
intermediary method_57862
Lnet/minecraft/class_9329;method_57862()Lnet/minecraft/class_9329$class_9330;
named builder
Lnet/minecraft/predicate/ComponentPredicate;builder()Lnet/minecraft/predicate/ComponentPredicate$Builder;
-
of
- Mappings:
Namespace Name Mixin selector official a
Ljy;a(Ljw;)Ljy;
intermediary method_57865
Lnet/minecraft/class_9329;method_57865(Lnet/minecraft/class_9323;)Lnet/minecraft/class_9329;
named of
Lnet/minecraft/predicate/ComponentPredicate;of(Lnet/minecraft/component/ComponentMap;)Lnet/minecraft/predicate/ComponentPredicate;
-
equals
-
hashCode
public int hashCode() -
toString
-
test
- Specified by:
test
in interfacePredicate<ComponentMap>
- Mappings:
Namespace Name Mixin selector official b
Ljy;b(Ljw;)Z
intermediary method_57868
Lnet/minecraft/class_9329;method_57868(Lnet/minecraft/class_9323;)Z
named test
Lnet/minecraft/predicate/ComponentPredicate;test(Lnet/minecraft/component/ComponentMap;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Ljy;a(Ljv;)Z
intermediary method_57864
Lnet/minecraft/class_9329;method_57864(Lnet/minecraft/class_9322;)Z
named test
Lnet/minecraft/predicate/ComponentPredicate;test(Lnet/minecraft/component/ComponentHolder;)Z
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official b
Ljy;b()Z
intermediary method_57867
Lnet/minecraft/class_9329;method_57867()Z
named isEmpty
Lnet/minecraft/predicate/ComponentPredicate;isEmpty()Z
-
toChanges
- Mappings:
Namespace Name Mixin selector official c
Ljy;c()Ljx;
intermediary method_57870
Lnet/minecraft/class_9329;method_57870()Lnet/minecraft/class_9326;
named toChanges
Lnet/minecraft/predicate/ComponentPredicate;toChanges()Lnet/minecraft/component/ComponentChanges;
-