Dimensional Inventories Extension: Warp
An extension for Dimensional Inventories that adds warp commands to teleport players between dimension pools.
- Загрузки
- 35
- Подписчики
- 1
- Обновлён
- 7 июня 2026 г.
- Лицензия
- MIT
Опубликован 2 июня 2026 г.
Dimensional Inventories Extension: Warp
Extension addon for Dimensional Inventories that adds /warp commands for teleporting players between dimension pools while preserving their exact last location, dimension, and camera angle.
When players return to a pool, they continue exactly where they left off — including coordinates and rotation — while inventory switching is handled automatically by Dimensional Inventories.
Features
- Warp between configured dimension pools
- Remembers the last dimension used inside each pool
- Restores exact coordinates and camera rotation
- Supports teleporting other players
- Fabric Permissions API support
- Automatic pool ID autocompletion
- Persistent per-player JSON storage
- Compatible with portals and normal dimension travel
- Integrated
/diminv warpcommand tree
Commands & Permissions
| Command | Permission Node | Default |
|---|---|---|
/warp <pool> |
diminv.warp.self |
OP level 4 |
/warp player <player> <pool> |
diminv.warp.others |
OP level 4 |
/diminv warp <pool> |
diminv.warp.self |
OP level 4 |
/diminv warp player <player> <pool> |
diminv.warp.others |
OP level 4 |
The mod uses Fabric Permissions API (bundled inside the jar). With LuckPerms installed, permission nodes can be granted to non-operators:
/lp group vip permission set diminv.warp.self true
/lp group admin permission set diminv.warp.others true
Without a permissions mod, both permission nodes default to operator level 4.
Position Memory
Each player's last known state in every pool is automatically saved and restored.
Stored Data
- Last used dimension inside each pool
- Exact X/Y/Z coordinates
- Camera rotation (yaw and pitch)
Behavior
- Players return to the exact location where they last left the pool
- Positions are updated during portals, warps, and normal dimension travel
- Creative pools (
gameMode: creative) always restore players at Y=100 while preserving X/Z - First-time visits fall back to world spawn in the pool's first dimension
Storage
Player data is stored as JSON files at:
<world>/dimensional-inventories-extension-warp/<uuid>.json
Data survives server restarts.
Requirements
- Minecraft 1.26.1
- Fabric Loader 0.19.2+
- Fabric API
- Dimensional Inventories 2.2.1+26.1
Installation
- Install Dimensional Inventories.
- Place
dimensional-inventories-extension-warp-<version>.jarinto yourmods/folder.
License
MIT
Центр версий
3 версийЧенджлог
1.0.2+26.1Релиз26.1.2 · 7 июня 2026 г.
Added
- Game-mode warp guard —
/warpnow checks whether the player's current game mode matches thegameModeset on the pool they are warping from. If there is a mismatch (e.g. the player is in Spectator mode but the pool requires Survival), the warp is blocked with an error message. Pools without agameModerestriction are unaffected.
1.0.1+26.1Релиз26.1.2 · 2 июня 2026 г.
Changelog
[1.0.1] — 2026-06-02
Added
- LuckPerms / Fabric Permissions API support — permission nodes
diminv.warp.selfanddiminv.warp.othersnow control access to/warpand/warp player. Falls back to vanilla OP level 4 when no permissions mod is present. Fabric Permissions API 0.7.0 is bundled via JiJ (no extra mod required). - Creative-mode pool Y override — when the target pool has
gameMode: CREATIVEin Dimensional Inventories config, the teleport Y coordinate is forced to100.0; X, Z, and rotation are still restored from the player's saved position.
Changed
- Pool-based warping —
/warpnow accepts a pool ID instead of a dimension ID. Players are teleported to whichever dimension within that pool they were last in, preserving exact coordinates. Leaving any dimension (including via portals) updates the per-pool last-dimension record. Falls back to the first dimension in the pool on first visit. - JSON save format v2 — positions are now nested under a
"positions"key and a"lastDimensionInPool"map is written alongside them. The old flat format is still read transparently and re-saved in the new format.
Fixed
- Fallback spawn position now always lands on a solid surface block. Two edge cases addressed:
getRespawnData()could returnnullfor dimensions without explicit spawn data; falls back toBlockPos.ZERO.getHeight(MOTION_BLOCKING_NO_LEAVES)returnsgetMinY()for ungenerated chunks, which would place the player underground; falls back tospawnPos.getY() + 1instead.
Комментарии
Загружаем…