Changes from GTCEu
GTCEu: Reloaded continues GregTech CE Unofficial from GTCEu 2.8.10. Since then it has brought machine and recipe screens over from GregTech CEu: Modern, deepened the Applied Energistics integration, combined and filtered multiblock hatches, given recipes conditions and startup modifiers, repaired the accounting and persistence of pipe networks, and cut what idle machines cost.
Recipe conditions
A recipe can ask for a place and a moment as well as items, fluids, power and time: a biome, a height, day or night, a time of day, rain, thunder, or nearby blocks. If the condition is lost while the recipe runs, the machine holds its progress, uses no power, and resumes from the same point when the condition returns.
Ore washing plant
Condition: rain
For addon and mod developers
// A recipe is a typed definition, in Java or statically checked Groovy. var input = new ItemIngredient( List.of(ItemValue.of(iron), ItemValue.of(gold)), 2, true, NbtPolicy.contains(requiredTag), CapabilityPolicy.MATCH); var recipe = new RecipeDefinition( new SourceOrigin("java", "MetalRecipes.java", 42, 1, "metal_dust", "recipes"), "macerator", List.of(input), List.of(ItemValue.of(output)), 40, 8L, false); var prepared = RecipeDefinitionCompiler.compile(recipe); // It can require a place and a moment. builder.conditionBiome("minecraft:plains") .conditionHeight(40, 100) .conditionRain(0.7f); // An addon registers its own builder, and gives a recipe attributes. RecipeDefinitionExtensions.registerBuilder(MyBuilder.class); var blastRecipe = recipe.withAttributes(new RecipeAttribute.Temperature(1800)); // GroovyScript publishes through mods.gregtech.definitions. CraftTweaker is removed. definitions.replace(group, recipes)
License and upstream
- License
- LGPL-3.0
- Upstream
- GregTech CE Unofficial, by the GregTechCEu team and its contributors
- Credits
- NOTICE.md