GregTech Vein Integration
Automatically generates compatibility datapacks from GregTech CEu ore veins for supported mods such as Industrial Foregoing. Designed for modpack developers.
介绍
GregTech Vein Integration
GregTech Vein Integration is a utility mod that automatically generates compatibility datapacks between GregTech CEu ore veins and other mods.
Instead of manually maintaining hundreds of recipes or mining definitions, this mod analyzes the GregTech world generation during startup and generates datapacks that faithfully reproduce the same ore distribution for supported mods.
The generated datapacks are completely transparent for the player and require no manual configuration.
Why?
Many Minecraft mods include their own mining systems:
- Industrial Foregoing Laser Drill
- Occultism Miner
- Mekanism Digital Miner
- Future quarry or resource generation mods
Unfortunately, these systems usually rely on their own handcrafted ore lists, completely ignoring the world generation defined by GregTech.
This creates several problems:
- Resources obtainable from machines may not match the actual world generation.
- Heavily customized modpacks require maintaining dozens or even hundreds of datapacks manually.
- Every GregTech update forces pack developers to review all integrations again.
This project solves that problem automatically.
How It Works
During startup, the mod inspects every GregTech ore vein registered by GTCEu.
For every vein, it extracts information such as:
- Dimensions
- Height range
- Distribution type
- Vein weight
- Density
- Contained ores
- Ore probabilities
- Biome restrictions (future)
- Any other relevant placement information
Once every vein has been analyzed, the mod reconstructs the information grouped by material rather than by vein.
Finally, it generates datapacks matching the format expected by every supported mod.
The result is that external mining systems behave as if they understood GregTech natively.
Features
- Automatic compatibility generation: No manual datapack editing required.
- Direct API integration: Reads GregTech data directly from the source API.
- Standard format: Generates standard, vanilla-compatible Minecraft datapacks.
- Smart overrides: Existing generated datapacks are automatically replaced on rerun.
- Extensible architecture: Easy to extend with additional mod integrations.
Supported Integrations
| Mod | Status |
|---|---|
| Industrial Foregoing | 🟡 Beta |
| Occultism | ❌ Not Planned |
| Immersive Engineering | 🔵 Planned |
Industrial Foregoing
For Industrial Foregoing, the generator creates Laser Drill recipes automatically.
Instead of using Industrial Foregoing’s default handcrafted ore tables, every generated recipe reflects the actual GregTech world generation. Each material is reconstructed from every GregTech vein where it appears.
The generated recipe includes:
- Lens color
- Output item
- Rarity entries
- Height limits
- Dimensions
- Biome restrictions (future)
The generated recipes are written as normal datapacks and override Industrial Foregoing’s defaults whenever necessary.
Intended Audience
This mod is not intended for end users.
It is a development tool designed primarily for:
- Modpack developers
- Datapack authors
- GregTech CEu pack maintainers
If you simply want to play a modpack, you most likely do not need this mod. Its purpose is to automatically generate compatibility datapacks that can later be distributed together with the modpack.
Usage
1. Install the required mods
At minimum, install:
- GregTech CEu
- GregTech Vein Integration
- Any additional supported mods you want to generate compatibility for (e.g., Industrial Foregoing).
2. Launch the game
Start Minecraft normally. The mod will scan every GregTech ore vein and prepare the compatibility generator.
3. Generate the datapacks
Once inside a world, execute the generation command:
/gtvi
(Note: Replace the command above with the final command name if it changes before release).
The generator will automatically create compatibility datapacks for every supported mod currently installed.
4. Copy the generated datapacks
The generated datapacks can now be copied into your modpack’s openloader or global datapacks folder. They are ordinary Minecraft datapacks and do not require GregTech Vein Integration to be present for the players.
Typical Workflow
- Install your development instance.
- Configure your custom GregTech ore generation.
- Install any supported integration mods.
- Run the
/gtvigeneration command in-game. - Copy the generated datapacks into your distribution modpack.
- Remove
GregTech Vein Integrationbefore publishing the pack to players.
Repeat this process whenever your GregTech ore generation configs change.
Requirements
- Minecraft:
1.20.1 - Mod Loader:
Forge - Dependency:
GregTech CEu
Additional integrations are enabled automatically when their corresponding mods are detected.
License
This project is licensed under the MIT License.
常见问题
GregTech Vein Integration 支持哪些 Minecraft 版本?
GregTech Vein Integration 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
GregTech Vein Integration 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
B3LLETI 的其他作品
查看全部 →
Tinkers Fuels EMI Support
Adds an EMI category to display all available Tinkers' Construct smeltery fuels, including fuel consumption, temperature, duration and heating rate.
Immersive Engineering Excavator EMI Support
View Immersive Engineering Excavator Mineral Vein recipes in EMI, including outputs, spoils, dimensions, weight, and fail chance.
Blood Magic Meteors EMI Support
View Blood Magic Meteor Ritual (Mark of the Falling Tower) recipes in EMI, including all possible meteor blocks.
GCYR Extras (GTCEu 7.4.1 Backport)
Backport of GCYR Extras for Minecraft 1.20.1, compatible with GregTech CEu 7.4.1 and Gregicality Rocketry 0.2.7.
评论
登录后评论和评分