Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 0326433

Browse files
author
Snoworange420
committed
candy
1 parent 12f080c commit 0326433

File tree

14 files changed

+257
-61
lines changed

14 files changed

+257
-61
lines changed

src/main/java/com/snoworange/mousse/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class Main {
3838

3939
public static final String MOD_ID = "mousse";
4040
public static final String NAME = "Mousse";
41-
public static final String VERSION = "v0.6.3";
41+
public static final String VERSION = "v0.7.1";
4242

4343
public static Minecraft mc = Minecraft.getMinecraft();
4444

src/main/java/com/snoworange/mousse/command/CommandManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
import java.util.List;
1515

1616
public class CommandManager {
17-
public List<Command> commands = new ArrayList<Command>();
18-
public String prefix = "&";
17+
public static List<Command> commands = new ArrayList<Command>();
18+
public static String prefix = "&";
1919

2020
public CommandManager() {
2121
MinecraftForge.EVENT_BUS.register(this);

src/main/java/com/snoworange/mousse/mixin/mixins/MixinGuiNewChat.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/main/java/com/snoworange/mousse/module/ModuleManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@ public ModuleManager() {
4848
//modules.add(new Dispenser32kRewrite());
4949
modules.add(new ThreadAura());
5050
modules.add(new Info32k());
51+
modules.add(new AutoCrystal());
5152

5253
//EXPLOIT
5354
modules.add(new SecretClose());
5455

55-
//JOKES
56-
5756
//MOVEMENT
5857
modules.add(new ElytraFly());
5958
modules.add(new LiquidSpeed());
@@ -72,6 +71,7 @@ public ModuleManager() {
7271
modules.add(new Jesus());
7372
modules.add(new Capes());
7473
modules.add(new HeadRotator());
74+
modules.add(new FakePlayer());
7575

7676
//MISC
7777
modules.add(new Disconnector());

src/main/java/com/snoworange/mousse/module/modules/combat/Dispenser32k.java

Lines changed: 141 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
public class Dispenser32k extends Module {
4545

46-
//Obfed (fr)
46+
//automatically obfed by myself lmao
4747

4848
public BlockPos placedPos;
4949
public BlockPos redstonePos;
@@ -627,7 +627,7 @@ public void onUpdate(LivingEvent.LivingUpdateEvent event) {
627627
//obi
628628
if (blockShulker.enable) {
629629

630-
if (mc.world.getBlockState(closestHopperPos.up()).getBlock() instanceof BlockShulkerBox && !mc.world.getBlockState(closestHopperPos.up(2)).isFullBlock()) {
630+
if (fastHopper.enable) {
631631

632632
if (obsidianIndex != -1) {
633633
mc.player.connection.sendPacket(new CPacketHeldItemChange(obsidianIndex));
@@ -662,9 +662,50 @@ public void onUpdate(LivingEvent.LivingUpdateEvent event) {
662662
} else {
663663
Main.sendMessage("bruh");
664664
}
665+
666+
667+
} else {
668+
if (obsidianIndex != -1) {
669+
mc.player.connection.sendPacket(new CPacketHeldItemChange(obsidianIndex));
670+
671+
if (!silentSwap.enable) {
672+
mc.player.inventory.currentItem = obsidianIndex;
673+
}
674+
675+
mc.playerController.updateController();
676+
677+
placeBlock(doStuffWithBlockPosDirection(closestHopperPos.up(), dispenserDirection.getOpposite()));
678+
679+
} else if (dispenserIndex != -1) {
680+
mc.player.connection.sendPacket(new CPacketHeldItemChange(dispenserIndex));
681+
682+
if (!silentSwap.enable) {
683+
mc.player.inventory.currentItem = dispenserIndex;
684+
}
685+
686+
mc.playerController.updateController();
687+
688+
placeBlock(doStuffWithBlockPosDirection(closestHopperPos.up(), dispenserDirection.getOpposite()));
689+
690+
} else if (redstoneIndex != -1) {
691+
mc.player.connection.sendPacket(new CPacketHeldItemChange(redstoneIndex));
692+
693+
if (!silentSwap.enable) {
694+
mc.player.inventory.currentItem = redstoneIndex;
695+
}
696+
697+
mc.playerController.updateController();
698+
699+
placeBlock(doStuffWithBlockPosDirection(closestHopperPos.up(), dispenserDirection.getOpposite()));
700+
} else {
701+
Main.sendMessage("bruh");
702+
}
665703
}
666704
}
667705

706+
mc.player.connection.sendPacket(new CPacketHeldItemChange(mc.player.inventory.currentItem));
707+
mc.player.connection.sendPacket(new CPacketEntityAction(mc.player, CPacketEntityAction.Action.STOP_SNEAKING));
708+
668709
//open hopper
669710

670711
if (openHopperWithPacket.enable) {
@@ -702,40 +743,85 @@ public void onUpdate(LivingEvent.LivingUpdateEvent event) {
702743
if (!mc.world.getBlockState(closestHopperPos.up(2)).isFullBlock()) {
703744
//obi
704745
if (blockShulker.enable) {
705-
if (obsidianIndex != -1) {
706-
mc.player.connection.sendPacket(new CPacketHeldItemChange(obsidianIndex));
707746

708-
if (!silentSwap.enable) {
709-
mc.player.inventory.currentItem = obsidianIndex;
710-
}
747+
if (fastHopper.enable) {
711748

712-
mc.playerController.updateController();
749+
if (obsidianIndex != -1) {
750+
mc.player.connection.sendPacket(new CPacketHeldItemChange(obsidianIndex));
713751

714-
placeBlock(closestHopperPos.up(2));
715-
} else if (dispenserIndex != -1) {
716-
mc.player.connection.sendPacket(new CPacketHeldItemChange(dispenserIndex));
752+
if (!silentSwap.enable) {
753+
mc.player.inventory.currentItem = obsidianIndex;
754+
}
717755

718-
if (!silentSwap.enable) {
719-
mc.player.inventory.currentItem = dispenserIndex;
720-
}
756+
mc.playerController.updateController();
721757

722-
mc.playerController.updateController();
758+
placeBlock(closestHopperPos.up(2));
759+
} else if (dispenserIndex != -1) {
760+
mc.player.connection.sendPacket(new CPacketHeldItemChange(dispenserIndex));
723761

724-
placeBlock(closestHopperPos.up(2));
725-
} else if (redstoneIndex != -1) {
726-
mc.player.connection.sendPacket(new CPacketHeldItemChange(redstoneIndex));
762+
if (!silentSwap.enable) {
763+
mc.player.inventory.currentItem = dispenserIndex;
764+
}
727765

728-
if (!silentSwap.enable) {
729-
mc.player.inventory.currentItem = redstoneIndex;
766+
mc.playerController.updateController();
767+
768+
placeBlock(closestHopperPos.up(2));
769+
} else if (redstoneIndex != -1) {
770+
mc.player.connection.sendPacket(new CPacketHeldItemChange(redstoneIndex));
771+
772+
if (!silentSwap.enable) {
773+
mc.player.inventory.currentItem = redstoneIndex;
774+
}
775+
776+
mc.playerController.updateController();
777+
778+
placeBlock(closestHopperPos.up(2));
779+
} else {
780+
Main.sendMessage("bruh");
730781
}
731782

732-
mc.playerController.updateController();
733783

734-
placeBlock(closestHopperPos.up(2));
735784
} else {
736-
Main.sendMessage("bruh");
785+
if (obsidianIndex != -1) {
786+
mc.player.connection.sendPacket(new CPacketHeldItemChange(obsidianIndex));
787+
788+
if (!silentSwap.enable) {
789+
mc.player.inventory.currentItem = obsidianIndex;
790+
}
791+
792+
mc.playerController.updateController();
793+
794+
placeBlock(doStuffWithBlockPosDirection(closestHopperPos.up(), dispenserDirection.getOpposite()));
795+
796+
} else if (dispenserIndex != -1) {
797+
mc.player.connection.sendPacket(new CPacketHeldItemChange(dispenserIndex));
798+
799+
if (!silentSwap.enable) {
800+
mc.player.inventory.currentItem = dispenserIndex;
801+
}
802+
803+
mc.playerController.updateController();
804+
805+
placeBlock(doStuffWithBlockPosDirection(closestHopperPos.up(), dispenserDirection.getOpposite()));
806+
807+
} else if (redstoneIndex != -1) {
808+
mc.player.connection.sendPacket(new CPacketHeldItemChange(redstoneIndex));
809+
810+
if (!silentSwap.enable) {
811+
mc.player.inventory.currentItem = redstoneIndex;
812+
}
813+
814+
mc.playerController.updateController();
815+
816+
placeBlock(doStuffWithBlockPosDirection(closestHopperPos.up(), dispenserDirection.getOpposite()));
817+
} else {
818+
Main.sendMessage("bruh");
819+
}
737820
}
738821
}
822+
823+
mc.player.connection.sendPacket(new CPacketHeldItemChange(mc.player.inventory.currentItem));
824+
mc.player.connection.sendPacket(new CPacketEntityAction(mc.player, CPacketEntityAction.Action.STOP_SNEAKING));
739825
}
740826
}
741827
}
@@ -982,4 +1068,35 @@ public void onDeath(LivingEvent.LivingUpdateEvent event) {
9821068
}
9831069
}
9841070
}
985-
}
1071+
1072+
public BlockPos doStuffWithBlockPosDirection(BlockPos blockPos, EnumFacing direction) {
1073+
1074+
if (direction.equals(EnumFacing.NORTH)) {
1075+
return blockPos.north();
1076+
}
1077+
1078+
if (direction.equals(EnumFacing.EAST)) {
1079+
return blockPos.east();
1080+
}
1081+
1082+
if (direction.equals(EnumFacing.SOUTH)) {
1083+
return blockPos.south();
1084+
}
1085+
1086+
if (direction.equals(EnumFacing.WEST)) {
1087+
return blockPos.west();
1088+
}
1089+
1090+
if (direction.equals(EnumFacing.DOWN)) {
1091+
return blockPos.down();
1092+
}
1093+
1094+
if (direction.equals(EnumFacing.UP)) {
1095+
return blockPos.up();
1096+
}
1097+
1098+
return null;
1099+
}
1100+
}
1101+
1102+
//I need rewrite fr

src/main/java/com/snoworange/mousse/module/modules/combat/TotemPopCounter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
public class TotemPopCounter extends Module {
1010

1111
public TotemPopCounter() {
12-
super("TotemPopNotify", "", Category.COMBAT);
12+
super("TotemPopNotify", "btich", Category.COMBAT);
1313
}
1414

1515
@Override

src/main/java/com/snoworange/mousse/module/modules/movement/Rubberband.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ public void onDisable() {
3030

3131
@SubscribeEvent
3232
public void onDisableStuff(TickEvent.ClientTickEvent event) {
33+
34+
if (mc.player == null || mc.world == null) return;
35+
3336
if (end) {
3437
timer++;
3538
}

src/main/java/com/snoworange/mousse/module/modules/player/Capes.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public Capes() {
2323
UUIDs.add(UUID.fromString("42069420-6969-6969-6969-420420420420")); //huu_bo
2424
UUIDs.add(UUID.fromString("7e31f4df-d166-44ef-9065-6231420226ab")); //HGkidudeski
2525
UUIDs.add(UUID.fromString("e2857f53-ffa6-468e-bc7a-9aa43c143e45")); //Pseudonymous000
26+
UUIDs.add(UUID.fromString("1237b656-7fa9-4d17-94c6-86265453e5b7")); //fluffery
2627

2728
instance = this;
2829
}
@@ -33,6 +34,7 @@ public Capes() {
3334
public static final ResourceLocation HUUB_CAPE = new ResourceLocation("textures/huub_cape.png");
3435
public static final ResourceLocation ELMO_CAPE = new ResourceLocation("textures/elmo_cape_fixed.png");
3536
public static final ResourceLocation PSEUDO_CAPE = new ResourceLocation("textures/pseudo_cape.png");
37+
public static final ResourceLocation FLUFFERY_CAPE = new ResourceLocation("textures/fluffery.png");
3638

3739
@Override
3840
public void onEnable() {
@@ -56,20 +58,28 @@ public static ResourceLocation getCapeResource(AbstractClientPlayer player) {
5658
if (player.getUniqueID().toString().equals("fe1ad3a4-9e5d-4f68-a04c-2e74bd07df42")) {
5759
return SNOWORANGE_CAPE;
5860
}
61+
5962
if (player.getUniqueID().toString().equals("05b09c32-fe1b-4563-bbc6-db9968070d94")) {
6063
return JONAKIP_CAPE;
6164
}
65+
6266
if (player.getUniqueID().toString().equals("42069420-6969-6969-6969-420420420420")) {
6367
Main.sendMessage("Sorry Huub ik heb nog geen texture");
6468
return HUUB_CAPE;
6569
}
70+
6671
if (player.getUniqueID().toString().equals("7e31f4df-d166-44ef-9065-6231420226ab")) {
6772
return ELMO_CAPE;
6873
}
74+
6975
if (player.getUniqueID().toString().equals("e2857f53-ffa6-468e-bc7a-9aa43c143e45")) {
7076
return PSEUDO_CAPE;
7177
}
7278

79+
if (player.getUniqueID().toString().equals("1237b656-7fa9-4d17-94c6-86265453e5b7")) {
80+
return FLUFFERY_CAPE;
81+
}
82+
7383
if (player.getName().equals(Minecraft.getMinecraft().getSession().getUsername())) {
7484
return MOUSSE_CAPE;
7585
}

src/main/java/com/snoworange/mousse/ui/Hud.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ public void renderOverlay(RenderGameOverlayEvent event) {
6868
if (Main.moduleManager.getModule("32kInfo").isEnabled()) {
6969

7070
if (Info32k.has32k()) {
71-
fr.drawString("32k in hotbar!", 100, 12, new Color(107, 154, 69).getRGB(), false);
71+
fr.drawString("32k in hotbar!", 75, 12, new Color(107, 154, 69).getRGB(), false);
7272
} else {
73-
fr.drawString("No 32k in hotbar!", 100, 12, new Color(222, 39, 39).getRGB(), false);
73+
fr.drawString("No 32k in hotbar!", 75, 12, new Color(222, 39, 39).getRGB(), false);
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)