跳到正文

Item Seller

作者:Puukly

This is a mod that lets you select an item and then lets you automatically sell it

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Item Seller for Minecraft 1.21.10

MAKE SURE THAT THIS MOD IS ALLOWED ON YOUR SERVER.

This mod was made with the usage of AI and only made for personal use expect bugs.

A client-side Fabric mod that automates selling a desired item by pressing a customizable hotkey (default: F6).

Features

  • Press F6 (configurable) to automatically execute /sell command once
  • Press F7 (configurable) to automatically execute /sell command in a loop
  • Press F8 (configurable) to selected the desired item to sell
  • Automatically moves the selected item from your inventory into the opened container
  • Client-side only – works on servers that have the /sell command
  • Customizable keybinding through Minecraft’s controls menu

Requirements

  • Minecraft 1.21.10
  • Fabric Loader 0.16.9 or higher
  • Fabric API 0.110.5+1.21.10 or higher
  • Java 21

Installation

  1. Install Fabric Loader for Minecraft 1.21.10 from https://fabricmc.net/use/
  2. Download and install Fabric API from https://modrinth.com/mod/fabric-api
  3. Download and install this mod
  4. Place the JAR file into your .minecraft/mods folder
  5. Launch Minecraft with the Fabric profile

Building from Source

Prerequisites

  • Java Development Kit (JDK) 21 or higher
  • Git (optional)

Build Steps

  1. Open a terminal/command prompt in the mod directory
  2. Run the build command:
   ./gradlew build

On Windows:

   gradlew.bat build
  1. The compiled mod JAR will be in build/libs/itemseller-1.0.0.jar

Usage

  1. Join a server that has the /sell command enabled
  2. Press F8 (or your custom keybinding) and select an item
  3. Press F7 (or your custom keybinding)
  4. The mod will:
  • Execute /sell command
  • Wait for the container to open
  • Automatically move the selected item from your inventory to the container
  • Press Esc and Loop

Configuration

To change the keybinding:

  1. Open Minecraft
  2. Go to Options → Controls → Key Binds
  3. Scroll to the “Puuklys Item Seller” category
  4. Click on “Toggel Auto-Sell” and press your desired key
  5. Click “Done”

How It Works

  1. When you press the hotkey, the mod sends the /sell command to the server
  2. The mod waits up to 2 seconds for a container GUI to open
  3. Once the container opens, it scans your entire inventory for the desired item
  4. All found items are shift-clicked into the container automatically

Compatibility

  • Client-side only (doesn’t need to be installed on the server)
  • Works with any server that has a /sell command that opens a container
  • Compatible with most other Fabric mods

Troubleshooting

The mod doesn’t move items:

  • Make sure the /sell command actually opens a container/GUI
  • Check that you have the desired item in your inventory
  • Verify the server allows the /sell command

Keybinding doesn’t work:

  • Check for keybinding conflicts in Controls settings
  • Make sure the key isn’t bound to another action

Build errors:

  • Ensure you have JDK 21 or higher installed
  • Check that you have internet connection (Gradle needs to download dependencies)

License

MIT License – Feel free to modify and distribute

Support

This mod was created for Minecraft 1.21.10 specifically. If you encounter issues, make sure:

  • You’re running the correct Minecraft version
  • Fabric Loader and Fabric API are properly installed
  • The server supports the /sell command

常见问题

Item Seller 支持哪些 Minecraft 版本?

Item Seller 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Item Seller 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分