From 53dc365c0a72adaf6eaa565c9607c72579b4c9b150dc4aca2640fe08028ec81b Mon Sep 17 00:00:00 2001 From: Sunglocto Date: Mon, 26 Oct 2026 16:03:43 +0000 Subject: [PATCH] make it PG --- .../vel/m910qmidgetmod/MidgetifyCommand.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/net/heizle/vel/m910qmidgetmod/MidgetifyCommand.java b/src/main/java/net/heizle/vel/m910qmidgetmod/MidgetifyCommand.java index 56bcaed..8db3a9f 100644 --- a/src/main/java/net/heizle/vel/m910qmidgetmod/MidgetifyCommand.java +++ b/src/main/java/net/heizle/vel/m910qmidgetmod/MidgetifyCommand.java @@ -18,7 +18,7 @@ public class MidgetifyCommand { public static void register() { CommandRegistrationCallback.EVENT.register((dispatcher, registryAccess, environment) -> { dispatcher.register( - Commands.literal("midgetify") + Commands.literal("tiny") .executes(context -> { CommandSourceStack source = context.getSource(); @@ -30,7 +30,7 @@ public class MidgetifyCommand { if (player.getAttribute(Attributes.MAX_HEALTH).getBaseValue() == 10) { source.sendSystemMessage( - Component.literal("You are already a midget.").withColor(TextColor.RED)); + Component.literal("You are already tiny.").withColor(TextColor.RED)); return 0; } @@ -41,11 +41,11 @@ public class MidgetifyCommand { Component confirmBtn = Component.literal("[CONFIRM]").withStyle(style -> style .withColor(TextColor.RED) .withBold(true) - .withClickEvent(new ClickEvent.RunCommand("/midgetify confirm"))); + .withClickEvent(new ClickEvent.RunCommand("/tiny confirm"))); source.sendSystemMessage( Component.literal( - "Are you sure you want to become a midget? This means being 1 block tall, but also having half health.\n\nYou cannot go back on this decision.\n") + "Are you sure you want to become tiny? This means being 1 block tall, but also having half health.\n\nYou cannot go back on this decision.\n") .append(confirmBtn)); return 1; @@ -61,7 +61,7 @@ public class MidgetifyCommand { } if (player.getAttribute(Attributes.MAX_HEALTH).getBaseValue() == 10) { - source.sendSystemMessage(Component.literal("You are already a midget.") + source.sendSystemMessage(Component.literal("You are already tiny.") .withColor(TextColor.RED)); return 0; } @@ -70,7 +70,7 @@ public class MidgetifyCommand { if (!CONFIRMATION_CACHE.containsKey(playerUuid)) { source.sendSystemMessage(Component - .literal("Nuh uh uh. Wrong order, mate.") + .literal("You need to run /tiny first before confirming.") .withColor(TextColor.RED)); return 0; } @@ -80,7 +80,7 @@ public class MidgetifyCommand { player.getAttribute(Attributes.SCALE).setBaseValue(0.5); source.sendSystemMessage( - Component.literal("Welcome to the midget life.") + Component.literal("You are now tiny!") .withColor(TextColor.GREEN)); return 1; })));