Language

Deep Sea

Deep Sea

Modrinth

Changes boat navigation on ocean regions

3.4k downloads 17 followers updated 2mo ago
latest v3.1.3 Modrinth
Fabric 1.21 – 26.1.2 AdventureGame-mechanicsUtility

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

By default, only #c:boats is included in the #deepsea:boat tag and #c:is_ocean in the #deepsea:ocean.

Installation

  1. Drop the DeepSea .jar into your mods folder.
  2. 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: boolean Default: true
  • tick_interval:

    The interval in ticks between checks for boats.

    Type: integer Default: 100
  • boat_damage:

    The damage amount applied to boats in ocean biomes.

    Type: float Default: 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: boolean Default: false
  • cache:

    Configuration for biome lookup caching.

    Type: object Default: 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: integer Default: 500
    • cache_time:

      The duration in minutes that cached biome results are kept before being refreshed.

      Type: integer Default: 240
  • sound:

    Configuration for sound effects when boats are damaged or destroyed.

    Type: object Default: see below
    • play_sound:

      Whether to play a sound effect when a boat is damaged or destroyed.

      Type: boolean Default: true
    • volume:

      The volume of the sound effect played when a boat is damaged or destroyed.

      Type: float Default: 1.0
    • pitch:

      The pitch of the sound effect played when a boat is damaged or destroyed.

      Type: float Default: 1.0

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
  }
}

Versions

Release
3.1.3
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
251
Release
3.1.3
fabric · 1.21.11 · 5mo ago
682
Release
3.1.3
fabric · 1.21.9, 1.21.10 · 5mo ago
154
Release
3.1.3
fabric · 1.21.2, 1.21.3, 1.21.4 · 5mo ago
146
Release
3.1.3
fabric · 1.21, 1.21.1 · 5mo ago
- Biome datagen localization fix.
285
Release
3.1.2
fabric · 1.21, 1.21.1 · 6mo ago
- Build and mixin changes.
38
Release
3.1.0
fabric · 1.21, 1.21.1 · 6mo ago
- Performance and stability fixes.
13
Release
3.0.1
fabric · 1.21, 1.21.1 · 6mo ago
- Fixed mixin typo.
85
Release
3.0.0
fabric · 1.21, 1.21.1 · 6mo ago
- Fixed build script cache config. - Migration to official mappings. - Added `#deepsea:ocean` biome tag. - Added sound effects. - Added new config options.
19
Release
2.1.1
fabric · 1.21.9, 1.21.10 · 7mo ago
159
Release
2.1.1
fabric · 1.21.2, 1.21.3, 1.21.4 · 7mo ago
79
Release
2.1.1
fabric · 1.21, 1.21.1 · 7mo ago
- Removed unnecessary check.
43

Comments 0

No comments yet. Be the first to share your thoughts.