类 GenerateCommand
java.lang.Object
net.minecraftforge.server.command.GenerateCommand
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private 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) (专用程序包) static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> register()
-
构造器详细资料
-
GenerateCommand
GenerateCommand()
-
-
方法详细资料
-
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)
-