类 TestFinder.Builder
java.lang.Object
net.minecraft.gametest.framework.TestFinder.Builder
- 封闭类:
TestFinder
-
字段概要
字段修饰符和类型字段说明private final UnaryOperator
<Supplier<Stream<BlockPos>>> private final UnaryOperator
<Supplier<Stream<Holder.Reference<GameTestInstance>>>> -
构造器概要
构造器限定符构造器说明Builder()
private
Builder
(UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> p_397152_, UnaryOperator<Supplier<Stream<BlockPos>>> p_398014_) -
方法概要
修饰符和类型方法说明allNearby
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320216_) private TestFinder
build
(CommandSourceStack p_330622_, TestInstanceFinder p_397791_, TestPosFinder p_397288_) byResourceSelection
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_397078_, Collection<Holder.Reference<GameTestInstance>> p_397871_) 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_) 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_)
-
字段详细资料
-
testFinderWrapper
-
structureBlockPosFinderWrapper
-
-
构造器详细资料
-
Builder
public Builder() -
Builder
private Builder(UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> p_397152_, UnaryOperator<Supplier<Stream<BlockPos>>> p_398014_)
-
-
方法详细资料
-
createMultipleCopies
-
createCopies
-
build
private TestFinder build(CommandSourceStack p_330622_, TestInstanceFinder p_397791_, TestPosFinder p_397288_) -
radius
public TestFinder radius(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320307_, int p_320811_) -
nearest
public TestFinder nearest(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320944_) -
allNearby
public TestFinder allNearby(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320216_) -
lookedAt
public TestFinder lookedAt(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320178_) -
failedTests
public TestFinder failedTests(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320960_, boolean p_320352_) -
byResourceSelection
public TestFinder byResourceSelection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_397078_, Collection<Holder.Reference<GameTestInstance>> p_397871_) -
failedTests
public TestFinder failedTests(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_320220_)
-