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_329391_) private
Builder
(Function<TestFinder<T>, T> p_329078_, UnaryOperator<Supplier<Stream<TestFunction>>> p_334250_, UnaryOperator<Supplier<Stream<BlockPos>>> p_334300_) -
Method Summary
Modifier and TypeMethodDescriptionallNearby
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_335428_) allTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_331369_) allTestsInClass
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_333766_, String p_332600_) private T
build
(CommandSourceStack p_334153_, TestFunctionFinder p_330203_, StructureBlockPosFinder p_328202_) byArgument
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_329167_, String p_334913_) private static <Q> UnaryOperator
<Supplier<Stream<Q>>> createCopies
(int p_334571_) createMultipleCopies
(int p_329806_) failedTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_331687_) failedTests
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_332736_, boolean p_336399_) locateByName
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_330730_, String p_336390_) lookedAt
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_328071_) nearest
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_332654_) radius
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_330481_, int p_334173_)
-
Field Details
-
contextProvider
-
testFunctionFinderWrapper
-
structureBlockPosFinderWrapper
-
-
Constructor Details
-
Builder
-
Builder
private Builder(Function<TestFinder<T>, T> p_329078_, UnaryOperator<Supplier<Stream<TestFunction>>> p_334250_, UnaryOperator<Supplier<Stream<BlockPos>>> p_334300_)
-
-
Method Details
-
createMultipleCopies
-
createCopies
-
build
private T build(CommandSourceStack p_334153_, TestFunctionFinder p_330203_, StructureBlockPosFinder p_328202_) -
radius
public T radius(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_330481_, int p_334173_) -
nearest
-
allNearby
-
lookedAt
-
allTests
-
allTestsInClass
public T allTestsInClass(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_333766_, String p_332600_) -
failedTests
public T failedTests(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_332736_, boolean p_336399_) -
byArgument
public T byArgument(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_329167_, String p_334913_) -
locateByName
public T locateByName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_330730_, String p_336390_) -
failedTests
-