Class ComponentPredicate.Builder

java.lang.Object
net.minecraft.predicate.ComponentPredicate.Builder
Enclosing class:
ComponentPredicate

public static class ComponentPredicate.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/predicate/ComponentPredicate$Builder
intermediary net/minecraft/class_9329$class_9330
official ko$a
  • Field Details

    • components

      private final List<Component<?>> components
      Mappings:
      Namespace Name Mixin selector
      named components Lnet/minecraft/predicate/ComponentPredicate$Builder;components:Ljava/util/List;
      intermediary field_49599 Lnet/minecraft/class_9329$class_9330;field_49599:Ljava/util/List;
      official a Lko$a;a:Ljava/util/List;
  • Constructor Details

    • Builder

      Builder()
  • Method Details

    • add

      public <T> ComponentPredicate.Builder add(ComponentType<? super T> type, T value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/predicate/ComponentPredicate$Builder;add(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Lnet/minecraft/predicate/ComponentPredicate$Builder;
      intermediary method_57872 Lnet/minecraft/class_9329$class_9330;method_57872(Lnet/minecraft/class_9331;Ljava/lang/Object;)Lnet/minecraft/class_9329$class_9330;
      official a Lko$a;a(Lkp;Ljava/lang/Object;)Lko$a;
    • build

      public ComponentPredicate build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/predicate/ComponentPredicate$Builder;build()Lnet/minecraft/predicate/ComponentPredicate;
      intermediary method_57871 Lnet/minecraft/class_9329$class_9330;method_57871()Lnet/minecraft/class_9329;
      official a Lko$a;a()Lko;