KantoTeleports
KantoTeleports 是一款 Fabric 实用模组,允许地图制作者和服务器管理员使用专用的传送方块来构建可配置的传送点。
该模组最初是为 CobbleKanto 项目创建的,在其中用于地图过渡、门、室内场景、地牢、特殊房间以及冒险进度推进。它也可以用于其他需要简单、受控的基于方块的传送系统的 Fabric 世界或服务器。
KantoTeleports 专注于建造者:放置一个传送方块,设置其目标地点,可选选择音效,可选要求持有特定物品,让玩家以更整洁的方式穿越你的地图。
在 Shockbyte 购买 Minecraft 服务器可享 25% 折扣!准备好与朋友开始一段史诗般的冒险了吗?只需点击 这里 并使用促销码 COBBLEKANTO,同时你还将帮助我们持续改进模组并开发未来的项目!
功能特性
- 可配置的 传送方块
- 传送设定器 物品,用于将传送方块链接到目标地点
- 每个方块的传送目标保存在世界中
- 可选的按方块所需物品检查
- 可选的按方块传送音效
- 内置
teleport_generic 和 teleport_door 音效事件
- 房间会话系统,可将玩家发送到可用的房间
- 安全的目标调整机制,如果目的地被阻挡则向上搜索
- 适用于冒险地图、服务器大厅、室内场景、地牢、活动房间以及进度门控
工作原理
KantoTeleports 添加了一个物理传送方块,可以直接在世界中进行配置。
已配置的传送方块可以存储:
- 目标位置
- 音效事件
- 所需物品
- 可选的房间会话 ID
当玩家踏上传送方块时,模组会短暂应用过渡效果,然后将玩家传送到配置好的目的地。
显示设置和命令详情
基础传送设置
- 在世界中放置一个
Teleport Block(传送方块)。
- 手持
Teleport Setter(传送设定器)物品。
- 右键点击传送方块。
- 右键点击目标方块。
目标位置保存为你点击的方块上方的空间,以该方块为中心。
例如,如果你右键点击玩家应该出现的地板,传送目标将被设置为该地板上方的一个方块处。
设置传送音效
直接注视一个传送方块并运行以下命令:
/kantoteleports set sound <sound_event>
内置音效示例:
/kantoteleports set sound kantoteleports:teleport_generic
/kantoteleports set sound kantoteleports:teleport_door
该命令接受注册的音效事件 ID。
设置所需物品
在主手中持有所需物品,直接注视一个传送方块,并运行:
/kantoteleports set item
此后,玩家必须在背包中拥有匹配的物品才能使用该传送点。
这对于钥匙物品、门票、徽章、地牢通行证、任务奖励或其他进度门控非常有用。
房间会话
当一个传送点应将玩家发送到配置列表中的第一个可用房间时,使用房间会话。
这适用于:
- 私人挑战房间
- 可重复的地牢房间
- 活动房间
- 竞技场
- 酒店式室内场景
- 多人冒险地图实例
房间会话数据保存在世界文件夹内:
config/kantoteleports/room_sessions.json
创建房间会话
/kantoteleports roomsession create <session_id>
示例:
/kantoteleports roomsession create gym_rooms
向会话添加房间
使用两个位置来定义房间区域:
/kantoteleports roomsession add <session_id> <room_id> <pos1> <pos2>
默认情况下,传送目标将是房间盒子的中心。
你也可以定义特定的目标位置:
/kantoteleports roomsession add <session_id> <room_id> <pos1> <pos2> <target>
示例:
/kantoteleports roomsession add gym_rooms room_1 100 64 100 110 70 110 105 64 105
将传送方块链接到房间会话
直接注视一个传送方块并运行:
/kantoteleports roomsession set <session_id>
当玩家踏上该方块时,模组会检查会话中的房间,并将每位玩家发送到可用的房间。
其他房间会话命令
列出会话中的房间:
/kantoteleports roomsession list <session_id>
从会话中移除房间:
/kantoteleports roomsession remove <session_id> <room_id>
清除你所注视的传送方块上的房间会话 ID:
/kantoteleports roomsession clear
全局启用或禁用房间会话系统:
/kantoteleports roomsession enabled <true|false>
所有设置命令都需要操作员/管理员权限。
推荐用途
KantoTeleports 适用于:
- 门过渡
- 洞穴入口
- 建筑内部
- 区域门控
- 服务器大厅
- 活动房间
- 地牢检查点
- 捷径
- 通道
- 私人挑战房间
- 多人房间分配系统
建造者须知
为了获得最佳效果:
- 在服务器和客户端上都安装该模组。
- 在向普通玩家开放世界之前配置好传送点。
- 在手动编辑
room_sessions.json 之前保留备份。
- 使用清晰的会话 ID 和房间 ID,例如
gym_rooms、dojo_rooms 或 event_rooms。
- 如果你替换了内置音频文件,若希望已配置的方块继续正常工作,请保持相同的音效 ID。
已知问题
- Room Sessions 依赖于正确定义的房间区域。如果房间区域过小或位置不正确,可用性检查可能无法按预期工作。
- 如果传送目的地被阻挡,模组会尝试将目标向上移动,但建造者仍需手动测试每个传送位置。
兼容性与依赖项
必需:
- Minecraft 1.21.1
- Fabric Loader 0.16.9 或更高版本
- Fabric API
- Java 21
可选:
- Jade,用于显示已配置传送方块上的构建工具提示信息
常见问题
KantoTeleports 需要 Cobblemon 吗?
不需要。KantoTeleports 是为 CobbleKanto 项目创建的,但模组本身并不依赖 Cobblemon。
模组是否需要在客户端和服务端都安装?
是的。该模组添加了方块、物品、模型、音效以及服务端传送逻辑,因此在多人游戏中应在两端都进行安装。
我可以在自己的冒险地图或服务器中使用它吗?
可以。该模组适用于自定义地图、服务器大厅、地牢、私人房间、进度门控以及其他由建造者控制的传送系统。欢迎制作并发布关于/使用该模组的视频!
我可以将传送功能限制在持有特定物品时才能使用吗?
可以。在主手中持有指定物品,看向传送方块,然后运行以下命令:
/kantoteleports set item
玩家必须在背包中拥有匹配的物品才能使用该传送点。
我可以更改传送音效吗?
可以。看向传送方块并运行以下命令:
/kantoteleports set sound <sound_event>
内置示例:
/kantoteleports set sound kantoteleports:teleport_generic
/kantoteleports set sound kantoteleports:teleport_door
替换音频文件会导致现有的传送方块失效吗?
只要声音 ID 保持不变就不会。现有方块存储的是声音 ID(如 kantoteleports:teleport_generic 或 kantoteleports:teleport_door),而不是音频波形本身。
Room Sessions 保存在哪里?
Room Sessions 保存在世界文件夹中:
config/kantoteleports/room_sessions.json
特别感谢
如果您有任何想法或反馈,可以通过我们的公开问题追踪器分享,或在 Discord 上直接联系 cobblekanto。
使用优惠码 COBBLEKANTO 可在 Shockbyte 享受 Minecraft 服务器费用 25% 的折扣!准备好与朋友们开启史诗般的冒险吧!
天生的巨人 ??
KantoTeleports 是一个非官方的粉丝自制 Minecraft 模组。
本项目未获得 Nintendo、Game Freak、Creatures Inc.、The Pokémon Company、Mojang Studios、Microsoft 或 Cobblemon 团队的关联、认可、赞助或批准。
Minecraft 是 Microsoft Corporation 的商标。Pokémon 及相关名称是其各自所有者的商标。Cobblemon 属于其各自的创作者。
KantoTeleports
KantoTeleports is a Fabric utility mod that lets map creators and server owners build configurable teleport points using dedicated teleport blocks.
The mod was originally created for the CobbleKanto project, where it is used for map transitions, doors, interiors, dungeons, special rooms, and adventure progression. It can also be used in other Fabric worlds or servers that need simple, controlled, block-based teleport systems.
KantoTeleports is focused on builders: place a teleport block, set its destination, optionally choose a sound, optionally require an item, and let players move through your map in a cleaner way.
Get 25% off your Minecraft server with Shockbyte! Ready to start an epic adventure with your friends? Just click here and use promo code COBBLEKANTO, plus you will be helping us keep improving the mod and developing future projects!
Features
- Configurable Teleport Block
- Teleport Setter item for linking a teleport block to a destination
- Per-block teleport destinations saved in the world
- Optional per-block required item checks
- Optional per-block teleport sounds
- Built-in
teleport_generic and teleport_door sound events
- Room Session system for sending players to available rooms
- Safe target adjustment that searches upward if the destination is blocked
- Useful for adventure maps, server hubs, interiors, dungeons, event rooms, and progression gates
How It Works
KantoTeleports adds a physical teleport block that can be configured directly inside the world.
A configured teleport block can store:
- a target position
- a sound event
- a required item
- an optional Room Session ID
When a player steps on the teleport block, the mod briefly applies a transition effect, then teleports the player to the configured destination.
Show setup and command details
Basic Teleport Setup
- Place a
Teleport Block in the world.
- Hold the
Teleport Setter item.
- Right-click the teleport block.
- Right-click the destination block.
The destination is saved as the space above the block you clicked, centered on that block.
For example, if you right-click the floor where the player should appear, the teleport destination will be set one block above that floor.
Setting a Teleport Sound
Look directly at a teleport block and run:
/kantoteleports set sound <sound_event>
Built-in sound examples:
/kantoteleports set sound kantoteleports:teleport_generic
/kantoteleports set sound kantoteleports:teleport_door
The command accepts registered sound event IDs.
Setting a Required Item
Hold the required item in your main hand, look directly at a teleport block, and run:
/kantoteleports set item
After that, players must have a matching item in their inventory to use that teleport.
This is useful for key items, tickets, badges, dungeon passes, quest rewards, or other progression gates.
Room Sessions
Room Sessions are used when one teleport should send players to the first available room from a configured list.
This is useful for:
- private challenge rooms
- repeatable dungeon rooms
- event rooms
- arenas
- hotel-style interiors
- multiplayer adventure-map instances
Room Session data is saved inside the world folder:
config/kantoteleports/room_sessions.json
Create a Room Session
/kantoteleports roomsession create <session_id>
Example:
/kantoteleports roomsession create gym_rooms
Add a Room to a Session
Use two positions to define the room area:
/kantoteleports roomsession add <session_id> <room_id> <pos1> <pos2>
By default, the teleport target will be the center of the room box.
You can also define a specific target position:
/kantoteleports roomsession add <session_id> <room_id> <pos1> <pos2> <target>
Example:
/kantoteleports roomsession add gym_rooms room_1 100 64 100 110 70 110 105 64 105
Link a Teleport Block to a Room Session
Look directly at a teleport block and run:
/kantoteleports roomsession set <session_id>
When players step on that block, the mod checks the session rooms and sends each player to an available room.
Other Room Session Commands
List rooms in a session:
/kantoteleports roomsession list <session_id>
Remove a room from a session:
/kantoteleports roomsession remove <session_id> <room_id>
Clear the Room Session ID from the teleport block you are looking at:
/kantoteleports roomsession clear
Enable or disable the Room Session system globally:
/kantoteleports roomsession enabled <true|false>
All setup commands require operator/admin permission.
Recommended Uses
KantoTeleports works well for:
- door transitions
- cave entrances
- building interiors
- region gates
- server hubs
- event rooms
- dungeon checkpoints
- shortcuts
- passages
- private challenge rooms
- multiplayer room allocation systems
Builder Notes
For best results:
- Install the mod on both the server and client.
- Configure teleports before opening the world to regular players.
- Keep backups before editing
room_sessions.json manually.
- Use clear session IDs and room IDs, such as
gym_rooms, dojo_rooms, or event_rooms.
- If you replace the built-in audio files, keep the same sound IDs if you want existing configured blocks to keep working.
Known Issues
- Room Sessions depend on correctly defined room boxes. If a room area is too small or incorrectly positioned, availability checks may not behave as expected.
- If a teleport destination is blocked, the mod tries to move the target upward, but builders should still test every teleport location manually.
Compatibility & Dependencies
Required:
- Minecraft 1.21.1
- Fabric Loader 0.16.9 or newer
- Fabric API
- Java 21
Optional:
- Jade, for builder tooltip information on configured teleport blocks
FAQ
Does KantoTeleports require Cobblemon?
No. KantoTeleports was created for the CobbleKanto project, but the mod itself does not require Cobblemon.
Does the mod need to be installed on both client and server?
Yes. The mod adds blocks, items, models, sounds, and server-side teleport logic, so it should be installed on both sides in multiplayer.
Can I use this in my own adventure map or server?
Yes. The mod is useful for custom maps, server hubs, dungeons, private rooms, progression gates, and other builder-controlled teleport systems. Feel free to create and publish videos about/with this mod!
Can I lock a teleport behind an item?
Yes. Hold the item in your main hand, look at the teleport block, and run:
/kantoteleports set item
Players will need a matching item in their inventory to use that teleport.
Can I change the teleport sound?
Yes. Look at the teleport block and run:
/kantoteleports set sound <sound_event>
Built-in examples:
/kantoteleports set sound kantoteleports:teleport_generic
/kantoteleports set sound kantoteleports:teleport_door
Will replacing the audio files break existing teleport blocks?
Not if the sound IDs stay the same. Existing blocks store sound IDs such as kantoteleports:teleport_generic or kantoteleports:teleport_door, not the audio waveform itself.
Where are Room Sessions saved?
Room Sessions are saved in the world folder:
config/kantoteleports/room_sessions.json
Special Thanks
- To everyone helping polish the CobbleKanto project and its custom mods.
If you have ideas or feedback, you can share them through our public issue tracker or send a direct message to cobblekanto on Discord.
Get 25% off your Minecraft server with Shockbyte! Use promo code COBBLEKANTO and get ready to start an epic adventure with your friends!
Gigante pela própria natureza ??
KantoTeleports is an unofficial fan-made Minecraft mod.
This project is not affiliated with, endorsed by, sponsored by, or approved by Nintendo, Game Freak, Creatures Inc., The Pokémon Company, Mojang Studios, Microsoft, or the Cobblemon team.
Minecraft is a trademark of Microsoft Corporation. Pokémon and related names are trademarks of their respective owners. Cobblemon belongs to its respective creators.
评论 0
登录后参与评分
还没有评论,来抢沙发吧