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 tp
  • 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 Ltp;a:Lts;
    • 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 Ltp;b:Ltk;
    • 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 Ltp;c:Lts;
    • 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 Ltp;d:Ltk;
    • 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 Ltp;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 Ltp;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> Ltp;<init>(Let;Ljava/util/function/Function;Lts;Ltk;)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 Ltp;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 Ltp;a()Let;
    • findTestFunctions

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