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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<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
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(net.minecraft.core.component.DataComponentGetter dataComponentGetter)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • PiglinCurrencyItemPredicate

      private PiglinCurrencyItemPredicate()
  • Method Details

    • matches

      public boolean matches(net.minecraft.core.component.DataComponentGetter dataComponentGetter)
      Specified by:
      matches in interface net.minecraft.core.component.predicates.DataComponentPredicate