Class TestFinder<T>

java.lang.Object
net.minecraft.server.command.TestFinder<T>
All Implemented Interfaces:
StructureBlockFinder, TestFunctionFinder

public class TestFinder<T> extends Object implements StructureBlockFinder, TestFunctionFinder
Mappings:
Namespace Name
named net/minecraft/server/command/TestFinder
intermediary net/minecraft/class_9123
official tq
  • Field Details

    • NOOP_TEST_FUNCTION_FINDER

      static final TestFunctionFinder NOOP_TEST_FUNCTION_FINDER
      Mappings:
      Namespace Name Mixin selector
      named NOOP_TEST_FUNCTION_FINDER Lnet/minecraft/server/command/TestFinder;NOOP_TEST_FUNCTION_FINDER:Lnet/minecraft/test/TestFunctionFinder;
      intermediary field_48507 Lnet/minecraft/class_9123;field_48507:Lnet/minecraft/class_9125;
      official a Ltq;a:Ltt;
    • NOOP_STRUCTURE_BLOCK_FINDER

      static final StructureBlockFinder NOOP_STRUCTURE_BLOCK_FINDER
      Mappings:
      Namespace Name Mixin selector
      named NOOP_STRUCTURE_BLOCK_FINDER Lnet/minecraft/server/command/TestFinder;NOOP_STRUCTURE_BLOCK_FINDER:Lnet/minecraft/test/StructureBlockFinder;
      intermediary field_48508 Lnet/minecraft/class_9123;field_48508:Lnet/minecraft/class_9119;
      official b Ltq;b:Ltl;
    • testFunctionFinder

      private final TestFunctionFinder testFunctionFinder
      Mappings:
      Namespace Name Mixin selector
      named testFunctionFinder Lnet/minecraft/server/command/TestFinder;testFunctionFinder:Lnet/minecraft/test/TestFunctionFinder;
      intermediary field_48509 Lnet/minecraft/class_9123;field_48509:Lnet/minecraft/class_9125;
      official c Ltq;c:Ltt;
    • structureBlockPosFinder

      private final StructureBlockFinder structureBlockPosFinder
      Mappings:
      Namespace Name Mixin selector
      named structureBlockPosFinder Lnet/minecraft/server/command/TestFinder;structureBlockPosFinder:Lnet/minecraft/test/StructureBlockFinder;
      intermediary field_48510 Lnet/minecraft/class_9123;field_48510:Lnet/minecraft/class_9119;
      official d Ltq;d:Ltl;
    • commandSource

      private final ServerCommandSource commandSource
      Mappings:
      Namespace Name Mixin selector
      named commandSource Lnet/minecraft/server/command/TestFinder;commandSource:Lnet/minecraft/server/command/ServerCommandSource;
      intermediary field_48511 Lnet/minecraft/class_9123;field_48511:Lnet/minecraft/class_2168;
      official e Ltq;e:Let;
    • runnerFactory

      private final Function<TestFinder<T>,T> runnerFactory
      Mappings:
      Namespace Name Mixin selector
      named runnerFactory Lnet/minecraft/server/command/TestFinder;runnerFactory:Ljava/util/function/Function;
      intermediary field_48512 Lnet/minecraft/class_9123;field_48512:Ljava/util/function/Function;
      official f Ltq;f:Ljava/util/function/Function;
  • Constructor Details

    • TestFinder

      TestFinder(ServerCommandSource commandSource, Function<TestFinder<T>,T> runnerFactory, TestFunctionFinder testFunctionFinder, StructureBlockFinder structureBlockPosFinder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/command/TestFinder;<init>(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/function/Function;Lnet/minecraft/test/TestFunctionFinder;Lnet/minecraft/test/StructureBlockFinder;)V
      intermediary <init> Lnet/minecraft/class_9123;<init>(Lnet/minecraft/class_2168;Ljava/util/function/Function;Lnet/minecraft/class_9125;Lnet/minecraft/class_9119;)V
      official <init> Ltq;<init>(Let;Ljava/util/function/Function;Ltt;Ltl;)V
  • Method Details

    • findStructureBlockPos

      public Stream<BlockPos> findStructureBlockPos()
      Specified by:
      findStructureBlockPos in interface StructureBlockFinder
    • createRunner

      T createRunner()
      Mappings:
      Namespace Name Mixin selector
      named createRunner Lnet/minecraft/server/command/TestFinder;createRunner()Ljava/lang/Object;
      intermediary method_56306 Lnet/minecraft/class_9123;method_56306()Ljava/lang/Object;
      official b Ltq;b()Ljava/lang/Object;
    • getCommandSource

      public ServerCommandSource getCommandSource()
      Mappings:
      Namespace Name Mixin selector
      named getCommandSource Lnet/minecraft/server/command/TestFinder;getCommandSource()Lnet/minecraft/server/command/ServerCommandSource;
      intermediary method_56305 Lnet/minecraft/class_9123;method_56305()Lnet/minecraft/class_2168;
      official a Ltq;a()Let;
    • findTestFunctions

      public Stream<TestFunction> findTestFunctions()
      Specified by:
      findTestFunctions in interface TestFunctionFinder