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 ks$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 Lks$a;a:Ljava/util/List;
  • Constructor Details

    • Builder

      Builder()
  • Method Details

    • add

      public <T> ComponentPredicate.Builder add(Component<T> component)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/predicate/ComponentPredicate$Builder;add(Lnet/minecraft/component/Component;)Lnet/minecraft/predicate/ComponentPredicate$Builder;
      intermediary method_64097 Lnet/minecraft/class_9329$class_9330;method_64097(Lnet/minecraft/class_9336;)Lnet/minecraft/class_9329$class_9330;
      official a Lks$a;a(Lkw;)Lks$a;
    • 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 Lks$a;a(Lkt;Ljava/lang/Object;)Lks$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 Lks$a;a()Lks;