Skip to content

Commit

Permalink
yee
Browse files Browse the repository at this point in the history
  • Loading branch information
not-coded committed Aug 26, 2024
1 parent 1c260dd commit dc80ab3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

import net.notcoded.namefabric.utils.MinecraftAPI;
import org.jetbrains.annotations.NotNull;
import java.net.URI;
import java.time.Duration;

import java.util.Base64;
import java.util.HashMap;
import static com.mojang.brigadier.arguments.StringArgumentType.getString;
Expand All @@ -21,6 +20,8 @@
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;
import java.time.Duration;
//?} elif <1.19 {
/*import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource;
Expand Down Expand Up @@ -148,7 +149,7 @@ public static int getCapesPlayer(FabricClientCommandSource source, @NotNull Stri
capes.put("http://textures.minecraft.net/texture/ca29f5dd9e94fb1748203b92e36b66fda80750c87ebc18d6eafdb0e28cc1d05f", "Translator (Japanese)");
capes.put("http://textures.minecraft.net/texture/f9a76537647989f9a0b6d001e320dac591c359e9e61a31f4ce11c88f207f0ad4", "Vanilla");
capes.put("http://textures.minecraft.net/texture/afd553b39358a24edfe3b8a9a939fa5fa4faa4d9a9c3d6af8eafb377fa05c2bb", "Cherry Blossom");
capes.put("http://textures.minecraft.net/texture/cd9d82ab17fd92022dbd4a86cde4c382a7540e117fae7b9a2853658505a80625 ", "15th Anniversary");
capes.put("http://textures.minecraft.net/texture/cd9d82ab17fd92022dbd4a86cde4c382a7540e117fae7b9a2853658505a80625", "15th Anniversary");
capes.put("http://textures.minecraft.net/texture/cb40a92e32b57fd732a00fc325e7afb00a7ca74936ad50d8e860152e482cfbde", "Purple Heart");
capes.put("http://textures.minecraft.net/texture/569b7f2a1d00d26f30efe3f9ab9ac817b1e6d35f4f3cfb0324ef2d328223d350", "Follower's");
capes.put("Valentine Texture", "Valentine");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import com.mojang.brigadier.CommandDispatcher;

import net.notcoded.namefabric.utils.MinecraftAPI;
import java.net.URI;
import java.time.Duration;
import java.util.Base64;
import static com.mojang.brigadier.arguments.StringArgumentType.getString;
import static com.mojang.brigadier.arguments.StringArgumentType.string;
Expand All @@ -19,6 +17,8 @@
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;
import java.time.Duration;
//?} elif <1.19 {
/*import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import com.mojang.brigadier.CommandDispatcher;

import net.notcoded.namefabric.utils.MinecraftAPI;
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.List;
import static com.mojang.brigadier.arguments.StringArgumentType.getString;
Expand All @@ -21,6 +19,8 @@
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;
import java.time.Duration;
//?} elif <1.19 {
/*import net.fabricmc.fabric.api.client.command.v1.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v1.FabricClientCommandSource;
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/assets/namefabric/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

"command.getskin.success": "The current skin of %s is: %s",

"command.getuuid.name.success": "The uuid of %s is: %s",
"command.getuuid.name.success": "The UUID of %s is: %s",
"command.getuuid.uuid.success": "The name of %s is: %s",

"command.getcape.success": "The current cape of %s is the %s cape.",
"command.getcape.success": "The current cape of %s is the '%s' cape.",

"command.namehistory.success": "The past usernames of %s are: %s",

"click.open.link": "Click to open the link!",
"click.copy.uuid": "Click to copy the uuid!"
"click.copy.uuid": "Click to copy the UUID!"
}

0 comments on commit dc80ab3

Please sign in to comment.