Class PiglinCurrencyItemPredicate
java.lang.Object
net.neoforged.neoforge.common.advancements.critereon.PiglinCurrencyItemPredicate
- All Implemented Interfaces:
net.minecraft.core.component.predicates.DataComponentPredicate
public class PiglinCurrencyItemPredicate
extends Object
implements net.minecraft.core.component.predicates.DataComponentPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.component.predicates.DataComponentPredicate
net.minecraft.core.component.predicates.DataComponentPredicate.Single<T extends net.minecraft.core.component.predicates.DataComponentPredicate>, net.minecraft.core.component.predicates.DataComponentPredicate.Type<T extends net.minecraft.core.component.predicates.DataComponentPredicate>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<PiglinCurrencyItemPredicate> static final PiglinCurrencyItemPredicate
static final net.minecraft.core.component.predicates.DataComponentPredicate.Type
<PiglinCurrencyItemPredicate> Fields inherited from interface net.minecraft.core.component.predicates.DataComponentPredicate
SINGLE_STREAM_CODEC, STREAM_CODEC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(net.minecraft.core.component.DataComponentGetter dataComponentGetter)
-
Field Details
-
INSTANCE
-
CODEC
-
TYPE
public static final net.minecraft.core.component.predicates.DataComponentPredicate.Type<PiglinCurrencyItemPredicate> TYPE
-
-
Constructor Details
-
PiglinCurrencyItemPredicate
private PiglinCurrencyItemPredicate()
-
-
Method Details
-
matches
public boolean matches(net.minecraft.core.component.DataComponentGetter dataComponentGetter) - Specified by:
matches
in interfacenet.minecraft.core.component.predicates.DataComponentPredicate
-