Interface CollectionContainsPredicate<T,P extends Predicate<T>>

All Superinterfaces:
Predicate<Iterable<T>>
All Known Implementing Classes:
CollectionContainsPredicate.Empty, CollectionContainsPredicate.Multiple, CollectionContainsPredicate.Single

public interface CollectionContainsPredicate<T,P extends Predicate<T>> extends Predicate<Iterable<T>>
Mappings:
Namespace Name
named net/minecraft/predicate/collection/CollectionContainsPredicate
intermediary net/minecraft/class_9639
official bc
  • Method Details

    • getPredicates

      List<P> getPredicates()
      Mappings:
      Namespace Name Mixin selector
      named getPredicates Lnet/minecraft/predicate/collection/CollectionContainsPredicate;getPredicates()Ljava/util/List;
      intermediary method_59605 Lnet/minecraft/class_9639;method_59605()Ljava/util/List;
      official a Lbc;a()Ljava/util/List;
    • createCodec

      static <T, P extends Predicate<T>> com.mojang.serialization.Codec<CollectionContainsPredicate<T,P>> createCodec(com.mojang.serialization.Codec<P> predicateCodec)
      Mappings:
      Namespace Name Mixin selector
      named createCodec Lnet/minecraft/predicate/collection/CollectionContainsPredicate;createCodec(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
      intermediary method_59606 Lnet/minecraft/class_9639;method_59606(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
      official a Lbc;a(Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
    • create

      @SafeVarargs static <T, P extends Predicate<T>> CollectionContainsPredicate<T,P> create(P[] predicates)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/predicate/collection/CollectionContainsPredicate;create([Ljava/util/function/Predicate;)Lnet/minecraft/predicate/collection/CollectionContainsPredicate;
      intermediary method_59608 Lnet/minecraft/class_9639;method_59608([Ljava/util/function/Predicate;)Lnet/minecraft/class_9639;
      official a Lbc;a([Ljava/util/function/Predicate;)Lbc;
    • create

      static <T, P extends Predicate<T>> CollectionContainsPredicate<T,P> create(List<P> predicates)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/predicate/collection/CollectionContainsPredicate;create(Ljava/util/List;)Lnet/minecraft/predicate/collection/CollectionContainsPredicate;
      intermediary method_59607 Lnet/minecraft/class_9639;method_59607(Ljava/util/List;)Lnet/minecraft/class_9639;
      official a Lbc;a(Ljava/util/List;)Lbc;