Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client {
- client {
- client()
- def random = new Random()
- def randomNumber = random.nextInt(100)
- getGameDirectory().convention(project.getLayout().getProjectDirectory().dir("runs/run1"));
- // Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
- systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
- programArgument('--username=Dev' + randomNumber)
- }
- client2 {
- client()
- def random = new Random()
- def randomNumber = random.nextInt(100)
- getGameDirectory().convention(project.getLayout().getProjectDirectory().dir("runs/run2"));
- // Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
- systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
- programArgument('--username=Dev' + randomNumber)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement