AlphaInventory module

AlphaInventory: Minecraft 26.3 cheat module, full source for every implementation (1 client: Nicotine).

1 implementationPlayer

Clients with this module

Full module source: 1 implementation

Every implementation below is the complete module file, verbatim. Expand a client to read its code.

NicotinePlayersrc/client/java/nicotine/mod/mods/player/AlphaInventory.javaJava · 32 lines · 899 B

Let's you store items in the crafting grid

AlphaInventory.javaJava · Minecraft 26.3 · 32 lines · 899 B · complete file, verbatimOriginal ↗
1
package nicotine.mod.mods.player;
2
3
import net.minecraft.client.gui.screens.inventory.InventoryScreen;
4
import net.minecraft.network.protocol.game.ServerboundContainerClosePacket;
5
import nicotine.events.PacketOutEvent;
6
import nicotine.mod.Mod;
7
import nicotine.mod.ModCategory;
8
import nicotine.util.EventBus;
9
10
import static nicotine.util.Common.mc;
11
12
public class AlphaInventory extends Mod {
13
14
    public AlphaInventory() {
15
        super(ModCategory.Player, "AlphaInventory", "Let's you store items in the crafting grid");
16
    }
17
18
    @Override
19
    protected void init() {
20
        EventBus.register(PacketOutEvent.class, event -> {
21
            if (!this.enabled)
22
                return true;
23
24
            if (event.packet instanceof ServerboundContainerClosePacket && mc.gui.screen() instanceof InventoryScreen) {
25
                return false;
26
            }
27
28
            return true;
29
        });
30
    }
31
}
32