CalcStack 图标

CalcStack

作者:rebot | 分类:模组

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

Minecraft 版本: 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: folia paper

标签: adventure social utility

资源介绍

CalcStack Plugin Documentation

Are you tired of staring at endless lists of materials in tutorials, unsure of how many stacks, boxes, or items you actually need? This plugin was created just for you!

Features

CalcStack allows players to easily calculate the stack count of items in hand and the required number of boxes with a simple command. It supports custom stack sizes and can display the raw materials needed for crafting items along with their stacking requirements.

Key Features

  • Automatic translation to Chinese
  • Automatically retrieves the stack count of items
  • Easily solves large quantity to unit conversion issues
  • Perfect estimation system
    • For example, 1x Log -> 4x Planks, automatically estimating maximum values like 2x Planks -> 1x Log, 3x Planks -> 1x Log, 6x Planks -> 2x Logs
  • Automatic unit conversion for raw materials
  • Highly customizable language files

Command Usage

/calculate <quantity> or /calculate <itemID> <quantity>
  • : The number of items to calculate.
  • : The specific item ID (defaults to the item in hand). (Includes automatic ID completion)

You can also use the shorthand command /calc.

Example

Players can use /calculate 500 to calculate the stack and box requirements for 500 items in hand, or use /calculate diamond 500 to calculate the stack and box requirements for storing 500 specified diamonds.

Configuration File

Max Stack Size Setting

This setting is used to define the maximum stack size of items. If custom stack sizes are enabled, you can adjust the stack size as needed.

custom-stack-size:
  enabled: false   # Enable custom stack size
  value: 64        # Maximum stack size

Chest Size (Number of Slots)

Set the number of slots in each chest. The default is 27 slots (standard chest size).

chest-size: 27     # Size of each chest (number of slots)

Language File

Usage Prompt

Displays the correct command usage.

usage: "§eUsage: /calculate <quantity> or /calculate <itemID> <quantity>"

Error Messages

Provides user-friendly error messages.

error:
  not_player: "§cThis command can only be used by players!"
  no_item_in_hand: "§cPlease hold a valid item, or specify the item ID in the command!"
  invalid_item: "§cInvalid item ID: {item}"
  invalid_number: "§cPlease enter a valid quantity!"

Calculation Result Display

Shows the stacking situation of items, remaining item count, required number of boxes, and other details.

result:
  header: "§a===== Calculation Result ====="
  item: "§bItem: {item}({translated_name})"
  quantity: "§bQuantity: {quantity}"
  stacks: "§bStacks: {stacks} groups ({stack_size} items/group)"
  remaining: "§bRemaining: {remaining} items"
  chests: "§bChests needed: {chests} (each chest has {chest_size} slots)"
  footer: "§a===================="

Raw Materials Display

Calculates the raw materials required for the item and their stacking needs.

ingredients:
  header: "§a===== Raw Materials ====="
  item: "§b- {ingredient}({translated_name}) - {quantity} items"
  stacks: "  §7- {stacks} groups ({stack_size} items/group)"
  remaining: "  §7- Remaining {remaining} items"
  chests: "  §7- Chests needed: {chests} (each chest has {chest_size} slots)"

Feel free to customize the configuration and enjoy using CalcStack!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Random Drops

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

查看详情
All white swords

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

查看详情
Create: Beretium

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

查看详情
Trinkets GUIRevision Dark

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

查看详情