介绍
TCTB Services (tctb-services)
Overview
TCTB Services is the low-level core service library for TCTB.
Due to Java’s single inheritance model, and the fact that Tetra’s tool capabilities rely heavily on its abstract classes, bytecode rewriting must be performed during the early launch stage so that Tetra can recognize Tinkers’ Construct tools as its own modular weapons at runtime. This JAR file provides that core functionality.
Core Features
- Hooks into the low-level class-loading process (
Phase.BEFORE) to rewrite bytecode before classes are loaded by the JVM. - Transparently replaces
instanceofandcheckcastinstructions targetingItemModularHandheldacross Tetra and third-party mod code with TCTB’s bridge checks and proxy casting. - Allows Tinkers’ Construct’s
ModifiableItemto retain its native characteristics while seamlessly passing all of Tetra’s type checks.
Installation
Requires TCTB version 1.0.2 or higher.
- Ensure the compatible versions of Minecraft Forge, Tinkers’ Construct, and Tetra are installed.
- Place
tctb-services.jarinto yourmodsfolder. - Place the main mod
tctb-[version].jarinto yourmodsfolder as well. - Launch the game.
FAQ
-
Q: What happens if I only install the main
tctb.jar?
A: Tool abilities and interactions will fail to trigger. -
Q: Why aren’t both JARs merged into one?
A: JARs that declare ModLauncher services cannot be loaded as standard Forge mods simultaneously.
常见问题
TCTB Services 支持哪些 Minecraft 版本?
TCTB Services 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
TCTB Services 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分