Class TestFinder.Builder

java.lang.Object
net.minecraft.server.command.TestFinder.Builder
Enclosing class:
TestFinder

public static class TestFinder.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/TestFinder$Builder
intermediary net/minecraft/class_9123$class_9124
official tn$a
  • Field Details Link icon

    • testInstanceFinderMapper Link icon

      private final UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> testInstanceFinderMapper
      Mappings:
      Namespace Name Mixin selector
      named testInstanceFinderMapper Lnet/minecraft/server/command/TestFinder$Builder;testInstanceFinderMapper:Ljava/util/function/UnaryOperator;
      intermediary field_56220 Lnet/minecraft/class_9123$class_9124;field_56220:Ljava/util/function/UnaryOperator;
      official a Ltn$a;a:Ljava/util/function/UnaryOperator;
    • testInstanceBlockFinderMapper Link icon

      private final UnaryOperator<Supplier<Stream<BlockPos>>> testInstanceBlockFinderMapper
      Mappings:
      Namespace Name Mixin selector
      named testInstanceBlockFinderMapper Lnet/minecraft/server/command/TestFinder$Builder;testInstanceBlockFinderMapper:Ljava/util/function/UnaryOperator;
      intermediary field_49664 Lnet/minecraft/class_9123$class_9124;field_49664:Ljava/util/function/UnaryOperator;
      official b Ltn$a;b:Ljava/util/function/UnaryOperator;
  • Constructor Details Link icon

    • Builder Link icon

      public Builder()
    • Builder Link icon

      private Builder(UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> testInstanceFinderMapper, UnaryOperator<Supplier<Stream<BlockPos>>> testInstanceBlockFinderMapper)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/command/TestFinder$Builder;<init>(Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)V
      intermediary <init> Lnet/minecraft/class_9123$class_9124;<init>(Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)V
      official <init> Ltn$a;<init>(Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)V
  • Method Details Link icon

    • repeat Link icon

      public TestFinder.Builder repeat(int count)
      Mappings:
      Namespace Name Mixin selector
      named repeat Lnet/minecraft/server/command/TestFinder$Builder;repeat(I)Lnet/minecraft/server/command/TestFinder$Builder;
      intermediary method_57965 Lnet/minecraft/class_9123$class_9124;method_57965(I)Lnet/minecraft/class_9123$class_9124;
      official a Ltn$a;a(I)Ltn$a;
    • repeating Link icon

      private static <Q> UnaryOperator<Supplier<Stream<Q>>> repeating(int count)
      Mappings:
      Namespace Name Mixin selector
      named repeating Lnet/minecraft/server/command/TestFinder$Builder;repeating(I)Ljava/util/function/UnaryOperator;
      intermediary method_57970 Lnet/minecraft/class_9123$class_9124;method_57970(I)Ljava/util/function/UnaryOperator;
      official b Ltn$a;b(I)Ljava/util/function/UnaryOperator;
    • build Link icon

      private TestFinder build(ServerCommandSource source, TestInstanceFinder instanceFinder, TestInstanceBlockFinder blockFinder)
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/server/command/TestFinder$Builder;build(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestInstanceFinder;Lnet/minecraft/test/TestInstanceBlockFinder;)Lnet/minecraft/server/command/TestFinder;
      intermediary method_57967 Lnet/minecraft/class_9123$class_9124;method_57967(Lnet/minecraft/class_2168;Lnet/minecraft/class_10674;Lnet/minecraft/class_10675;)Lnet/minecraft/class_9123;
      official a Ltn$a;a(Lek;Ltp;Ltq;)Ltn;
    • surface Link icon

      public TestFinder surface(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, int radius)
      Mappings:
      Namespace Name Mixin selector
      named surface Lnet/minecraft/server/command/TestFinder$Builder;surface(Lcom/mojang/brigadier/context/CommandContext;I)Lnet/minecraft/server/command/TestFinder;
      intermediary method_56310 Lnet/minecraft/class_9123$class_9124;method_56310(Lcom/mojang/brigadier/context/CommandContext;I)Lnet/minecraft/class_9123;
      official a Ltn$a;a(Lcom/mojang/brigadier/context/CommandContext;I)Ltn;
    • nearest Link icon

      public TestFinder nearest(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
      Mappings:
      Namespace Name Mixin selector
      named nearest Lnet/minecraft/server/command/TestFinder$Builder;nearest(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;
      intermediary method_56309 Lnet/minecraft/class_9123$class_9124;method_56309(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;
      official a Ltn$a;a(Lcom/mojang/brigadier/context/CommandContext;)Ltn;
    • allStructures Link icon

      public TestFinder allStructures(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
      Mappings:
      Namespace Name Mixin selector
      named allStructures Lnet/minecraft/server/command/TestFinder$Builder;allStructures(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;
      intermediary method_56318 Lnet/minecraft/class_9123$class_9124;method_56318(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;
      official b Ltn$a;b(Lcom/mojang/brigadier/context/CommandContext;)Ltn;
    • targeted Link icon

      public TestFinder targeted(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
      Mappings:
      Namespace Name Mixin selector
      named targeted Lnet/minecraft/server/command/TestFinder$Builder;targeted(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;
      intermediary method_56321 Lnet/minecraft/class_9123$class_9124;method_56321(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;
      official c Ltn$a;c(Lcom/mojang/brigadier/context/CommandContext;)Ltn;
    • failed Link icon

      public TestFinder failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean onlyRequired)
      Mappings:
      Namespace Name Mixin selector
      named failed Lnet/minecraft/server/command/TestFinder$Builder;failed(Lcom/mojang/brigadier/context/CommandContext;Z)Lnet/minecraft/server/command/TestFinder;
      intermediary method_56312 Lnet/minecraft/class_9123$class_9124;method_56312(Lcom/mojang/brigadier/context/CommandContext;Z)Lnet/minecraft/class_9123;
      official a Ltn$a;a(Lcom/mojang/brigadier/context/CommandContext;Z)Ltn;
    • selector Link icon

      public TestFinder selector(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<RegistryEntry.Reference<TestInstance>> selected)
      Mappings:
      Namespace Name Mixin selector
      named selector Lnet/minecraft/server/command/TestFinder$Builder;selector(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;)Lnet/minecraft/server/command/TestFinder;
      intermediary method_67071 Lnet/minecraft/class_9123$class_9124;method_67071(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;)Lnet/minecraft/class_9123;
      official a Ltn$a;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;)Ltn;
    • failed Link icon

      public TestFinder failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
      Mappings:
      Namespace Name Mixin selector
      named failed Lnet/minecraft/server/command/TestFinder$Builder;failed(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;
      intermediary method_56324 Lnet/minecraft/class_9123$class_9124;method_56324(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;
      official d Ltn$a;d(Lcom/mojang/brigadier/context/CommandContext;)Ltn;