Releases: NMB-Court-Team/DontDoIt
Releases · NMB-Court-Team/DontDoIt
DontDoIt-1.21.8-1.0.4
DontDoIt-1.21.8-1.0.3
新内容
- 新增触发词条
open_inventory,当玩家打开特定类型的库存(如工作台、附魔台、箱子等)时触发,并可检测玩家主手物品。
更改
- 将部分原属于
interact_block_with_item的词条迁移至open_inventory,以提升检测准确度,如果你不是第一次使用此插件,请确保旧的criteria.yml配置文件被删除以适应新更改。
(interact_block_with_item使用PlayerInteractEvent进行检测,可能会出现误判,而open_inventory改用InventoryOpenEvent。)
修复
- 修复
transfer_item未正确校验目标容器类型与target_inventory是否匹配的问题。 - 修复离线玩家退队时的校验逻辑,并强制重置 guess 模块的冷却计时器。
- 修复
InteractBlockWithItemCriteria在未实际交互时也会被触发的问题。
特别感谢 LittleSadSheep 修复相关问题并提交 PR! 💖
New Features
- Added a new criteria type
open_inventory, which activates when a player opens a specific type of inventory (such as a crafting table, enchanting table, or chest), and supports checking the item held in the main hand.
Changes
- Moved certain entries originally under
interact_block_with_itemtoopen_inventoryto improve detection accuracy, if this is not the first time you’ve run this on your server, make sure to delete the oldcriteria.ymlfile to fit the new changes.
(interact_block_with_itemrelied onPlayerInteractEvent, which could cause false triggers, whileopen_inventorynow usesInventoryOpenEvent.)
Fixes
- Fixed an issue where
transfer_itemdid not correctly verify whether the target container type matchedtarget_inventory. - Fixed validation when offline players leave a team and enforced cooldown reset for the guess module.
- Fixed an issue where
InteractBlockWithItemCriteriacould be triggered even without an actual interaction.
Special thanks to LittleSadSheep for the fix and pull request! 💖
DontDoIt-1.21.8-1.0.2
新内容
- 为游戏设置添加了“是否启用无限夜视”项,启用后所有玩家获得持续时间无限的夜视效果
更改
- 降低了rotation词条(视角旋转角度)的权重
- 微调部分词条的难度和数值
修复
- 修复基岩层生成高度偏低的问题
New Features
- Added a new option in game settings: "Infinite Night Vision Enabled". When enabled, all players receive a night vision effect with infinite duration.
Changes
- Reduced the weight of the rotation criteria (view rotation angle).
- Fine-tuned the difficulty and values of certain criteria.
Fixes
- Fixed an issue where the bedrock layer was generated at an incorrect (too low) height.
DontDoIt-1.21.8-1.0.1
对比数据包版本的最新版的更新:
新内容
- 添加了猜词条玩法。
- 重新加入了仓检机制,它可以调整词条出现概率。
- 基于对话框API,添加了可在游戏内动态调整的游戏设置。
- 将编辑自定义词条的界面从书本GUI改成了对话框GUI。
- 钻石行为现在会根据其他队伍的剩余血量自动判断是否要生效。
- 现在钻石进入背包在正常触发钻石行为的同时不会被清除。
- 添加了大量新词条。
- 现在可以通过修改插件文件夹中的
criteria.yml文件来定制词条。
修复
- 修复自定义词条名称中间包含空格时会导致词条无法切换的问题。
Updates compare to latest datapack version:
New Features
- Added the Guess Criteria gameplay mode.
- Reintroduced the Inventory Inspection mechanism, which can adjust the appearance probability of criteria.
- Added in-game adjustable settings based on the dialog API.
- Changed the custom criteria editing interface from a book GUI to a dialog GUI.
- Diamond behavior now automatically determines whether to activate based on the remaining health of other teams.
- Diamonds entering a player’s inventory will now trigger diamond behavior normally without being removed.
- Added a large number of new criteria.
- Criteria can now be customized by editing the
criteria.ymlfile in the plugin folder.
Fixes
- Fixed an issue where custom criteria names containing spaces caused criteria switching to fail.