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