DeepSea
DeepSea 是一款 Fabric 模组,为海洋生物群系中的船只添加了可配置的行为。默认情况下,所有已加载的船只每 100 刻(5 秒)会定期检查一次,那些位于配置的海洋生物群系(#deepsea:ocean)中且带有 #deepsea:boat 标签的船体会被破坏并掉落物品。
兼容性
- 必需: Fabric API
- 旨在配合使用:
默认情况下,
#deepsea:boat标签仅包含#c:boats,而#deepsea:ocean仅包含#c:is_ocean。
安装
- 将 DeepSea
.jar文件放入你的mods文件夹。 - 启动服务器或进入世界——模组立即生效。
这是一个仅服务端模组。客户端无需安装。
自定义
要添加/移除船只类型,只需为标签文件创建一个数据包:
data/deepsea/tags/entity_type/boat.json
{
"values": [
"#c:boats"
]
}
要添加/移除生物群系,只需为标签文件创建一个数据包:
data/deepsea/tags/worldgen/biome/ocean.json
{
"values": [
{
"id": "#c:is_ocean",
"required": false
}
]
}
文档
- enabled:
启用或禁用该模组。
类型:boolean默认值:true - tick_interval:
检查船只的时间间隔(以刻为单位)。
类型:integer默认值:100 - boat_damage:
应用于海洋生物群系中船只的伤害数值。
类型:float默认值:100.0 - discard_boat:
如果为 true,海洋生物群系中的船会被直接丢弃而不掉落船的物品;如果为 false,船会受伤、破碎并掉落船的物品。
类型:boolean默认值:false - cache:
生物群系查找缓存的配置。
类型:object默认值:见下方- cache_size:
在刷新之前要缓存的最大生物群系查找结果数量(例如,“此位置是否在海洋中?”)。
类型:integer默认值:500 - cache_time:
缓存的生物群系结果在刷新前保留的时间长度(以分钟为单位)。
类型:integer默认值:240
- cache_size:
- sound:
当船只受损或销毁时播放音效的配置。
类型:object默认值:见下方- play_sound:
是否在船只受损或销毁时播放音效。
类型:boolean默认值:true - volume:
船只受损或销毁时播放音效的音量。
类型:float默认值:1.0 - pitch:
船只受损或销毁时播放音效的音调。
类型:float默认值:1.0
- play_sound:
完整配置示例:
{
"enabled": true,
"tick_interval": 100,
"boat_damage": 100.0,
"discard_boat": false,
"cache": {
"cache_size": 500,
"cache_time": 240
},
"sound": {
"play_sound": true,
"volume": 1.0,
"pitch": 1.0
}
}
DeepSea
DeepSea is a Fabric mod that adds configurable boat behavior in ocean biomes. All loaded boats are periodically checked every 100 ticks (5 seconds ) by default, and those in the configured ocean biomes (#deepsea:ocean) and tagged with #deepsea:boat will be broken and dropped.
Compatibility
- Required: Fabric API
- Made to Work With:
By default, only
#c:boatsis included in the#deepsea:boattag and#c:is_oceanin the#deepsea:ocean.
Installation
- Drop the DeepSea
.jarinto yourmodsfolder. - Start the server or load into a world — the mod is active immediately.
This is a server-side only mod. Clients do not need to install it.
Customization
To include/remove boats just create a datapack for the tag file:
data/deepsea/tags/entity_type/boat.json
{
"values": [
"#c:boats"
]
}
To include/remove biomes just create a datapack for the tag file:
data/deepsea/tags/worldgen/biome/ocean.json
{
"values": [
{
"id": "#c:is_ocean",
"required": false
}
]
}
Documentation
- enabled:
Enables or disables the mod.
Type:booleanDefault:true - tick_interval:
The interval in ticks between checks for boats.
Type:integerDefault:100 - boat_damage:
The damage amount applied to boats in ocean biomes.
Type:floatDefault:100.0 - discard_boat:
If true, boats in ocean biomes are discarded without dropping the boat item, if false, boats take damage, break and drop the boat item.
Type:booleanDefault:false - cache:
Configuration for biome lookup caching.
Type:objectDefault: see below- cache_size:
The maximum number of biome lookup results (e.g., "is this position in an ocean?") to cache before being refreshed.
Type:integerDefault:500 - cache_time:
The duration in minutes that cached biome results are kept before being refreshed.
Type:integerDefault:240
- cache_size:
- sound:
Configuration for sound effects when boats are damaged or destroyed.
Type:objectDefault: see below- play_sound:
Whether to play a sound effect when a boat is damaged or destroyed.
Type:booleanDefault:true - volume:
The volume of the sound effect played when a boat is damaged or destroyed.
Type:floatDefault:1.0 - pitch:
The pitch of the sound effect played when a boat is damaged or destroyed.
Type:floatDefault:1.0
- play_sound:
Full Configuration Example:
{
"enabled": true,
"tick_interval": 100,
"boat_damage": 100.0,
"discard_boat": false,
"cache": {
"cache_size": 500,
"cache_time": 240
},
"sound": {
"play_sound": true,
"volume": 1.0,
"pitch": 1.0
}
}
下载 Deep Sea
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Deep Sea
下载 Deep Sea
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Deep Sea
下载 Deep Sea
下载 Deep Sea
下载 Deep Sea
下载 Deep Sea
下载 Deep Sea
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Deep Sea
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧