@Test void generateOfflinePlayerUuid() { assertEquals(TEST_OFFLINE_PLAYER_UUID, UuidUtils.generateOfflinePlayerUuid(TEST_OFFLINE_PLAYER), "UUIDs do not match"); }
public static UUID generateOfflinePlayerUuid(String username) { return UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes(StandardCharsets.UTF_8)); }
UuidUtils { public static UUID generateOfflinePlayerUuid(String username) { return UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes(StandardCharsets.UTF_8)); } }
UuidUtils { public static UUID generateOfflinePlayerUuid(String username) { return UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes(StandardCharsets.UTF_8)); } private  UuidUtils(); }
UuidUtils { public static UUID generateOfflinePlayerUuid(String username) { return UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes(StandardCharsets.UTF_8)); } private  UuidUtils(); static UUID fromUndashed(final String string); static String toUndashed(final UUID uuid); static UUID generateOfflinePlayerUuid(String username); }
UuidUtils { public static UUID generateOfflinePlayerUuid(String username) { return UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes(StandardCharsets.UTF_8)); } private  UuidUtils(); static UUID fromUndashed(final String string); static String toUndashed(final UUID uuid); static UUID generateOfflinePlayerUuid(String username);  }