Package net.minecraft.gametest.framework
Class TestFinder.Builder<T>
java.lang.Object
net.minecraft.gametest.framework.TestFinder.Builder<T>
- Enclosing class:
TestFinder<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Function
<TestFinder<T>, T> private final UnaryOperator
<Supplier<Stream<BlockPos>>> private final UnaryOperator
<Supplier<Stream<TestFunction>>> -
Constructor Summary
ModifierConstructorDescriptionBuilder
(Function<TestFinder<T>, T> p_320939_) private
Builder
(Function<TestFinder<T>, T> p_331181_, UnaryOperator<Supplier<Stream<TestFunction>>> p_331301_, UnaryOperator<Supplier<Stream<BlockPos>>> p_331612_) -
Method Summary
Modifier and TypeMethodDescriptionallNearby
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320216_) allTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320902_) allTestsInClass
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320256_, String p_320231_) private T
build
(CommandSourceStack p_330622_, TestFunctionFinder p_330437_, StructureBlockPosFinder p_331860_) byArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320475_, String p_320707_) private static <Q> UnaryOperator
<Supplier<Stream<Q>>> createCopies
(int p_330804_) createMultipleCopies
(int p_330482_) failedTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320220_) failedTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320960_, boolean p_320352_) locateByName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_341208_, String p_341401_) lookedAt
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320178_) nearest
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320944_) radius
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320307_, int p_320811_)
-
Field Details
-
contextProvider
-
testFunctionFinderWrapper
-
structureBlockPosFinderWrapper
-
-
Constructor Details
-
Builder
-
Builder
private Builder(Function<TestFinder<T>, T> p_331181_, UnaryOperator<Supplier<Stream<TestFunction>>> p_331301_, UnaryOperator<Supplier<Stream<BlockPos>>> p_331612_)
-
-
Method Details
-
createMultipleCopies
-
createCopies
-
build
private T build(CommandSourceStack p_330622_, TestFunctionFinder p_330437_, StructureBlockPosFinder p_331860_) -
radius
public T radius(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320307_, int p_320811_) -
nearest
-
allNearby
-
lookedAt
-
allTests
-
allTestsInClass
public T allTestsInClass(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320256_, String p_320231_) -
failedTests
public T failedTests(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320960_, boolean p_320352_) -
byArgument
public T byArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320475_, String p_320707_) -
locateByName
public T locateByName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_341208_, String p_341401_) -
failedTests
-