Class GenerateCommand
java.lang.Object
net.minecraftforge.server.command.GenerateCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(CommandSourceStack source, BlockPos pos, int count, ServerLevel dim, int interval) private static int
getInt
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name) (package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,
?> register()
-
Constructor Details
-
GenerateCommand
GenerateCommand()
-
-
Method Details
-
register
-
getInt
private static int getInt(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name) -
execute
private static int execute(CommandSourceStack source, BlockPos pos, int count, ServerLevel dim, int interval) throws CommandRuntimeException - Throws:
CommandRuntimeException
-