Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_pWvzCZg4.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
AutoSell - 墨喵 Minecraft 资源
AutoSell 图标

AutoSell

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/autosellmod
资源信息

Minecraft 版本: 26.2

平台: fabric

标签: economy game-mechanics utility

资源介绍

AutoSell

Mod Loader
[Environment]()
Modrinth
License

A client side Fabric mod that runs your server's sell command for you once your
inventory fills up, and moves the items you picked into the shop.

Requirements

  • Minecraft 26.2
  • Fabric Loader 0.18.5 or newer
  • Fabric API
  • Java 25

The mod only does something useful on servers where a command opens a shop
container, for example /sell. In singleplayer there is nothing for it to talk
to.

Usage

Press K to open the menu. The key can be rebound in the vanilla controls
screen under the AutoSell category.

In the menu you can:

  • Pick the items to sell. Clicking an item in the grid adds or removes it, and
    you can select up to 32. The search box matches display names and registry
    IDs, and the check button next to it narrows the grid down to what you already
    picked.
  • Set the inventory threshold. AutoSell triggers once that percentage of your
    36 inventory slots is occupied and at least one of your selected items is in
    there.
  • Set the command. Default is sell. A leading slash is stripped, so both
    sell and /sell work.
  • Choose the HUD corner with the small button next to the threshold slider.

Press start and close the menu. While AutoSell runs, a small box in the chosen
corner shows the items it will sell. Its border colour follows the current
state: green while watching the inventory, orange while waiting for the shop,
cyan while moving items.

When it triggers, AutoSell sends the command, waits for the container to open,
quick moves every matching stack out of your own inventory, and closes the
container again. Items sitting in the shop's own slots are never touched.

AutoSell stops on its own if the command fails to open a shop three times in a
row, and tells you so in chat. It also stops when you leave the server, or when
you close the menu with nothing selected.

Configuration

Settings are stored in config/autosell.json and are written whenever you
change something in the menu.

{
  "selectedItemIds": ["minecraft:cobblestone"],
  "inventoryThreshold": 90,
  "sellCommand": "sell",
  "hudCorner": "TOP_RIGHT"
}

hudCorner accepts TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT and BOTTOM_RIGHT.
inventoryThreshold is clamped to 1 through 100. Item IDs that no longer
resolve are skipped instead of being dropped from the file, so a missing mod
does not wipe your selection.

Building

./gradlew build

The jar ends up in build/libs. Use ./gradlew runClient for a development
client.

Contributing

Pull requests are welcome. Fork the repository, work on a branch, and describe
what you changed and why. Please match the existing code style and make sure
./gradlew build passes before you open the request.

Issues and feature requests

Open an issue on GitHub. For bugs, include the steps to reproduce, your
Minecraft and mod versions, and the relevant part of your log. For features,
describe what you want to do and why the current behaviour gets in the way.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
SoftyClouds

价格:0 墨喵币
下载量:0

查看详情
Bitcoin

价格:0 墨喵币
下载量:0

查看详情
LovelyEnchant

价格:0 墨喵币
下载量:0

查看详情
Old Copper Bulb

价格:0 墨喵币
下载量:0

查看详情