关于 CraftingOptimizer
CraftingOptimizer 是一款 Minecraft 插件,允许玩家创建自定义合成配方。通过此插件,您可以添加独特的物品或更改现有物品的合成方式。它通过确保原料放置在最佳位置来帮助组织和改进合成过程。这节省了时间并使合成变得更加简单。玩家还可以通过在游戏中使用自己的配方来享受更加个性化的体验。
如何使用 CraftingOptimizer?
如果您不是新手服务器管理员,请跳过前 3 步。
-
下载 CraftingOptimizer。
-
将 CraftingOptimizer 拖拽/上传到您的 plugins 文件夹中。
-
重启您的服务器。
-
要创建一个配方,您可以运行命令 /co generateFile <id> 来获取一个包含所有要求的预生成配方。
-
进入您的新配方文件,并根据需要进行修改。
配方文件:
配方文件 (example.yml)
# 这将把配方注册为 craftingoptimizer:example
id: example
# 这将决定原料是否需要放在特定槽位中。
# **尚不支持无序合成配方!**
shaped: true
result:
# 必须在此处设置材质类型。如果未设置,注册将会失败。
type: DIAMOND_SWORD
这是可选的,但你可以将物品的名称设置为你想要的任何内容!
支持十六进制颜色代码
name: "&a绿宝石剑"
这也是可选的,但你可以为物品设置你想要的描述文本(lore)!
支持十六进制颜色代码
lore:
- "&c由众神锻造!"
这些也是可选的,但你可以为物品应用任何附魔。
enchantments:
sharpness: 5
unbreaking: 3
这个也是可选的,对于自定义资源包非常有用。
custom-model-data: 100
这些也是可选的,但你可以使用 ItemFlags 隐藏物品数据
item-flags:
hide_enchants: true
可选,这允许你为物品添加额外能力。
attributes:
generic_attack_damage: 100
这是物品的形状,一个 3x3 的网格,用于指定物品放置的位置。
关于这方面的更多信息见接下来的说明。
shape:
如果你希望 A 对应钻石,则在 keys 中将字母 A 设为键,并将值设置为 DIAMOND
keys:
A: DIAMOND
B: EMERALD
C: IRON_INGOT
</details>
## 功能
CraftingOptimizer 包含许多功能,例如:
- 名称
- 自定义描述
- 自定义模型数据
- 属性
- 物品标志
- 附魔(最高支持 255 级)
- 支持十六进制颜色代码
- 轻松查看任意配方(/co view <配方 ID>)
计划中的功能:
- ItemsAdder/Oraxen 实现
- 游戏内编辑器
- 无形状配方
- 更好的插件自定义
- 物品事件
About CraftingOptimizer
CraftingOptimizer is a Minecraft plugin that lets players create custom crafting recipes. With this plugin, you can add unique items or change how existing ones are made. It helps organize and improve crafting by making sure ingredients are placed in the best spots. This saves time and makes crafting easier. Players can also enjoy a more personalized experience by using their own recipes in the game.
How do I use CraftingOptimizer?
If you are not new to making servers, please skip the first 3 steps.
-
Download CraftingOptimizer.
-
Drag/Upload CraftingOptimizer into your plugins folder.
-
Restart your server.
-
To create a recipe, you can run the command /co generateFile <id> to get a pre-generated recipe with all of the requirements.
-
Go into your new recipe file, and you can modify it all you would like.
Recipe File:
Recipe File (example.yml)
# This will register the recipe as craftingoptimizer:example
id: example
# This will determine if the ingredients have to go in a specific slot.
# **Shapeless recipes are not supported yet!**
shaped: true
result:
# Material must be set here. It will fail to register if it is not.
type: DIAMOND_SWORD
# This is optional, but you can set the name of the item to whatever you want!
# Hex Color Codes supported
name: "&aEmerald Sword"
# This is optional, but you can set the lore of the item to whatever you want!
# Hex Color Codes supported
lore:
- "&cForged from the gods!"
# These are optional, but you can apply any enchantments to the item.
enchantments:
sharpness: 5
unbreaking: 3
# This is optional also, this is useful for custom resource packs.
custom-model-data: 100
# These are optional, but you can hide item data with ItemFlags
item-flags:
hide_enchants: true
# Optional, this allows you to add extra abilities to the item.
attributes:
generic_attack_damage: 100
# This is the shape of the item, a 3x3 grid where you want the items to go.
# More info about this in the next instructions.
shape:
- "AAA"
- "BBB"
- "CCC"
# If you want a diamond for A, then put the letter A in the keys, then set the value to DIAMOND
keys:
A: DIAMOND
B: EMERALD
C: IRON_INGOT
Features
There are many features in CraftingOptimizer such as:
- Names
- Custom Lore
- Custom Model Data
- Attributes
- Item Flags
- Enchantments (go up to level 255)
- Hex Color Codes Support
- Easily view any recipe (/co view <recipe ID>)
Planned Features:
- ItemsAdder/Oraxen implementation
- In-Game editor
- Shapeless Recipes
- Better Plugin Customization
- Item Events
评论 0
登录后参与评分
还没有评论,来抢沙发吧