Just Trial Spawners
Minecraft 1.21 的试炼刷怪笼和宝库在 Forge 1.20.1 上的完整功能移植版。 将试炼刷怪笼、宝库、旋风人、沼泽骷髅、风弹、不祥模式、试炼主题的生物效果以及战锤附魔带入你的 1.20.1 世界。本模组不会添加任何世界生成内容,主要面向整合包制作者。
为什么还需要另一个试炼密室移植版?
Just Trial Spawners 旨在成为一款生产就绪、适合整合包使用的移植版,忠实还原 1.21 的行为。它包含了完整的状态机、所有生物效果、所有附魔以及不祥物品生成系统。
功能特性
试炼刷怪笼
对 1.21 试炼刷怪笼的完整复刻,包含完整状态机:
- 检测玩家:在可配置范围内检测玩家
- 波浪式刷怪:按波浪形式生成怪物,支持针对每个玩家的难度缩放
- 完成奖励投放:完成后掉落消耗品和钥匙
- 转换为不祥模式:当带有“灾厄”效果的玩家靠近时激活
- 不祥物品生成系统:在战斗期间定期在玩家/生物上方掉落物品
- 右键点击刷怪蛋:设置下一次生成的怪物类型
- 自定义物品渲染器:在手部和 GUI 中显示旋转的生物预览
- 工具提示:显示当前配置的怪物
宝库
- 试炼钥匙 / 不祥试炼钥匙 激活
- 每位玩家的奖励追踪 — 每位玩家每座宝库只能获得一次奖励
- 不祥宝库变体:拥有升级后的战利品
- 透明纹理的正确裁剪渲染
生物
- 旋风人 (Breeze) — 空中生物,具备真实的 1.21 AI:长跳、滑行、发射风弹、卡住检测
- 沼泽骷髅 (Bogged) — 骷髅变种,会射击毒箭;可通过数据包可配置的战利品表进行剪毛获取蘑菇
- 风弹 / 旋风人的风弹 — 投射物实体,具备真实的 1.21 击退物理效果(视线高度方向向量、视线距离衰减)
物品
- 试炼钥匙 / 不祥试炼钥匙
- 旋风棒 (Breeze Rod) — 由旋风人掉落,用于合成风弹
- 风弹 — 可投掷的投射物,产生风爆爆炸并触发红石组件(按钮、拉杆、陷阱门、门、栅栏门)
- 不祥瓶 (Ominous Bottle) — 带有增益等级系统(I-V级);更高等级的增益提供更长的“灾厄”持续时间(最长可达 10 分钟)
- 旋风人 / 沼泽骷髅 刷怪蛋
生物效果(均带有自定义纹理)
- 试炼预兆 (Trial Omen) — 在试炼刷怪笼处由“灾厄”转换而来;激活不祥模式
- 充能之风 (Wind Charged) — 死亡时产生风爆爆炸
- 编织 (Weaving) — 死亡时在实体周围生成蛛网
- 黏稠 (Oozing) — 死亡时生成史莱姆
- 寄生 (Infested) — 受到攻击时有几率生成蠹虫
附魔
- 密度 (Density) (I-V级) — 每级增加 1 点伤害;与锋利/亡灵杀手/节肢杀手不兼容
- 穿透 (Breach) (I-IV级) — 通过伤害倍率绕过护甲效果
- 风爆 (Wind Burst) (I-III级) — 命中时触发风爆爆炸(仅限宝藏附魔)
创造模式标签页
Just Trial Spawners 的创造模式标签页包含:
- 所有方块、物品和实体
- 为 36+ 种敌对生物预配置的试炼刷怪笼(僵尸、骷髅、苦力怕、蜘蛛、洞穴蜘蛛、末影人、女巫、史莱姆、岩浆怪、烈焰人、恶魂、凋灵骷髅、流浪者、尸壳、溺尸、僵尸村民、幻翼、掠夺者、卫道士、唤魔者、劫掠兽、恼鬼、守卫者、远古守卫者、潜影贝、疣猪兽、疣猪兽变种、猪灵蛮兵、猪灵、僵尸猪灵、末影螨、蠹虫、监守者、旋风人、沼泽骷髅、凋灵)
- 不祥瓶的所有 5 种增益等级变体
命令
仅管理员可用的命令,用于配置试炼刷怪笼:
/trialspawner edit - 使用 GUI 编辑手持的试炼刷怪笼
/trialspawner edit <pos> - 编辑已放置的试炼刷怪笼
/trialspawner give <entity> [total] [sim] [tb] - 给予一个预配置的刷怪笼物品
/trialspawner addmob <pos> <entity> [weight] - 向已放置的刷怪笼添加生物
/trialspawner setconfig <pos> <key> <value> - 设置配置值
/trialspawner info <pos> - 显示当前配置
/trialspawner clearmobs <pos> - 清除所有生成潜力
配置
位于 config/justtrialspawners-server.toml 的服务端配置文件:
[trial_spawner]
# 试炼刷怪笼完成后的冷却时间(以刻为单位)(默认 36000 = 30 分钟)
cooldown_ticks = 36000
# 玩家检测范围(以区块为单位)
detection_range = 14
# 刷怪笼周围的怪物生成范围
spawn_range = 4
# 启用不祥试炼刷怪笼模式(由“灾厄”触发)
ominous_enabled = true
[wind_charge]
# 风弹击退强度的乘数
knockback_multiplier = 1.0
许可证
本模组遵循 MIT 许可证 发布。您可以自由地在任何整合包(无论公开或私有)中使用 Just Trial Spawners,无需获得许可。
致谢
- Mojang —— 提供原始的 1.21 试炼密室功能
- Breakin Blocks —— 开发与移植适配
- FTB Team —— FTB Library(NBT 编辑器集成)
- Architectury API Team —— Architectury API
源码 & 问题反馈
发现 Bug?希望参与贡献?请访问 GitHub 仓库。
Just Trial Spawners
A full-featured Forge 1.20.1 backport of Minecraft 1.21's Trial Spawner and Vault. Brings trial spawners, vaults, breeze, bogged, wind charges, ominous mode, trial-themed mob effects, and mace enchantments to your 1.20.1 world. This does NOT add any worldgen, it is primarily directed at packmakers.
Why Another Trial Chamber Backport?
Just Trial Spawners was built to be a production-ready, modpack-friendly backport with faithful 1.21 behavior. It includes the full state machine, all the mob effects, all the enchantments and the ominous item spawner system.
Features
Trial Spawner
A complete recreation of 1.21's trial spawner with the full state machine:
- Detects players within a configurable range
- Spawns mobs in waves with per-player scaling
- Ejects rewards on completion (consumables + keys)
- Transforms into ominous mode when a player with Bad Omen approaches
- Ominous item spawner system — periodically drops items above players/mobs during the fight
- Right-click with a spawn egg to set the next spawn mob type
- Custom item renderer shows a spinning mob preview in your hand and in GUIs
- Tooltip displays the currently configured mob
Vault
- Trial Key / Ominous Trial Key activation
- Per-player reward tracking — each player gets one reward per vault
- Ominous vault variant with upgraded loot
- Proper cutout rendering for transparent textures
Mobs
- Breeze — Aerial mob with authentic 1.21 AI: long jump, slide, shoot wind charges, stuck detection
- Bogged — Skeleton variant that shoots poison arrows; shearable for mushrooms via datapack-configurable loot table
- Wind Charge / Breeze Wind Charge — Projectile entities with authentic 1.21 knockback physics (eye-height direction vectors, line-of-sight falloff)
Items
- Trial Key / Ominous Trial Key
- Breeze Rod — Dropped by breezes, crafts into wind charges
- Wind Charge — Throwable projectile that creates a wind burst explosion and triggers redstone components (buttons, levers, trapdoors, doors, fence gates)
- Ominous Bottle — With amplifier system (I-V); higher amplifiers grant longer Bad Omen duration (up to 10 minutes)
- Breeze / Bogged Spawn Eggs
Mob Effects (all with custom textures)
- Trial Omen — Converted from Bad Omen at trial spawners; activates ominous mode
- Wind Charged — Creates a wind burst explosion on death
- Weaving — Spawns cobwebs around the entity on death
- Oozing — Spawns slimes on death
- Infested — Chance to spawn silverfish when hit
Enchantments
- Density (I-V) — +1 damage per level; incompatible with Sharpness/Smite/Bane
- Breach (I-IV) — Bypasses armor effectiveness via damage multiplier
- Wind Burst (I-III) — Triggers a wind burst explosion on hit (treasure-only enchantment)
Creative Tab
The Just Trial Spawners creative tab includes:
- All blocks, items, and entities
- Pre-configured trial spawners for 36+ hostile mobs (zombie, skeleton, creeper, spider, cave_spider, enderman, witch, slime, magma_cube, blaze, ghast, wither_skeleton, stray, husk, drowned, zombie_villager, phantom, pillager, vindicator, evoker, ravager, vex, guardian, elder_guardian, shulker, hoglin, zoglin, piglin_brute, piglin, zombified_piglin, endermite, silverfish, warden, breeze, bogged, wither)
- All 5 amplifier variants of the Ominous Bottle
Commands
Admin-only commands for configuring trial spawners:
/trialspawner edit - Edit held trial spawner using a GUI
/trialspawner edit <pos> - Edit a placed trial spawner
/trialspawner give <entity> [total] [sim] [tb] - Give a pre-configured spawner item
/trialspawner addmob <pos> <entity> [weight] - Add a mob to a placed spawner
/trialspawner setconfig <pos> <key> <value> - Set a config value
/trialspawner info <pos> - Show current configuration
/trialspawner clearmobs <pos> - Clear all spawn potentials
Configuration
Server-side config located at config/justtrialspawners-server.toml:
[trial_spawner]
# Cooldown in ticks after trial spawner completes (default 36000 = 30 minutes)
cooldown_ticks = 36000
# Player detection range in blocks
detection_range = 14
# Mob spawn range around the spawner
spawn_range = 4
# Enable ominous trial spawner mode (triggered by Bad Omen)
ominous_enabled = true
[wind_charge]
# Multiplier for wind charge knockback strength
knockback_multiplier = 1.0
License
Released under the MIT License. You are free to use Just Trial Spawners in any modpack, private or public, without permission.
Credits
- Mojang — for the original 1.21 Trial Chamber features
- Breakin Blocks — development and backport
- FTB Team — FTB Library (NBT editor integration)
- Architectury API Team — Architectury API
Source & Issues
Found a bug? Want to contribute? Visit the GitHub repository.
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Trial Spawners
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
发布扩展 'publishMods' 属性 'version'
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧