Package net.minecraft.server.command
Class TestFinder.Builder
java.lang.Object
net.minecraft.server.command.TestFinder.Builder
- Enclosing class:
TestFinder
- Mappings:
Namespace Name named net/minecraft/server/command/TestFinder$Builderintermediary net/minecraft/class_9123$class_9124official ub$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UnaryOperator<Supplier<Stream<BlockPos>>> private final UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionBuilder()privateBuilder(UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> testInstanceFinderMapper, UnaryOperator<Supplier<Stream<BlockPos>>> testInstanceBlockFinderMapper) -
Method Summary
Modifier and TypeMethodDescriptionallStructures(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private TestFinderbuild(ServerCommandSource source, TestInstanceFinder instanceFinder, TestInstanceBlockFinder blockFinder) failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean onlyRequired) nearest(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) repeat(int count) private static <Q> UnaryOperator<Supplier<Stream<Q>>> repeating(int count) selector(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<RegistryEntry.Reference<TestInstance>> selected) surface(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, int radius) targeted(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
-
Field Details
-
testInstanceFinderMapper
private final UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> testInstanceFinderMapper- Mappings:
Namespace Name Mixin selector named testInstanceFinderMapperLnet/minecraft/server/command/TestFinder$Builder;testInstanceFinderMapper:Ljava/util/function/UnaryOperator;intermediary field_56220Lnet/minecraft/class_9123$class_9124;field_56220:Ljava/util/function/UnaryOperator;official aLub$a;a:Ljava/util/function/UnaryOperator;
-
testInstanceBlockFinderMapper
- Mappings:
Namespace Name Mixin selector named testInstanceBlockFinderMapperLnet/minecraft/server/command/TestFinder$Builder;testInstanceBlockFinderMapper:Ljava/util/function/UnaryOperator;intermediary field_49664Lnet/minecraft/class_9123$class_9124;field_49664:Ljava/util/function/UnaryOperator;official bLub$a;b:Ljava/util/function/UnaryOperator;
-
-
Constructor Details
-
Builder
public Builder() -
Builder
private Builder(UnaryOperator<Supplier<Stream<RegistryEntry.Reference<TestInstance>>>> testInstanceFinderMapper, UnaryOperator<Supplier<Stream<BlockPos>>> testInstanceBlockFinderMapper) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/command/TestFinder$Builder;<init>(Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)Vintermediary <init>Lnet/minecraft/class_9123$class_9124;<init>(Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)Vofficial <init>Lub$a;<init>(Ljava/util/function/UnaryOperator;Ljava/util/function/UnaryOperator;)V
-
-
Method Details
-
repeat
- Mappings:
Namespace Name Mixin selector named repeatLnet/minecraft/server/command/TestFinder$Builder;repeat(I)Lnet/minecraft/server/command/TestFinder$Builder;intermediary method_57965Lnet/minecraft/class_9123$class_9124;method_57965(I)Lnet/minecraft/class_9123$class_9124;official aLub$a;a(I)Lub$a;
-
repeating
- Mappings:
Namespace Name Mixin selector named repeatingLnet/minecraft/server/command/TestFinder$Builder;repeating(I)Ljava/util/function/UnaryOperator;intermediary method_57970Lnet/minecraft/class_9123$class_9124;method_57970(I)Ljava/util/function/UnaryOperator;official bLub$a;b(I)Ljava/util/function/UnaryOperator;
-
build
private TestFinder build(ServerCommandSource source, TestInstanceFinder instanceFinder, TestInstanceBlockFinder blockFinder) - Mappings:
Namespace Name Mixin selector named buildLnet/minecraft/server/command/TestFinder$Builder;build(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestInstanceFinder;Lnet/minecraft/test/TestInstanceBlockFinder;)Lnet/minecraft/server/command/TestFinder;intermediary method_57967Lnet/minecraft/class_9123$class_9124;method_57967(Lnet/minecraft/class_2168;Lnet/minecraft/class_10674;Lnet/minecraft/class_10675;)Lnet/minecraft/class_9123;official aLub$a;a(Lej;Lud;Lue;)Lub;
-
surface
public TestFinder surface(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, int radius) - Mappings:
Namespace Name Mixin selector named surfaceLnet/minecraft/server/command/TestFinder$Builder;surface(Lcom/mojang/brigadier/context/CommandContext;I)Lnet/minecraft/server/command/TestFinder;intermediary method_56310Lnet/minecraft/class_9123$class_9124;method_56310(Lcom/mojang/brigadier/context/CommandContext;I)Lnet/minecraft/class_9123;official aLub$a;a(Lcom/mojang/brigadier/context/CommandContext;I)Lub;
-
nearest
- Mappings:
Namespace Name Mixin selector named nearestLnet/minecraft/server/command/TestFinder$Builder;nearest(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;intermediary method_56309Lnet/minecraft/class_9123$class_9124;method_56309(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;official aLub$a;a(Lcom/mojang/brigadier/context/CommandContext;)Lub;
-
allStructures
public TestFinder allStructures(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) - Mappings:
Namespace Name Mixin selector named allStructuresLnet/minecraft/server/command/TestFinder$Builder;allStructures(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;intermediary method_56318Lnet/minecraft/class_9123$class_9124;method_56318(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;official bLub$a;b(Lcom/mojang/brigadier/context/CommandContext;)Lub;
-
targeted
public TestFinder targeted(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) - Mappings:
Namespace Name Mixin selector named targetedLnet/minecraft/server/command/TestFinder$Builder;targeted(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;intermediary method_56321Lnet/minecraft/class_9123$class_9124;method_56321(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;official cLub$a;c(Lcom/mojang/brigadier/context/CommandContext;)Lub;
-
failed
public TestFinder failed(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean onlyRequired) - Mappings:
Namespace Name Mixin selector named failedLnet/minecraft/server/command/TestFinder$Builder;failed(Lcom/mojang/brigadier/context/CommandContext;Z)Lnet/minecraft/server/command/TestFinder;intermediary method_56312Lnet/minecraft/class_9123$class_9124;method_56312(Lcom/mojang/brigadier/context/CommandContext;Z)Lnet/minecraft/class_9123;official aLub$a;a(Lcom/mojang/brigadier/context/CommandContext;Z)Lub;
-
selector
public TestFinder selector(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<RegistryEntry.Reference<TestInstance>> selected) - Mappings:
Namespace Name Mixin selector named selectorLnet/minecraft/server/command/TestFinder$Builder;selector(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;)Lnet/minecraft/server/command/TestFinder;intermediary method_67071Lnet/minecraft/class_9123$class_9124;method_67071(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;)Lnet/minecraft/class_9123;official aLub$a;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;)Lub;
-
failed
- Mappings:
Namespace Name Mixin selector named failedLnet/minecraft/server/command/TestFinder$Builder;failed(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/command/TestFinder;intermediary method_56324Lnet/minecraft/class_9123$class_9124;method_56324(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_9123;official dLub$a;d(Lcom/mojang/brigadier/context/CommandContext;)Lub;
-