Skip to content

Commit

Permalink
1.21, more variations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo0001 committed Jun 22, 2024
1 parent 9875cb4 commit cec0639
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/de/jo0001/viaTesting/util/AssetUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ public class AssetUtil {
public static File getDir() {
final String[] NAMES_1 = {"funny", "silver", "turbo", "glowing", "musical", "fluffy", "super", "friendly",
"fictional", "automatic", "rotary", "upgraded", "reimagined", "fantastic", "ubiquitous", "redesigned",
"special", "miniature", "cautious", "urban", "bookish", "refactored", "animated", "shiny", "symmetrical", "upsidedown"};
"special", "miniature", "cautious", "urban", "bookish", "refactored", "animated", "shiny", "symmetrical", "upsidedown", "waxed", "chiseled", "ominous", "heavy"};
final String[] NAMES_2 = {"chicken", "cow", "mooshroom", "pig", "sheep", "squid", "villager", "wandering_trader", "bat",
"ocelot", "cat", "horse", "donkey", "mule", "skeleton_horse", "strider", "fox", "rabbit", "parrot", "turtle", "cod",
"salmon", "pufferfish", "tropical_fish", "enderman", "piglin", "zombified_piglin", "dolphin", "bee", "wolf",
"spider", "cave_spider", "polar_bear", "llama", "iron_golem", "panda", "warden", "allay", "slime", "vex", "stray", "vindicator", "witch", "camel", "sniffer"};
"spider", "cave_spider", "polar_bear", "llama", "iron_golem", "panda", "warden", "allay", "slime", "vex", "stray", "vindicator", "witch", "camel", "sniffer", "bogged", "breeze"};
Random random = new Random();
File dir = new File(System.getProperty("java.io.tmpdir") + "ViaTesting-" + NAMES_1[random.nextInt(NAMES_1.length)] + "-" + NAMES_2[random.nextInt(NAMES_2.length)]);
if (dir.exists()) {
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/de/jo0001/viaTesting/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ public static String idToVersion(final int id) {
case 765:
return "1.20.4";
case 766:
return "1.20.5";
return "1.20.6";
case 767:
return "1.21";
default:
return "Unknown";
}
Expand Down

0 comments on commit cec0639

Please sign in to comment.