Serenitea Pot
为 Minecraft 26.2 Fabric 服务器提供的个人、隔离的三维世界。
English | 简体中文
Serenitea Pot 允许每位玩家从公共服务器世界中提取一个全高度的区块区域,形成个人的主世界、下界和末地。Pot 世界使用服务器现有的注册表、模组和游戏逻辑,同时保持其世界数据和玩家状态相互隔离。玩家在 Pot 内始终处于创造模式,且在其所有者离开时,完整的三维捆绑包会立即卸载。
该模组仅服务于服务端。加入服务器的客户端无需安装 Serenitea Pot;其他服务器模组可能仍具有各自的客户端依赖。
功能特性
- 每位玩家拥有一个独立的 Serenitea Pot,包含隔离的主世界、下界和末地。
- 按区块边界对齐的全高度提取,使用区块半径而非方块或立方体半径。
- 局部坐标系:源中心区块在 Pot 内映射为区块
(0, 0)。
- 分维度替换:从公共主世界、下界或末地创建时,仅替换对应的 Pot 维度。
- 独立的公共与 Pot 物品栏、末影箱、经验值、生命值、效果、能力、游戏模式、重生数据、死亡位置、维度、位置和旋转角度。
- 即时所有者驱动的生命周期:当所有者离开或断开连接时,所有访客将被疏散,三个维度将全部卸载。
- 提供临时的 60 秒访问请求,支持点击接受或拒绝操作。4 级操作员可绕过审批,但所有者仍必须在场。
- 每个所有者及全局的性能预算,由维度刻(tick)和区域复制工作共享。
- 危险刻后自动冻结,而非删除或禁用 Pot,允许所有者进入并进行修复。
- 4 级操作员控制功能,包括启用/禁用、最大半径、性能预算、状态、诊断、修剪和永久删除。
运行环境要求
| 组件 |
版本 |
| Minecraft |
26.2 |
| Java |
25 |
| Fabric Loader |
0.19.3 或更高版本 |
| Fabric API |
0.158.0+26.2 |
| Fabric Language Kotlin |
1.13.12+kotlin.2.4.0 或更高版本 |
Arcade Dimensions 0.13.0-beta.6+26.2 及其辅助模块已嵌入到本模组中。请勿安装第二份副本,也不要从 JAR 文件中移除嵌入的 Arcade 模块。
当前快照版本:1.0.0-snapshot.1-26.2
安装方法
- 在服务器上安装带有 Fabric Loader 0.19.3 或更高版本的 Minecraft 26.2。
- 下载
serenitea-pot-1.0.0-snapshot.1-26.2.jar
- 下载 Fabric API
0.158.0+26.2 和 Fabric Language Kotlin 1.13.12+kotlin.2.4.0 或更高版本。
- 将所有三个 JAR 文件放入服务器的
mods 目录,并使用 Java 25 启动服务器。
Serenitea Pot 没有客户端组件,也不需要单独的配置文件。限制设置通过游戏内的 4 级操作员命令进行管理。Arcade Dimensions 已嵌套在 Serenitea Pot JAR 内部,不得单独安装。
提取机制
/sereniteapot create <radius> 命令会从玩家当前所在维度的当前区块周围,提取完整的建筑高度范围。半径以区块为单位测量:
| 半径 |
提取的列数 |
| 0 |
1 × 1 个区块 |
| 1 |
3 × 3 个区块 |
| 2 |
5 × 5 个区块 |
宽度始终为 2 × radius + 1。主世界的范围为 [-64, 320)(方块 Y 值 -64 至 319);下界和末地使用其各自完整的建筑高度。
源中心区块映射为 Pot 区块 (0, 0),因此 Pot 不会继承公共世界的绝对 X/Z 坐标。世界边界几何中心位于 (8, 8),以确保包含整个中心区块。传送门坐标随后在同一所有者的本地三维捆绑包内解析。
创建过程采用分阶段生成。活动生成仅在替换完全保存后才会切换;被替代的生成版本随后会被永久删除。减少所有者的最大半径会使用相同的分阶段事务来修剪超出新半径的所有现有 Pot 维度。该模组不保留隐式备份。
玩家状态与生命周期
在公共领域与 Pot 之间穿越时,首先捕获源状态,然后应用目标状态。离开时,玩家将返回到进入时所处的确切公共维度、位置和旋转角度。再次进入时,玩家将回到该 Pot 内的最后一个有效位置。
在 Pot 内断开连接遵循与离开相同的事务流程,然后再由 Vanilla 保存玩家数据。Pot 位置保留在 Pot 快照中,而公共维度和位置则写入正常的 playerdata 以便下次登录时使用。
只有真正站在自己 Pot 内的所有者才能保持捆绑包加载。当所有者离开或断开连接时,生命周期事务执行以下操作:
- 阻止新的准入。
- 将访客和操作员返回至各自的公共位置。
- 验证是否仍有玩家引用自定义等级。
- 同时保存并卸载主世界、下界和末地。
Carpet 假人、传送门加载器、区块票据和机器无法保持 Pot 加载。访问授权是临时的,绝不会成为永久访客名单。
disable 是一个操作员动作,用于关闭玩家的 Pot 并阻止未来的准入。freeze 仅停止世界刻(tick):所有者、已批准的访客和操作员仍可进入以进行维修,之后所有者可以运行 unfreeze 命令。
玩家命令
/sereniteapot 显示你的茶壶状态
/sereniteapot create <radius> 使用区块半径提取当前维度
/sereniteapot enter 进入你自己的茶壶
/sereniteapot leave 离开当前茶壶
/sereniteapot unfreeze 修复冻结的茶壶后恢复刻数运行
/sereniteapot request <owner> 请求临时进入其他玩家的茶壶
/sereniteapot requests 列出接收到的待处理请求
/sereniteapot approve <player> 批准请求并传送请求者
/sereniteapot deny <player> 拒绝请求
/sereniteapot delete confirm 永久删除你的茶壶
Level-4 操作员还可以使用 /sereniteapot enter <owner> 直接进入一个当前已加载的茶壶,而无需申请许可。
Level-4 操作员命令
/sereniteapot admin enable <player>
/sereniteapot admin disable <player>
/sereniteapot admin max-radius <player> <chunk-radius>
/sereniteapot admin budget <player> <ms-per-second>
/sereniteapot admin global-budget <ms-per-second>
/sereniteapot admin status <player>
/sereniteapot admin perf [player]
/sereniteapot admin delete <player> confirm
默认最大半径为每个玩家 4 个区块。硬性上限为 256。
性能模型
所有世界相关的工作仍保留在 Minecraft 的服务端线程上。Serenitea Pot 不会将线程不安全的世界或模组代码移动到后台线程。
每位拥有者的三个维度和活跃的区域复制任务共享一个“毫秒/秒”令牌桶。所有茶壶也共享一个全局令牌桶。当预算耗尽时,完整的 ServerLevel.tick 调用会被跳过,或者创建工作会被推迟。超支会产生令牌债务,从而限制后续工作的速度。
提取过程按区块逐步推进。它会克隆区块段调色板,并单独复制实体块、方块和流体计划刻、非玩家实体及其乘客树、POI 数据、结构、光照以及持久的 Fabric 区块附件。某个区块处理缓慢只会降低后续的吞吐量,而不会导致创建计划失败。
单个维度刻、同步区块加载或第三方回调无法在半途中安全中断。如果一个正在运行的茶壶记录到单次维度刻至少达到 200 毫秒,该茶壶会自动标记为 FROZEN(冻结);从下一个服务端刻开始停止世界刻数运行,以便拥有者进行诊断和修复。
/sereniteapot admin perf 报告的状态包括 RUNNING(运行中)、COPYING(复制中)、THROTTLED(节流中)、FROZEN(冻结)和 DISABLED(已禁用),以及最近的复制时间、平均和最大维度刻时间、执行和跳过的刻数,以及有效 TPS。
模组兼容性边界
Serenitea Pot 创建的是真实的服务端层级,它们与服务端的注册表和游戏逻辑共享。Arcade Dimensions 提供了 VanillaLikeLevelsBuilder、传送门混入类和 VanillaDimensionMapper,确保玩家和其他实体保持在同一拥有者的主世界/下界/末地组合包内。
通常,将机器状态存储在实体块或标准持久化 Fabric 区块附件中的模组,其数据会随区域一起被复制。以下数据没有通用且安全的区域含义,因此不保证兼容性:
- 维度级别的
SavedData
- 跨区域网络或私有第三方存储
- 自定义层级或玩家附件
- 包含未标记的绝对公开世界坐标的私有载荷
所有项目业务代码均为 Java 25。最终的 JAR 文件仍然依赖 Fabric Language Kotlin,因为嵌入式的 Arcade Dimensions 是用 Kotlin 编写的;Serenitea Pot 源代码本身不包含 Kotlin 业务代码。
截图
公共主世界
提取区域
进入和离开茶壶
服务器数据存储在活跃世界目录下的 serenitea_pot/ 和 dimensions/serenitea_pot/ 中。删除命令是永久的,不会创建备份。
Serenitea Pot
Personal, isolated three-dimension worlds for Minecraft 26.2 Fabric servers.
English | 简体中文
Serenitea Pot lets each player extract a full-height chunk region from the public server world into a personal Overworld, Nether, and End. Pot worlds use the server's existing registries, mods, and game logic while keeping their world data and player state isolated. Players are always in Creative mode inside a pot, and the complete three-dimension bundle unloads as soon as its owner leaves.
The mod is server-side only. Clients joining the server do not need Serenitea Pot installed; other server mods may still have their own client requirements.
Features
- One personal Serenitea Pot per player, containing an isolated Overworld, Nether, and End.
- Full-height extraction aligned to chunk boundaries, using a chunk radius rather than a block or cube radius.
- A local coordinate system: the source center chunk becomes chunk
(0, 0) inside the pot.
- Per-dimension replacement: creating from the public Overworld, Nether, or End replaces only the matching pot dimension.
- Separate public and pot inventories, Ender Chest, experience, health, effects, abilities, game mode, respawn data, death location, dimension, position, and rotation.
- Immediate owner-driven lifecycle: when the owner leaves or disconnects, all occupants are evacuated and all three dimensions unload.
- Temporary 60-second visit requests with clickable accept and deny actions. Level-4 operators bypass approval, but the owner must still be present.
- Per-owner and global performance budgets shared by dimension ticks and region-copy work.
- Automatic freezing after a dangerous tick instead of deleting or disabling the pot, allowing the owner to enter and repair it.
- Level-4 operator controls for enable/disable, maximum radius, performance budgets, status, diagnostics, trimming, and permanent deletion.
Requirements
| Component |
Version |
| Minecraft |
26.2 |
| Java |
25 |
| Fabric Loader |
0.19.3 or newer |
| Fabric API |
0.158.0+26.2 |
| Fabric Language Kotlin |
1.13.12+kotlin.2.4.0 or newer |
Arcade Dimensions 0.13.0-beta.6+26.2 and its supporting modules are embedded in the built mod. Do not install a second copy or remove the embedded Arcade modules from the JAR.
Current snapshot: 1.0.0-snapshot.1-26.2
Installation
- Install Minecraft 26.2 with Fabric Loader 0.19.3 or newer on the server.
- Download
serenitea-pot-1.0.0-snapshot.1-26.2.jar
- Download Fabric API
0.158.0+26.2 and Fabric Language Kotlin 1.13.12+kotlin.2.4.0 or newer.
- Place all three JAR files in the server's
mods directory and start the server with Java 25.
Serenitea Pot has no client component and needs no separate configuration file. Limits are managed through in-game level-4 operator commands. Arcade Dimensions is already nested inside the Serenitea Pot JAR and must not be installed separately.
How extraction works
/sereniteapot create <radius> extracts the complete build height of the player's current dimension around the current chunk. The radius is measured in chunks:
| Radius |
Extracted columns |
| 0 |
1 × 1 chunks |
| 1 |
3 × 3 chunks |
| 2 |
5 × 5 chunks |
The width is always 2 × radius + 1. The Overworld range is [-64, 320) (block Y values -64 through 319); the Nether and End use their own complete build heights.
The source center chunk maps to pot chunk (0, 0), so a pot does not inherit the public world's absolute X/Z coordinates. The world border is geometrically centered at (8, 8) to contain the entire center chunk. Portal coordinates are consequently resolved within the same owner's local three-dimension bundle.
Creation uses a staged generation. The active generation changes only after the replacement has been completely saved; the superseded generation is then permanently deleted. Reducing an owner's maximum radius uses the same staged transaction to trim every existing pot dimension beyond the new radius. The mod does not retain implicit backups.
Player state and lifecycle
Crossing between the public realm and a pot first captures the source state, then applies the destination state. Leaving returns the player to the exact public dimension, position, and rotation from which they entered. Entering again returns them to their last valid position inside that pot.
Disconnecting inside a pot follows the same leave transaction before Vanilla saves player data. The pot position remains in the pot snapshot, while the public dimension and position are written to normal playerdata for the next login.
Only a real owner standing inside their own pot can keep the bundle loaded. When the owner leaves or disconnects, the lifecycle transaction:
- Blocks new admission.
- Returns visitors and operators to their respective public locations.
- Verifies that no player still references a custom level.
- Saves and unloads the Overworld, Nether, and End together.
Carpet fake players, portal loaders, chunk tickets, and machines cannot keep a pot loaded. Visit grants are temporary and never become a permanent guest list.
disable is an operator action that closes a player's pot and prevents future admission. freeze only stops world ticks: the owner, approved visitors, and operators may still enter for repairs, and the owner can run unfreeze afterward.
Player commands
/sereniteapot Show your pot status
/sereniteapot create <radius> Extract the current dimension using a chunk radius
/sereniteapot enter Enter your own pot
/sereniteapot leave Leave the current pot
/sereniteapot unfreeze Resume ticks after repairing your frozen pot
/sereniteapot request <owner> Request temporary entry to another player's pot
/sereniteapot requests List pending requests received by you
/sereniteapot approve <player> Approve a request and teleport the requester
/sereniteapot deny <player> Deny a request
/sereniteapot delete confirm Permanently delete your pot
Level-4 operators may also use /sereniteapot enter <owner> to enter a currently loaded pot without requesting permission.
Level-4 operator commands
/sereniteapot admin enable <player>
/sereniteapot admin disable <player>
/sereniteapot admin max-radius <player> <chunk-radius>
/sereniteapot admin budget <player> <ms-per-second>
/sereniteapot admin global-budget <ms-per-second>
/sereniteapot admin status <player>
/sereniteapot admin perf [player]
/sereniteapot admin delete <player> confirm
The default maximum radius is 4 chunks per player. The hard maximum is 256.
Performance model
All world work remains on Minecraft's server thread. Serenitea Pot does not move thread-unsafe world or mod code to background threads.
Each owner's three dimensions and active region-copy task share a millisecond-per-second token bucket. All pots also share a global bucket. When a budget is exhausted, complete ServerLevel.tick calls are skipped or creation work is deferred. Overspending creates token debt that throttles later work.
Extraction advances chunk by chunk. It clones chunk section palettes and separately copies block entities, block and fluid scheduled ticks, non-player entities and passenger trees, POI data, structures, lighting, and persistent Fabric chunk attachments. A slow chunk reduces later throughput rather than failing the creation plan.
A single dimension tick, synchronous chunk load, or third-party callback cannot be safely interrupted halfway through. If an already running pot records a single dimension tick of at least 200 ms, the pot is automatically marked FROZEN; world ticking stops from the next server tick so the owner can diagnose and repair it.
/sereniteapot admin perf reports states such as RUNNING, COPYING, THROTTLED, FROZEN, and DISABLED, together with recent copy time, average and maximum dimension tick time, executed and skipped ticks, and effective TPS.
Mod compatibility boundaries
Serenitea Pot creates real server levels that share the server's registries and game logic. Arcade Dimensions provides the VanillaLikeLevelsBuilder, portal mixins, and VanillaDimensionMapper that keep players and other entities inside the same owner's Overworld/Nether/End bundle.
Mods that store machine state in block entities or standard persistent Fabric chunk attachments will usually copy with the region. There is no universal and safe region meaning for the following data, so compatibility is not promised for:
- Dimension-level
SavedData
- Cross-region networks or private third-party storage
- Custom level or player attachments
- Private payloads containing unmarked absolute public-world coordinates
All project business code is Java 25. The final JAR still depends on Fabric Language Kotlin because embedded Arcade Dimensions is written in Kotlin; the Serenitea Pot source itself does not contain Kotlin business code.
Screenshots
Public Overworld
Extracting a region
Entering and leaving a pot
Server data is stored below the active world's serenitea_pot/ and dimensions/serenitea_pot/ directories. Deletion commands are permanent and do not create backups.
评论 0
登录后参与评分
还没有评论,来抢沙发吧