?️ Create: Transit Tickets ?
? 适用于生存模式的、可配置的乘车票与检票闸机,用于 Create 列车网络。
CREATE 0.5.x 版本即将弃用。如果您需要这些版本的支持,请立即提出。
? 简介
Create: Transit Tickets 为基于 Create 模组构建的公共交通系统添加了可重复使用的车票蓝图、已发行的乘车票以及功能正常的检票闸机。
车票蓝图通过游戏内菜单进行配置——正常使用不再需要命令。一个蓝图存储了自定义名称、使用类型和交通服务。
- ? 单次使用 车票允许通过一次闸机。
- ? 多次使用 车票允许通过可配置次数的闸机。
- ⏳ 限时 车票在可配置的时间段内有效。
- ♾️ 不限时 车票永不过期。
车票可以使用 Local(本地)、Semi-Fast(半快) 或 Express(特快) 服务。操作员可以配置每个闸机接受任何服务或要求特定的某一种服务。
空白车票、车票蓝图、乘车票和检票闸机均采用 Create 风格的提示文本。悬停时按住 Shift 键可查看其摘要和使用说明。未完成的乘车票会直接在提示文本中显示配方进度和下一步所需的机器。
空白车票和检票闸机提供了 Create 风格的 Ponder 场景。它们在游戏中解释了车票制作、验证规则、闸机行为、服务要求和操作员控制等内容。
✨ 当前版本亮点
当前的 1.0.0-c6 版本包含:
- ? 支持 Minecraft 1.21.1 上的 Create 6.0.8,需搭配 NeoForge 21.1.251 或更高版本。
- ? 游戏内车票蓝图配置菜单,包含名称、类型、服务、通行次数和持续时间控制。
- ? 单次使用、多次使用、限时和不限时车票类型。
- ? Local、Semi-Fast 和 Express 车票服务。
- ? 由操作员使用 Create 扳手配置的单个闸机服务要求。
- ? 仅限操作员的扳手拆卸功能,可返还检票闸机物品。
- ? 玩家通过后或在硬性五秒超时后关闭的闸机。
- ?️ 服务器验证的车票蓝图和闸机配置数据包。
- ? 空白车票、车票蓝图、乘车票和检票闸机的 Create 风格 Shift 摘要。
- ? Create 风格的 Ponder 教程,涵盖车票制作以及操作、配置和拆卸检票闸机。
- ⚙️ 使用发射器随后机械压力机进行的两阶段车票制作。
- ? 保留蓝图数据并显示配方进度
1/2 的未完成乘车票。
? 游戏内 Ponder
悬停在支持的项目上并按住 Create 的 Ponder 键——默认为 W 键——以打开其教程。
? 使用空白车票
空白车票 Ponder 解释了完整的制作序列:
- 配置可重复使用的车票蓝图。
- 将蓝图部署到空白车票上。
- 获得包含复制设置的未完成乘车票。
- 在检票闸机使用前,使用机械压力机完成车票。
? 使用检票闸机
检票闸机包含两个 Ponder 章节:
- 使用检票闸机 涵盖已发行车票的验证、过期和用完的车票、服务匹配、通行消耗、接受与拒绝反馈、可通过的开启状态、乘客离开后的关闭以及五秒安全超时。
- 配置检票闸机 涵盖仅限操作员的扳手菜单、Any Service(任意服务)、Local(本地)、Semi-Fast(半快)和 Express(特快)要求、权限限制以及潜行扳手拆卸。
? 车票工作流程
? Blank Ticket(空白车票) + ? Ticket Blueprint(车票蓝图) → ⚙️ Deployer(发射器) → ? Incomplete Transit Ticket(未完成乘车票) → ? Mechanical Press(机械压力机) → ?️ Valid Transit Ticket(有效乘车票) → ? Ticket Gate(检票闸机)
⚙️ 使用 Create 机械制作有效车票
- 合成 Blank Ticket(空白车票) 和 Ticket Blueprint(车票蓝图)。
- 手持车票蓝图并右键单击以打开其配置菜单。
- 选择车票名称、类型、服务以及所需的任何持续时间或通行次数,然后选择 Done(完成)。
- 将配置好的车票蓝图放入位于皮带、料斗或其他有效处理表面上方的通电 Deployer(发射器) 手中。
- 将空白车票发送到发射器下方。发射器应用蓝图并生产 Incomplete Transit Ticket(未完成乘车票),且不消耗可重复使用的蓝图。
- 将未完成乘车票发送到通电的 Mechanical Press(机械压力机) 下方。
- 压力机生产出已发行的 Transit Ticket(乘车票),其中包含蓝图配置的名称、类型、服务和有效期数据。
- 手持成品车票并在兼容的 Ticket Gate(检票闸机) 上使用它。
机械压路机完成工作时,交通票即生效。限时票的有效期从此时开始计算——而非蓝图部署时。若在压路前移除中间物品,会导致其处于未完成状态,无法用于开启票务闸口。
在添加蓝图数据转移功能之前创建的不完整交通票不包含所需的设置。如果旧版中间物品生成了无效票据,请在更新后部署新的空白票。
? 空白票 (Blank Ticket)
- 将票蓝图部署到其上时消耗的材料。
- 本身不包含任何有效期或过期数据。
- 两张纸可合成四张空白票。
- 按住 Shift 并悬停可查看其 Create 风格的摘要。
? 票蓝图 (Ticket Blueprint)
- 一种可重复使用的模板,由部署器应用于空白票。
- 右键点击以打开其配置菜单。
- 存储票的名称、使用类型、服务以及任何必需的通行次数或时长值。
- 服务选择器支持 本地 (Local)、半快速 (Semi-Fast) 和 特快 (Express)。
- 多次使用 (Multiple Use) 会显示通行次数字段。
- 限时 (Limited Time) 会显示持续时间字段。支持的单位后缀为
t(刻)、s(秒)、m(分钟)、h(小时)和 d(Minecraft 天)。
- 1 秒等于 20 刻,1 个 Minecraft 天等于 24,000 刻。
- 单次使用 (Single Use) 和 无限时长 (Unlimited Time) 不需要额外数值。
- 按住 Shift 并悬停可查看其 Create 风格的摘要及使用说明。
? 不完整交通票 (Incomplete Transit Ticket)
- 当部署器将已配置的票蓝图应用于空白票时生成。
- 在机器之间移动时,存储蓝图配置数据的副本。
- 尚未签发,无法开启票务闸口。
- 显示代表步骤
1/2 的半满进度条。
- 其提示框中显示 配方序列 (Recipe Sequence)、进度:1/2 和 下一步:在压路机中处理。
- 必须经过机械压路机处理才能成为有效的交通票。
- 使用损坏版的、Create 风格的已完成票据纹理。
?️ 交通票 (Transit Ticket)
- 使用其在蓝图中配置的名称。
- 保留其在蓝图中配置的类型和服务。
- 限时票使用世界游戏时间存储其签发时间、持续时间和过期时间。
- 单次使用和多次使用票存储其原始和剩余通行次数。
- 无限时长票不会过期。
- 在提示框中清晰显示 有效 (Valid)、已过期 (Expired) 或 已用完 (Used Up)。
- 按住 Shift 并悬停可查看其 Create 风格的摘要。
? 蓝图命令(可选)
游戏内蓝图菜单是推荐的配置方式。遗留辅助命令仍对创造模式玩家及拥有 2 级或更高权限等级的命令源可用。
通过命令创建的蓝图使用本地服务,并涵盖遗留的限时和通行次数限制格式。对于所有四种票类型和所有服务选择,请使用游戏内菜单。
⏳ 限时票
/transittickets blueprint <duration_ticks> [name]
duration_ticks 必须至少为 1。可选名称可以包含空格,且限制为 64 个字符。如果未提供名称,票将被命名为 Transit Ticket。
例如,一张 30 分钟的票持续 36,000 刻:
/transittickets blueprint 36000 30 Minute Pass
Minecraft 通常以每秒 20 刻运行。票的时间随世界的游戏时间推进,并在世界暂停时停止。
? 通行次数限制票
/transittickets blueprint passages <count> [name]
count 必须至少为 1。每次在票务闸口的成功验证都会立即扣除一次通行次数。
示例:
/transittickets blueprint passages 1 Single Ride
/transittickets blueprint passages 5 Five Ride Pass
? 票务闸口行为
- 手持已签发且有效的交通票时使用闸口。
- 默认情况下,闸口接受 任意服务 (Any Service)。
- 操作员可以使用 Create 扳手右键点击已放置的闸口,将其改为要求 本地 (Local)、半快速 (Semi-Fast) 或 特快 (Express) 服务。
- 闸口配置仅限于拥有 2 级或更高权限等级的操作员。
- 操作员可以潜行并使用 Create 扳手右键点击来拆除闸口并掉落其物品。
- 有效票据会播放接受音效并打开中央屏障。
- 服务不匹配的有效票据会被拒绝,且不消耗通行次数。
- 通行次数限制票在闸口接受时会立即扣除一次通行次数。当通行次数归零时,票变为 已用完 (Used Up),无法再开启其他闸口。
- 限时票可以在世界时间到期前反复开启闸口。无限时长票永远不会过期。
- 玩家穿过闸口并离开闸口方块后,闸口关闭。
- 即使玩家仍停留在闸口内,闸口也会在 100 刻(约五秒)后始终关闭。
- 空手、未签发的票、过期的票、已用完的票或其他任何物品都会被拒绝,并伴随拒绝音效和屏幕错误消息。
- 按住 Shift 并悬停在闸口物品上可查看其 Create 风格的摘要及扳手使用说明。
? 计划中的功能
随着开发的继续,计划中的功能可能会发生变化。
? 可用语言
欢迎通过拉取请求进行翻译。
? 安装
- 安装 Minecraft 1.21.1。
- 为 Minecraft 1.21.1 安装 NeoForge 21.1.251 或更高版本。
- 为 NeoForge 1.21.1 安装 Create 6.0.8 及其所需依赖项。
- 从 GitHub Releases 页面下载 Create: Transit Tickets。
- 将 Create 和 Create: Transit Tickets 放入 Minecraft 的
mods 文件夹中。
- 使用 NeoForge 配置文件启动 Minecraft。
本分支为 Minecraft 1.21.1 构建 Create: Transit Tickets 1.0.0-c6,需要 NeoForge 21.1.251 或更高版本以及 Create 6.0.8。旧版的 Forge 1.20.1 构建与此发布版不兼容。
?️ 从源码构建
要求:
- Java Development Kit 21
- Git
克隆并构建项目:
git clone https://github.com/RSlover521/Create-Transit-Tickets.git
cd Create-Transit-Tickets
./gradlew build
在 Windows PowerShell 或命令提示符中,请使用:
.\gradlew.bat build
构建好的模组 jar 文件将生成在 build/libs/ 目录中。
若要启动 NeoForge 开发客户端:
.\gradlew.bat runClient
? 链接
✅ 版本兼容性
| Transit Tickets 版本 |
Minecraft 1.21.1 |
Minecraft 1.20.1 |
Create 6.0.8 |
Create 0.5.1.f |
NeoForge 21.1.251+ |
Forge 47.x |
| 1.0.0-c6 (当前) |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
| 0.1.4-beta |
❌ |
✅ |
✅ |
✅ |
❌ |
✅ |
| 0.1.3-beta |
❌ |
✅ |
✅ |
❌ |
❌ |
✅ |
| 0.1.2-beta |
❌ |
✅ |
❌ |
✅ |
❌ |
✅ |
| 0.1.1-beta |
❌ |
✅ |
❌ |
✅ |
❌ |
✅ |
| 0.1.0-beta |
❌ |
✅ |
❌ |
✅ |
❌ |
✅ |
✅ 兼容 ❌ 不兼容
所有可用构建的下载请前往 GitHub Releases 页面。
? 许可证
- MIT License — 详情参见 项目许可证。
- Minecraft、NeoForge、Minecraft Forge 和 Create 分别属于其各自的所有者。
?️ Create: Transit Tickets ?
? Survival-friendly, configurable transit tickets and ticket gates for Create train networks.
CREATE 0.5.x WILL BE DEPRECATED. IF YOU NEED SUPPORT FOR THOSE VERSIONS, PLEASE ASK NOW.
? About
Create: Transit Tickets adds reusable ticket blueprints, issued transit tickets, and working ticket gates for public transportation systems built with the Create mod.
Ticket blueprints are configured through an in-game menu—commands are no longer required for normal use. A blueprint stores a custom name, usage type, and transit service.
- ? Single Use tickets allow one gate passage.
- ? Multiple Use tickets allow a configurable number of passages.
- ⏳ Limited Time tickets remain valid for a configurable duration.
- ♾️ Unlimited Time tickets never expire.
Tickets can use the Local, Semi-Fast, or Express service. Operators can configure each gate to accept any service or require one specific service.
The Blank Ticket, Ticket Blueprint, Transit Ticket, and Ticket Gate use Create-style tooltips. Hold Shift while hovering to see their summaries and usage instructions. Incomplete Transit Tickets display their recipe progress and next required machine directly in the tooltip.
Create-style Ponder scenes are available for the Blank Ticket and Ticket Gate. They explain ticket production, validation rules, gate behavior, service requirements, and operator controls in-game.
✨ Current Version Highlights
The current 1.0.0-c6 release includes:
- ? Support for Create 6.0.8 on Minecraft 1.21.1 with NeoForge 21.1.251 or newer.
- ? An in-game Ticket Blueprint configuration menu with name, type, service, passage, and duration controls.
- ? Single Use, Multiple Use, Limited Time, and Unlimited Time ticket types.
- ? Local, Semi-Fast, and Express ticket services.
- ? Per-gate service requirements configured by operators with Create's Wrench.
- ? Operator-only wrench dismantling that returns the Ticket Gate item.
- ? Gates that close after a player passes through or after a hard five-second timeout.
- ?️ Server-validated configuration packets for blueprints and gates.
- ? Create-style Shift summaries for the Blank Ticket, Ticket Blueprint, Transit Ticket, and Ticket Gate.
- ? Create-style Ponder tutorials for producing tickets and operating, configuring, and dismantling Ticket Gates.
- ⚙️ Two-stage ticket production using a Deployer followed by a Mechanical Press.
- ? An Incomplete Transit Ticket that preserves blueprint data and shows recipe progress
1/2.
? In-Game Ponders
Hover over a supported item and hold Create's Ponder key—W by default—to open its tutorial.
? Using Blank Tickets
The Blank Ticket Ponder explains the complete production sequence:
- Configure a reusable Ticket Blueprint.
- Deploy the blueprint onto a Blank Ticket.
- Receive an Incomplete Transit Ticket containing the copied settings.
- Finish the ticket with a Mechanical Press before using it at a Ticket Gate.
? Using Ticket Gates
The Ticket Gate includes two Ponder chapters:
- Using Ticket Gates covers issued-ticket validation, expired and used-up tickets, service matching, passage consumption, acceptance and denial feedback, the passable open state, closing after a passenger exits, and the five-second safety timeout.
- Configuring Ticket Gates covers the operator-only Wrench menu, the Any Service, Local, Semi-Fast, and Express requirements, permission restrictions, and sneak-wrench dismantling.
? Ticket Workflow
? Blank Ticket + ? Ticket Blueprint → ⚙️ Deployer → ? Incomplete Transit Ticket → ? Mechanical Press → ?️ Valid Transit Ticket → ? Ticket Gate
⚙️ Creating a Valid Ticket with Create Machinery
- Craft a Blank Ticket and a Ticket Blueprint.
- Hold the Ticket Blueprint and right-click to open its configuration menu.
- Choose the ticket name, type, service, and any required duration or passage count, then select Done.
- Put the configured Ticket Blueprint into the hand of a powered Deployer positioned over a belt, depot, or other valid processing surface.
- Send a Blank Ticket underneath the Deployer. The Deployer applies the blueprint and produces an Incomplete Transit Ticket without consuming the reusable blueprint.
- Send the Incomplete Transit Ticket beneath a powered Mechanical Press.
- The press produces an issued Transit Ticket containing the blueprint's configured name, type, service, and validity data.
- Hold the finished ticket and use it on a compatible Ticket Gate.
The Transit Ticket becomes valid when the Mechanical Press finishes. A Limited Time ticket's validity period begins at that moment—not when the blueprint is deployed. Removing the intermediate item before pressing leaves it incomplete and unable to open a Ticket Gate.
Incomplete Transit Tickets created before blueprint-data transfer was added do not contain the required settings. Deploy a new Blank Ticket after updating if an older intermediate produces an invalid ticket.
? Blank Ticket
- The material consumed when a Ticket Blueprint is deployed onto it.
- Contains no validity or expiration data by itself.
- Two sheets of paper craft four blank tickets.
- Hold Shift while hovering to display its Create-style summary.
? Ticket Blueprint
- A reusable template applied to Blank Tickets by a Deployer.
- Right-click it to open its configuration menu.
- Stores the ticket name, usage type, service, and any required passage or duration value.
- The service selector supports Local, Semi-Fast, and Express.
- Multiple Use displays a passage-count field.
- Limited Time displays a duration field. Supported suffixes are
t (ticks), s (seconds), m (minutes), h (hours), and d (Minecraft days).
- One second equals 20 ticks, and one Minecraft day equals 24,000 ticks.
- Single Use and Unlimited Time require no additional value.
- Hold Shift while hovering to display its Create-style summary and usage instructions.
? Incomplete Transit Ticket
- Produced when a Deployer applies a configured Ticket Blueprint to a Blank Ticket.
- Stores a copy of the blueprint's configuration data while moving between machines.
- Is not issued and cannot open a Ticket Gate.
- Displays a half-filled progress bar representing step
1/2.
- Shows Recipe Sequence, Progress: 1/2, and Next: Process in Press in its tooltip.
- Must be processed by a Mechanical Press to become a valid Transit Ticket.
- Uses a damaged, Create-styled version of the completed ticket texture.
?️ Transit Ticket
- Uses the name configured on its blueprint.
- Retains the type and service configured on its blueprint.
- A Limited Time ticket stores its issue time, duration, and expiration time using the world's game time.
- Single Use and Multiple Use tickets store their original and remaining passage counts.
- An Unlimited Time ticket does not expire.
- Clearly displays Valid, Expired, or Used Up in the tooltip.
- Hold Shift while hovering to display its Create-style summary.
? Blueprint Commands (Optional)
The in-game blueprint menu is the recommended configuration method. Legacy helper commands remain available to Creative players and command sources with permission level 2 or higher.
Command-created blueprints use the Local service and cover the legacy limited-time and passage-limited formats. Use the in-game menu for all four ticket types and all service choices.
⏳ Time-limited tickets
/transittickets blueprint <duration_ticks> [name]
duration_ticks must be at least 1. The optional name may contain spaces and is limited to 64 characters. If no name is supplied, the ticket is named Transit Ticket.
For example, a 30-minute ticket lasts 36,000 ticks:
/transittickets blueprint 36000 30 Minute Pass
Minecraft normally runs at 20 ticks per second. Ticket time advances with the world's game time and pauses when the world is not running.
? Passage-limited tickets
/transittickets blueprint passages <count> [name]
count must be at least 1. Each successful validation at a ticket gate consumes one passage immediately.
Examples:
/transittickets blueprint passages 1 Single Ride
/transittickets blueprint passages 5 Five Ride Pass
? Ticket Gate Behavior
- Use the gate while holding an issued, valid Transit Ticket.
- Gates accept Any Service by default.
- An operator can right-click a placed gate with Create's Wrench to require Local, Semi-Fast, or Express service instead.
- Gate configuration is restricted to operators with permission level 2 or higher.
- An operator can sneak and right-click with Create's Wrench to dismantle the gate and drop its item.
- A valid ticket plays an acceptance sound and opens the center barrier.
- A valid ticket with the wrong service is rejected without consuming a passage.
- Passage-limited tickets lose one passage as soon as the gate accepts them. At zero passages, the ticket becomes Used Up and cannot open another gate.
- Limited Time tickets can open gates repeatedly until their world-time expiration. Unlimited Time tickets never expire.
- The gate closes after the player passes through and leaves the gate block.
- The gate always closes after 100 ticks (about five seconds), even if a player remains inside it.
- An empty hand, an unissued ticket, an expired ticket, a used-up ticket, or any other item is rejected with a denial sound and an on-screen error message.
- Hold Shift while hovering over the gate item to display its Create-style summary and wrench instructions.
? Planned Features
- Optional compatibility with other Create transit and security add-ons
Planned features may change as development continues.
? Available Languages
Translations are welcome through pull requests.
? Installation
- Install Minecraft 1.21.1.
- Install NeoForge 21.1.251 or newer for Minecraft 1.21.1.
- Install Create 6.0.8 for NeoForge 1.21.1 and its required dependencies.
- Download Create: Transit Tickets from the GitHub Releases page.
- Place both Create and Create: Transit Tickets in the Minecraft
mods folder.
- Launch Minecraft with the NeoForge profile.
This branch builds Create: Transit Tickets 1.0.0-c6 for Minecraft 1.21.1 and requires NeoForge 21.1.251 or newer and Create 6.0.8. Older Forge 1.20.1 builds are not compatible with this release.
?️ Building from Source
Requirements:
- Java Development Kit 21
- Git
Clone and build the project:
git clone https://github.com/RSlover521/Create-Transit-Tickets.git
cd Create-Transit-Tickets
./gradlew build
On Windows PowerShell or Command Prompt, use:
.\gradlew.bat build
The built mod jar will be created in build/libs/.
To launch the NeoForge development client:
.\gradlew.bat runClient
? Links
✅ Version Compatibility
| Transit Tickets version |
Minecraft 1.21.1 |
Minecraft 1.20.1 |
Create 6.0.8 |
Create 0.5.1.f |
NeoForge 21.1.251+ |
Forge 47.x |
| 1.0.0-c6 (current) |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
| 0.1.4-beta |
❌ |
✅ |
✅ |
✅ |
❌ |
✅ |
| 0.1.3-beta |
❌ |
✅ |
✅ |
❌ |
❌ |
✅ |
| 0.1.2-beta |
❌ |
✅ |
❌ |
✅ |
❌ |
✅ |
| 0.1.1-beta |
❌ |
✅ |
❌ |
✅ |
❌ |
✅ |
| 0.1.0-beta |
❌ |
✅ |
❌ |
✅ |
❌ |
✅ |
✅ Compatible ❌ Not compatible
Downloads for every available build are on the GitHub Releases page.
? License
- MIT License — see the project license for details.
- Minecraft, NeoForge, Minecraft Forge, and Create belong to their respective owners.
评论 0
登录后参与评分
还没有评论,来抢沙发吧