可配置精准采集
Configurable Silk Touch 是一款轻量级的 NeoForge 1.21.1 模组,允许你决定哪些方块可以通过精准采集获取。
默认情况下,该模组使以下方块可通过精准采集获取:
minecraft:spawner
minecraft:budding_amethyst
工作原理
模组会在服务端检查方块的掉落物。当使用带有精准采集的工具破坏已配置的方块时,该方块会掉落自身物品。
在以下情况下,普通方块掉落逻辑保持不变:
- 该方块不在配置列表中
- 工具没有精准采集附魔
- 该方块原本就会正常掉落自身
- 该方块没有对应的物品形式
JSON 配置
首次启动时,模组会创建:
config/configurable_silk_touch.json
默认配置:
[
"minecraft:spawner",
"minecraft:budding_amethyst"
]
使用标准的 namespace:id 格式添加任意方块 ID。
示例
[
"minecraft:spawner",
"minecraft:budding_amethyst",
"minecraft:reinforced_deepslate"
]
功能特性
- 使配置的方块在使用精准采集时掉落自身
- 使用简单的方块 ID JSON 数组
- 默认包含刷怪笼和紫晶芽
- 支持原版和模组的方块 ID
- 配置文件更改时自动重新加载 JSON
- 保持非精准采集的常规掉落行为不变
注意事项
本模组旨在为服务器管理员、整合包制作者以及希望在不添加新物品、命令或游戏系统的情况下,精确控制哪些方块可以通过精准采集收集的玩家提供便利。
Configurable Silk Touch
Configurable Silk Touch is a lightweight NeoForge 1.21.1 mod that lets you decide which blocks should become obtainable with Silk Touch.
By default, the mod makes these blocks Silk Touch obtainable:
minecraft:spawner
minecraft:budding_amethyst
How It Works
The mod checks block drops on the server. When a configured block is broken with a tool that has Silk Touch, the block drops itself as an item.
Normal block loot is left alone when:
- The block is not in the config
- The tool does not have Silk Touch
- The block already drops itself normally
- The block has no item form
JSON Configuration
On first launch, the mod creates:
config/configurable_silk_touch.json
Default config:
[
"minecraft:spawner",
"minecraft:budding_amethyst"
]
Add any block id using the standard namespace:id format.
Example
[
"minecraft:spawner",
"minecraft:budding_amethyst",
"minecraft:reinforced_deepslate"
]
Features
- Makes configured blocks drop themselves with Silk Touch
- Uses a simple JSON array of block ids
- Includes spawners and budding amethyst by default
- Supports vanilla and modded block ids
- Reloads the JSON file when it changes
- Keeps regular non-Silk Touch loot behavior unchanged
Notes
This mod is intended for server owners, modpack makers, and players who want precise control over which blocks can be collected with Silk Touch without adding new items, commands, or gameplay systems.
评论 0
登录后参与评分
还没有评论,来抢沙发吧