GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • Projects
  • Record
  • Texts
  • API
  • About
  • GitHub
  • Discord

This view

  • Original page
  • New address

GeezerVison is showing orthrus.cc — GTCEu: Reloaded

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

dryraindryrain
100%60%0%
waitsrunsholdsrunsdone

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
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.