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