SuperSponge
强大的海绵,支持可配置的吸收半径
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

SuperSponge 是什么?
SuperSponge 用一种强大且对服务器友好的替代方案,取代了原版枯燥的海绵机制。它不再仅吸收周围 65 个水方块,而是能够在一个完全可配置、半径最大为 25 格的海球范围内抽水——一次性可抽取近 65,000 个方块的水!它能自动清除海草、海带和气泡柱;吸水后会变为“湿海绵”;并且可以像原版海绵一样在熔炉中烘干。所有海绵的放置状态都会被记录,并在服务器重启后保留。
为什么选择 SuperSponge?
⚡ 巨大范围 — 单次放置即可抽干整个海底神殿
球形检测 — 精确的圆形范围,而非方块状的立方体
️ 无延迟 — 方块扫描被拆分为多个刻度的批次处理
持久追踪 — 超级海绵在重启后仍会被保留记录
多语言支持 — 内置英文和波兰语支持
兼容熔炉 — 像原版一样用熔炉烘干你的湿润超级海绵
️ 可配置 — 可调整半径、熔炉烘干时间和燃料需求
工作原理:
使用 /supersponge give <玩家> [数量] 命令从管理员处获取超级海绵
这个物品的外观和手感都像普通的海绵,但拥有自定义名称与背景故事,并显示当前的吸收半径。将其放置在任何地方——它会立即清除其球形半径内的所有水,并优先清理海草、海带和气泡柱。一旦饱和,它就会变成“湿超级海绵”。将它扔进任何熔炉中烘干,即可无限次重复使用!
✨ 主要特性
可配置的球形吸收
与原版海绵吸收固定 65 格立方体不同,超级海绵计算的是真实的球形距离:
✅ 可配置的半径(默认:25格)
✅ 球形范围——避免尴尬的对角线溢出
✅ 在清理水域前自动移除水生植物
✅ 处理海草、高海草、海带、海带植株和气泡柱
✅ 三阶段移除以防止来自相邻区块的水再生
对服务器友好的性能
SuperSponge 的设计确保不会导致服务器卡顿:
✅ 区块扫描采用批处理 —— 每刻最多处理 5,000 个方块
✅ 吸水操作分多个阶段进行(间隔 2 刻)以防止再生
✅ 移除过程中禁用物理效果,以防止连锁方块更新
✅ 所有操作均在正确的区域线程上运行
即使在繁忙的服务器上,将半径设置为 25 也不会造成 TPS 下降!
持久化海绵追踪
超级海绵在 sponge_data.yml 中单独追踪:
✅ 插件禁用时保存位置 —— 支持服务器重启后恢复
✅ 破坏超级海绵始终掉落正确的自定义物品
✅ 湿润状态和干燥状态的超级海绵分别追踪
✅ 创造模式玩家不会获得掉落物(遵循原版行为)
再也不用担心重启后丢失你的自定义海绵了!
熔炉烘干系统
湿润的超级海绵与原版熔炉无缝集成:
✅ 烘干后生成干燥的超级海绵(而非原版海绵)
✅ 可配置的烘干时间(以刻为单位)
✅ 可选的双倍燃料消耗机制以平衡游戏性
✅ 湿润的超级海绵无法放置 —— 必须先烘干
多语言支持
所有消息均完全支持翻译:
English (messages_en.yml) — 默认
Polish (messages_pl.yml) — 完整翻译
➕ 添加你自己的语言 —— 简单的 YAML 格式
⌨️ 命令
[TABLE]
[TR]
[TH]命令[/TH]
[TH]描述[/TH]
[TH]权限[/TH]
[/TR]
[TR]
[TD]/supersponge[/TD]
[TD]显示帮助[/TD]
[TD]supersponge.admin[/TD]
[/TR]
[TR]
[TD]/supersponge give <player> [amount][/TD]
[TD]给予玩家超级海绵[/TD]
[TD]supersponge.give[/TD]
[/TR]
[TR]
[TD]/supersponge reload[/TD]
[TD]重新加载配置和语言文件[/TD]
[TD]supersponge.reload[/TD]
[/TR]
[/TABLE]
⚙️ 配置
[CODE]
SuperSponge Configuration
默认语言 (pl = Polish, en = English)
language: en
超级海绵吸收半径(方块数,默认值:25)
球形范围 —— 半径 25 = 最多约 65,000 个方块
absorption-radius: 25
在控制台中启用调试消息
debug: false
熔炉设置
furnace:
double-fuel: false # 是否需要双倍燃料来烘干?
smelting-time: 200 # 烘干时间(单位:刻,200 = 10 秒)
[/CODE]
支持与链接
GitHub 仓库
我们的 Discord 服务器
SuperSponge
Powerful Sponge with Configurable Absorption Radius
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

What is SuperSponge?
SuperSponge replaces the boring vanilla sponge mechanic with a powerful, server-friendly alternative. Instead of absorbing only 65 nearby water blocks, a Super Sponge drains water in a fully configurable spherical radius of up to 25 blocks — that's nearly 65,000 blocks at once! It removes seagrass, kelp, and bubble columns automatically, converts to a Wet Super Sponge after absorbing water, and can be dried in a furnace just like vanilla. All sponge placements are tracked and persist across server restarts.
Why choose SuperSponge?
⚡ Huge Radius — Drain entire ocean monuments in a single placement
Spherical Detection — Precise circular range, not a blocky cube
️ No Lag — Block scanning is split into batches across multiple ticks
Persistent Tracking — Super Sponges are remembered after restarts
Multi-Language — Built-in English and Polish support
Furnace Compatible — Dry your Wet Super Sponge just like vanilla
️ Configurable — Adjust radius, furnace time, and fuel requirements
How it works:
Get a Super Sponge from an admin using /supersponge give <player> [amount]
The item looks and feels like a regular sponge but with a custom name and lore showing the current absorption radius. Place it anywhere — it will instantly drain all water within its spherical radius, clearing seagrass, kelp, and bubble columns first. Once saturated it becomes a Wet Super Sponge. Throw it in any furnace to dry it and reuse it as many times as you want!
✨ Key Features
Configurable Spherical Absorption
Unlike vanilla sponges that absorb a flat 65-block cube, Super Sponge calculates true spherical distance:
✅ Configurable radius (default: 25 blocks)
✅ Spherical range — no awkward diagonal overflow
✅ Automatically removes water plants before clearing water
✅ Handles seagrass, tall seagrass, kelp, kelp plants and bubble columns
✅ Three-phase removal to prevent water regeneration from neighboring chunks
Server-Friendly Performance
SuperSponge is built to never freeze your server:
✅ Block scanning is batched — max 5,000 blocks processed per tick
✅ Water removal runs in multiple phases (2 tick gaps) to stop regen
✅ Physics disabled during removal to prevent cascading block updates
✅ All operations run on the correct region thread
No TPS drops even with radius 25 on a busy server!
Persistent Sponge Tracking
Super Sponges are tracked individually in sponge_data.yml:
✅ Locations saved on plugin disable — survive server restarts
✅ Breaking a Super Sponge always drops the correct custom item
✅ Wet Super Sponge tracked separately from dry
✅ Creative mode players don't receive drops (vanilla behavior)
No more losing your custom sponges after a restart!
Furnace Drying System
Wet Super Sponges integrate seamlessly with vanilla furnaces:
✅ Drying produces a dry Super Sponge (not a vanilla sponge)
✅ Configurable smelting time in ticks
✅ Optional double fuel requirement for balance
✅ Wet Super Sponges cannot be placed — must be dried first
Multi-Language Support
All messages fully translatable:
English (messages_en.yml) — default
Polish (messages_pl.yml) — complete translation
➕ Add your own — simple YAML format
⌨️ Commands
[TABLE]
[TR]
[TH]Command[/TH]
[TH]Description[/TH]
[TH]Permission[/TH]
[/TR]
[TR]
[TD]/supersponge[/TD]
[TD]Show help[/TD]
[TD]supersponge.admin[/TD]
[/TR]
[TR]
[TD]/supersponge give <player> [amount][/TD]
[TD]Give Super Sponge to a player[/TD]
[TD]supersponge.give[/TD]
[/TR]
[TR]
[TD]/supersponge reload[/TD]
[TD]Reload configuration and language[/TD]
[TD]supersponge.reload[/TD]
[/TR]
[/TABLE]
⚙️ Configuration
[CODE]
SuperSponge Configuration
Default language (pl = Polish, en = English)
language: en
Super sponge absorption radius in blocks (default: 25)
Spherical — radius 25 = ~65,000 blocks maximum
absorption-radius: 25
Enable debug messages in console
debug: false
Furnace settings
furnace:
double-fuel: false # Require double fuel to dry?
smelting-time: 200 # Drying time in ticks (200 = 10 seconds)
[/CODE]
Support & Links
[GitHub Repository](https://github.com/bishowsky/Super-Sponge)
[Our Discord Server](https://discord.gg/mkyU3SgBUP)
评论 0
登录后参与评分
还没有评论,来抢沙发吧