Advertisement
mtga_Kestrel

Untitled

Sep 10th, 2024 (edited)
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.97 KB | None | 0 0
  1.  client {
  2.         client {
  3.             client()
  4.             def random = new Random()
  5.             def randomNumber = random.nextInt(100)
  6.             getGameDirectory().convention(project.getLayout().getProjectDirectory().dir("runs/run1"));
  7.  
  8.             // Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
  9.             systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
  10.             programArgument('--username=Dev' + randomNumber)
  11.         }
  12.         client2 {
  13.             client()
  14.             def random = new Random()
  15.             def randomNumber = random.nextInt(100)
  16.             getGameDirectory().convention(project.getLayout().getProjectDirectory().dir("runs/run2"));
  17.  
  18.             // Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
  19.             systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
  20.             programArgument('--username=Dev' + randomNumber)
  21.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement