? Just Another Survival Debug Stick
一款轻量级的服务端 Fabric 模组,允许生存模式玩家制作并使用调试棒(Debug Stick),支持高度自定义。
? 概述
Just Another Survival Debug Stick 模组允许生存模式下的玩家像创造模式一样制作并使用调试棒。
它恢复了方块状态编辑的全部功能——现在无需作弊或操作员权限即可访问。
本项目深受 Just_S's Survival Debug Stick (SDS) 模组的启发,但从头重写,旨在保持简洁并与现代版本保持同步。
? 展示
默认情况下(未配置时),它可以与所有方块和属性配合使用。可以通过模组的配置系统轻松自定义支持的方块和属性。
chests 属性编辑展示:

编辑黑名单中的 waterlogged 属性和非白名单中的 black_bed 方块展示。
有关如何配置白名单和黑名单的方法,请参阅下方的「配置」部分:

⚙️ 配置
该模组允许你配置方块和属性的白名单与黑名单,以及调试棒的使用间隔和切换间隔。
配置文件包含位于默认配置文件夹内 jasds 文件夹中的 config.json、whitelist.json 和 blacklist.json。
config.json 示例:
{
"propertySwapCooldown": 20, // 在不同属性之间切换的冷却时间
"useCooldown": 15, // 在方块上使用调试棒的冷却时间
"whitelistEnabled": false, // 启用方块和属性白名单
"blacklistEnabled": false // 启用方块和属性黑名单
}
whitelist.json 和 blacklist.json 示例:
{
/*
所有方块格式应为 registry:blockid。例如,默认的 Minecraft 泥土方块为 "minecraft:dirt"
非空方块部分示例:
"blocks": ["minecraft:oak_leaves", "minecraft:furnace"]
你可以通过用调试棒点击方块来获取属性名称。例如,默认的 Minecraft 熔炉点亮属性为 "lit"
非空属性部分示例:
"properties": ["lit", "waterlogged"]
*/
"blocks": [],
"properties": []
}
⌨️ 命令
/jasds reload – 重新加载所有模组配置文件(config.json、whitelist.json、blacklist.json)。
/jasds whitelist list/enable/disable – 显示、启用或禁用方块和属性的白名单。
/jasds blacklist list/enable/disable – 显示、启用或禁用方块和属性的黑名单。
/jasds cooldowns use get/set – 获取或设置使用调试棒的冷却时间(以刻为单位)。
/jasds cooldowns swap get/set – 获取或设置使用调试棒切换方块属性的冷却时间(以刻为单位)。
? 合成配方
该模组使用以下无形状合成配方。

你可以通过更改模组编译后的 JSON 来轻松编辑合成配方,或者在源代码中更改并重新编译:
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
"minecraft:amethyst_shard",
"minecraft:netherite_scrap",
"minecraft:diamond",
"minecraft:stick"
],
"result": {
"id": "minecraft:debug_stick",
"count": 1
},
"group": "stuff"
}
? Just Another Survival Debug Stick
A lightweight server-side Fabric mod that enables survival players to craft and use the Debug Stick with high customization.
? Overview
The Just Another Survival Debug Stick mod allows players in survival mode to craft and use the Debug Stick just like in Creative mode.
It brings back the full power of block state editing — now accessible without cheats or operator permissions.
This project is heavily inspired by Just_S's Survival Debug Stick (SDS) mod but rewritten from scratch to be simple and up-to-date with modern versions.
? Showcase
By default, (when not configured) it works with every block and property. Blocks & properties can be easily customized with the mod's config system.
Showcase of chest properties editing:

Showcase of editing blacklisted waterlogged property and non-whitelisted black_bed block.
How to configure whitelist & blacklist is located below, in the «Configuration» section:

⚙️ Configuration
The mod allows you to configure whitelist and blacklist for both blocks and properties, as well as debug stick usage and swapping cooldown.
Config contains: config.json, whitelist.json and blacklist.json located in the jasds folder inside the default config folder.
Example config.json:
{
"propertySwapCooldown": 20, // cooldown for swapping between different properties
"useCooldown": 15, // cooldown for using debug stick on a block
"whitelistEnabled": false, // enables blocks & properties whitelist
"blacklistEnabled": false // enables blocks & properties blacklist
}
Example whitelist.json and blacklist.json:
{
/*
All block formats should look like registry:blockid. For example, the default Minecraft dirt block will be "minecraft:dirt"
Example non-empty blocks section:
"blocks": ["minecraft:oak_leaves", "minecraft:furnace"]
Property names you can get by clicking with the debug stick on a block. For example, the default Minecraft furnace lit property will be "lit"
Example non-empty properties section:
"properties": ["lit", "waterlogged"]
*/
"blocks": [],
"properties": []
}
⌨️ Commands
/jasds reload – Reloads all mod configuration files (config.json, whitelist.json, blacklist.json).
/jasds whitelist list/enable/disable – Displays, enables, or disables the whitelist for blocks and properties.
/jasds blacklist list/enable/disable – Displays, enables, or disables the blacklist for blocks and properties.
/jasds cooldowns use get/set – Gets or sets the cooldown (in ticks) for using the debug stick.
/jasds cooldowns swap get/set – Gets or sets the cooldown (in ticks) for swapping block properties with the debug stick.
? Crafting Recipe
The mod uses a shapeless recipe provided below.

You can easily edit the craft by changing it in the mod's compiled JSON or change it in the source and compile it:
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
"minecraft:amethyst_shard",
"minecraft:netherite_scrap",
"minecraft:diamond",
"minecraft:stick"
],
"result": {
"id": "minecraft:debug_stick",
"count": 1
},
"group": "stuff"
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧