Class CommandGenerate
java.lang.Object
net.minecraftforge.server.command.CommandGenerate
-
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
-
CommandGenerate
CommandGenerate()
-
-
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
-