Simply Bear Traps
Simply Bear Traps 为 Minecraft 添加了功能性、动画化且可定制的熊陷阱。
将陷阱放置在地面上,用于捕捉玩家和生物。一旦触发,陷阱会闭合,造成伤害,并暂时阻止被困目标逃脱。
本模组旨在保持熊陷阱的简洁性,使其适用于普通生存玩法,同时也提供足够的自定义选项,以适配地牢地图、冒险地图、多人服务器和整合包。
功能
- 可放置的功能性熊陷阱
- 由 GeckoLib 驱动的动画 3D 模型
- 陷阱可同时捕捉玩家和生物
- 四种不同的陷阱材质:
- 铁 (Iron)
- 金 (Gold)
- 钻石 (Diamond)
- 下界合金 (Netherite)
- 不同材质具有不同的伤害量、 trapping(困住)持续时间和重置速度
- 被困玩家可以挣扎以更快逃脱
- 挣扎会造成额外伤害
- 其他玩家可以帮助释放被困玩家
- 陷阱自动重新上膛
- 专用的陷阱工具,用于交互和回收陷阱
- 回收后的陷阱保留其原有属性
- 掉落的物品可以触发陷阱
- 飞行的箭矢可以触发陷阱
- 可配置的玩家、生物和 Boss 捕捉设置
- 可染色的陷阱,支持颜色混合
- 实体类型标签 (Entity Type tags),便于整合包兼容
- 自定义进度 (Advancements)
陷阱材质
熊陷阱有四种材质可选:
铁熊陷阱 (Iron Bear Trap)
一种标准、平衡的熊陷阱。
金熊陷阱 (Gold Bear Trap)
一种速度更快的陷阱,但伤害较低,困住持续时间较短。
钻石熊陷阱 (Diamond Bear Trap)
一种更强大的陷阱,具有更高的伤害和更长的困住持续时间。
下界合金熊陷阱 (Netherite Bear Trap)
最强版本,专为危险生物和高阶玩法设计。
每种材质的具体伤害量、困住持续时间和重置持续时间均可通过配置文件进行修改。
陷阱染色
熊陷阱可以进行染色,以帮助其与周围环境更好地伪装融合。
染料颜色应用于整个陷阱模型,并直接存储在陷阱上。
选中颜色在以下情况下得以保留:
- 陷阱被放置时
- 陷阱被回收时
- 陷阱存储在物品栏中时
- 陷阱作为掉落物抛出时
颜色也可以进行混合,从而提供比标准 Minecraft 染料调色板更广泛的颜色范围。
这使得在草地、洞穴、沙漠、地牢和其他环境中伪装陷阱成为可能。
捕捉与逃脱
当玩家或生物激活陷阱时,陷阱会闭合并对目标造成伤害。
被困实体暂时无法简单地走开。
被困玩家可以挣扎以加快逃脱速度。然而,挣扎会造成额外伤害,从而在等待救援和尝试提前逃脱之间形成风险与回报的选择。
其他玩家也可以帮助释放被困玩家。
释放目标后,陷阱可以自动重置并准备好再次触发。
这些机制可以通过配置文件进行自定义。
配置
Simply Bear Traps 包含一个配置文件,面向玩家、服务器管理员、地牢创作者和整合包开发者。
大多数关键的陷阱机制都可以在不修改模组本身的情况下进行调整。
常规设置
以下行为可以配置:
自动重新上膛 (Automatic Rearming)
控制陷阱在释放目标后是否自动重新上膛。
自动重新上膛延迟 (Automatic Rearming Delay)
控制陷阱在开始自动重置过程前等待的时间长度。
触发冷却时间 (Trigger Cooldown)
控制陷阱打开后可以再次激活之前的宽限期。
挣扎逃脱加成 (Struggle Escape Bonus)
控制被困玩家在挣扎时获得的逃脱进度量。
挣扎伤害 (Struggle Damage)
控制被困玩家在挣扎时受到的伤害量。
释放迟缓持续时间 (Release Slowness Duration)
控制从陷阱逃脱后“缓慢”效果持续的时长。
释放迟缓等级 (Release Slowness Level)
控制释放后“缓慢”效果的强度。
玩家触发 (Player Triggering)
控制玩家是否可以激活熊陷阱。
生物触发 (Mob Triggering)
控制非玩家活体实体是否可以激活熊陷阱。
Boss 捕捉 (Boss Trapping)
控制被分类为 Boss 的实体是否可以被抓捕。
物品触发 (Item Triggering)
控制掉落的物品是否可以激活陷阱。
箭矢触发 (Arrow Triggering)
控制飞行的箭矢是否可以激活陷阱。
材质设置
每种陷阱材质都可以独立配置。
以下数值可以针对铁、金、钻石和下界合金陷阱进行修改:
- 伤害量 (Damage)
- 陷阱持续时间 (Trap duration)
- 重置持续时间 (Reset duration)
这允许整合包制作者调整所有四个陷阱等级的进度平衡,适用于生存世界、PvP 服务器、硬核整合包或自定义地牢。
整合包与地牢支持
Simply Bear Traps 在设计时考虑了整合包和地牢的兼容性。
提供了实体类型标签 (Entity Type tags),以便来自其他模组的实体无需修改 Simply Bear Traps 本身即可进行分类。
这对于 Boss、NPC、多部分实体、脚本实体以及其他在被 immobilized(固定/限制移动)时行为可能不正确的特殊生物特别有用。
陷阱免疫实体
以下实体类型标签可用:
beartrapmod:trap_immune
包含在此标签中的实体无论正常生物或 Boss 配置如何,都无法被熊陷阱捕捉。
向 trap_immune 添加实体
数据包可以通过提供以下内容来扩展该标签:
data/beartrapmod/tags/entity_types/trap_immune.json
示例:
{
"replace": false,
"values": [
"examplemod:example_mob",
{
"id": "examplemod:example_boss",
"required": false
}
]
}
"replace": false 会在不替换 Simply Bear Traps 已定义实体的情况下添加你的条目。
引用可选模组的实体时,建议使用 "required": false。这可以防止在引用的模组未安装时导致标签加载失败。
Boss 实体
Simply Bear Traps 还提供:
beartrapmod:bosses
包含在此标签中的实体将被陷阱系统视为 Boss。
这些实体实际上能否被捕捉由 trapBosses 配置选项控制。
添加自定义 Boss
创建文件:
data/beartrapmod/tags/entity_types/bosses.json
示例:
{
"replace": false,
"values": [
{
"id": "examplemod:example_boss",
"required": false
}
]
}
实体现在将被 Simply Bear Traps 视为 Boss。
如果配置中禁用了 Boss 陷阱功能,则该实体无法被捕获。
如果启用了 Boss 陷阱功能,除非该实体同时被加入以下标签:
beartrapmod:trap_immune
否则它可以被捕获。
标签优先级
实体陷阱遵循以下优先级:
beartrapmod:trap_immune
→ 该实体永远无法被捕获。
beartrapmod:bosses
→ 该实体遵循 trapBosses 配置项的设置。
其他活体实体
→ 它们遵循正常的玩家或生物配置。
这使得整合包制作者可以通过数据包为来自其他模组的实体添加兼容性,而无需修改 Simply Bear Traps 本身。
进度
Simply Bear Traps 包含与使用熊陷阱及与其互动相关的自定义进度。
部分进度奖励成功捕获猎物,而其他进度则涉及在陷阱中挣扎所带来的更危险后果。
要求
Minecraft: 1.20.1
加载器: Forge
必需依赖: GeckoLib
请确保已安装适用于 Minecraft 1.20.1 的 GeckoLib 版本。
兼容性
某些模组实体使用自定义移动系统、多部分身体结构、传送机制、Boss 阶段或其他特殊机制,在被捕获时可能表现异常。
如果遇到此类实体,可以将其从陷阱系统中排除,方法是将其添加到以下标签中:
beartrapmod:trap_immune
这可以通过数据包完成,而无需修改 Simply Bear Traps 本身。
反馈与错误报告
这是 Simply Bear Traps 的首次发布。
欢迎提交错误报告、兼容性报告、平衡性反馈以及功能建议。
在报告与其他模组的不兼容问题时,请尽可能提供受影响模组的名称及对应的实体信息。
允许用于整合包。欢迎将 Simply Bear Traps 包含在你的整合包中。
Simply Bear Traps
Simply Bear Traps adds functional, animated, and customizable bear traps to Minecraft.
Place traps on the ground and use them to catch players and mobs. Once triggered, a trap snaps shut, deals damage, and temporarily prevents the trapped target from escaping.
The mod is designed to keep bear traps simple and useful for normal survival gameplay while also providing enough customization for dungeons, adventure maps, multiplayer servers, and modpacks.
Features
Functional placeable bear traps
Animated 3D models powered by GeckoLib
Traps can catch both players and mobs
Four different trap materials:
Iron
Gold
Diamond
Netherite
Different damage, trapping duration, and reset speed depending on the material
Trapped players can struggle to escape faster
Struggling causes additional damage
Other players can help release a trapped player
Automatic trap rearming
Dedicated trap tool for interacting with and recovering traps
Traps retain their properties when recovered
Dropped items can trigger traps
Moving arrows can trigger traps
Configurable player, mob, and boss trapping
Dyeable traps with color mixing
Entity Type tags for modpack compatibility
Custom advancements
Trap Materials
Bear traps are available in four materials:
Iron Bear Trap
A standard, balanced bear trap.
Gold Bear Trap
A faster trap with lower damage and a shorter trapping duration.
Diamond Bear Trap
A stronger trap with increased damage and trapping duration.
Netherite Bear Trap
The strongest version, designed for dangerous mobs and high-level gameplay.
The exact damage, trapping duration, and reset duration of every material can be changed through the configuration file.
Trap Dyeing
Bear traps can be dyed to help camouflage them with their surroundings.
Dye colors are applied to the entire trap model and are stored directly on the trap.
The selected color is preserved when:
The trap is placed
The trap is recovered
The trap is stored in an inventory
The trap is dropped as an item
Colors can also be mixed, allowing a much wider range of colors than the standard Minecraft dye palette.
This makes it possible to camouflage traps in grass, caves, deserts, dungeons, and other environments.
Trapping and Escaping
When a player or mob activates a trap, the trap closes and deals damage to the target.
The trapped entity is temporarily prevented from simply walking away.
Players can struggle while trapped to escape faster. However, struggling causes additional damage, creating a risk/reward choice between waiting for release and attempting to escape early.
Other players can also help release a trapped player.
After releasing its target, a trap can automatically reset itself and become ready to trigger again.
These mechanics can be customized through the configuration file.
Configuration
Simply Bear Traps includes a configuration file intended for players, server owners, dungeon creators, and modpack developers.
Most important trap mechanics can be adjusted without modifying the mod itself.
General Settings
The following behavior can be configured:
Automatic Rearming
Controls whether traps automatically rearm after releasing a target.
Automatic Rearming Delay
Controls how long a trap waits before beginning the automatic reset process.
Trigger Cooldown
Controls the grace period after a trap opens before it can activate again.
Struggle Escape Bonus
Controls how much escape progress a trapped player gains when struggling.
Struggle Damage
Controls how much damage a trapped player receives when struggling.
Release Slowness Duration
Controls how long the Slowness effect lasts after escaping from a trap.
Release Slowness Level
Controls the strength of the Slowness effect after release.
Player Triggering
Controls whether players can activate bear traps.
Mob Triggering
Controls whether non-player living entities can activate bear traps.
Boss Trapping
Controls whether entities classified as bosses can be caught.
Item Triggering
Controls whether dropped items can activate traps.
Arrow Triggering
Controls whether moving arrows can activate traps.
Material Settings
Each trap material can be configured independently.
The following values can be changed for Iron, Gold, Diamond, and Netherite traps:
Damage
Trap duration
Reset duration
This allows modpack creators to rebalance the progression of all four trap tiers for survival worlds, PvP servers, hardcore modpacks, or custom dungeons.
Modpack & Dungeon Support
Simply Bear Traps is designed with modpack and dungeon compatibility in mind.
Entity Type tags are provided so entities from other mods can be classified without modifying Simply Bear Traps itself.
This is especially useful for bosses, NPCs, multipart entities, scripted entities, and other special mobs that may not behave correctly when immobilized.
Trap Immune Entities
The following Entity Type tag is available:
beartrapmod:trap_immune
Entities contained in this tag cannot be caught by bear traps, regardless of the normal mob or boss configuration.
Adding an Entity to trap_immune
A datapack can extend the tag by providing:
data/beartrapmod/tags/entity_types/trap_immune.json
Example:
{
"replace": false,
"values": [
"examplemod:example_mob",
{
"id": "examplemod:example_boss",
"required": false
}
]
}
"replace": false adds your entries without replacing entities already defined by Simply Bear Traps.
When referencing entities from optional mods, using "required": false is recommended. This prevents the tag from failing to load when the referenced mod is not installed.
Boss Entities
Simply Bear Traps also provides:
beartrapmod:bosses
Entities contained in this tag are treated as bosses by the trap system.
Whether these entities can actually be caught is controlled by the trapBosses configuration option.
Adding a Custom Boss
Create:
data/beartrapmod/tags/entity_types/bosses.json
Example:
{
"replace": false,
"values": [
{
"id": "examplemod:example_boss",
"required": false
}
]
}
The entity will now be treated as a boss by Simply Bear Traps.
If boss trapping is disabled in the configuration, it cannot be caught.
If boss trapping is enabled, it can be caught unless it is also included in:
beartrapmod:trap_immune
Tag Priority
Entity trapping follows this priority:
beartrapmod:trap_immune
→ The entity can never be caught.
beartrapmod:bosses
→ The entity follows the trapBosses configuration.
Other living entities
→ They follow the normal player or mob configuration.
This allows modpack creators to add compatibility for entities from other mods through datapacks without requiring changes to Simply Bear Traps itself.
Advancements
Simply Bear Traps includes custom advancements related to using and interacting with bear traps.
Some advancements reward successfully catching prey, while others involve the more dangerous consequences of struggling inside a trap.
Requirements
Minecraft: 1.20.1
Mod Loader: Forge
Required Dependency: GeckoLib
Make sure the appropriate Minecraft 1.20.1 version of GeckoLib is installed.
Compatibility
Some modded entities use custom movement systems, multipart bodies, teleportation, boss phases, or other special mechanics and may not behave correctly when trapped.
If you encounter such an entity, it can be excluded from the trapping system by adding it to:
beartrapmod:trap_immune
This can be done through a datapack without modifying Simply Bear Traps itself.
Feedback & Bug Reports
This is the first release of Simply Bear Traps.
Bug reports, compatibility reports, balancing feedback, and feature suggestions are welcome.
When reporting an incompatibility with another mod, please include the name of the mod and the affected entity if possible.
Modpack usage is allowed. Feel free to include Simply Bear Traps in your modpack.
评论 0
登录后参与评分
还没有评论,来抢沙发吧