Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

RandomAdditions

中文版

Minecraft 1.12.2 Forge mod. Some useful small functions have been added, and some features that the author finds useful。

AE2

  • Wireless Terminal Shortcut (ALT+V) — Directly store held items into ME network, automatically searches for wireless terminal from inventory or baubles slots
  • TOP Storage Display — When holding a wireless terminal, TOP shows total storage of target item in ME network (item count / fluid mB), craftable items marked with [Craftable]
  • TOP Node Count Display — Shows the number of AE2 grid nodes connected at current location
  • Item Tooltip Enhancement — When holding a wireless terminal, all item tooltips show ME network storage count, with [Craftable] if the item is craftable
  • JEI Fluid Tooltip — When holding a wireless terminal, JEI fluid tooltips show total amount of that fluid in ME network, with [Craftable] if the fluid is craftable
  • Pattern Machine Type — When transferring processing recipes from JEI, records the selected machine type on encoded patterns and shows it in the pattern tooltip
  • Pattern Upload — Right-click the AE2 pattern terminal encode button to encode and send pattern; a "Select destination" list lets you send the pattern directly to available ME Interfaces
  • MMCE Pattern Provider Upload — mmce Pattern upload can send encoded patterns directly to ME Pattern Providers, displaying the linked machine controller's icon and name when available

Draconic Evolution + Baubles

  • Teleport Charm — Advanced teleport charm can be worn as Baubles accessory and opened via shortcut key to access GUI, with fuel validation

QuantumThings

  • Time in a Bottle — Time in a Bottle can be worn as a Baubles accessory and used via shortcut key

Thaumcraft

  • Cauldron Blacklist — Prevent specified items from dissolving in cauldrons (configurable)
  • Smeltery Blacklist — Prevent specified items from smelting in smelteries

Thaumic Additions

  • Advanced Distillation Tower Blacklist — Same as above, for TA's advanced distillation tower

Tinkers' Construct

  • Thaumonomicon Tool Placeholder Fix — Prevent TiC tools from being recognized by Thaumonomicon as "enchanted items" placeholders
  • Forget Modifier — Removes all inscriptions (embossments) from a Tinkers' tool, clearing all extra traits added by them

GameStages + CraftTweaker

  • JEI Stage Entries — Registers game stages as JEI "fake items", searchable by stage name or stage id; press U on one to see its page. The icon reuses FTBQ's gamestage icon (ftblib:textures/icons/controller.png), and the page shows whether the player already has the stage. Requires FTBLib and GameStages; the feature is disabled if either is missing.

    Register the stages to show from a CraftTweaker script (GameStages has no global stage list, so the pack author declares them; the import is optional — if you use one, import the Zen name mods.random_additions.GameStage, not the Java class name):

    mods.random_additions.GameStage.register("bronze_age");
    mods.random_additions.GameStage.registerAll(["age_iron", "age_gold"]);

    Blank or whitespace-only stage ids are ignored, so names built at runtime are safe to pass through.

    Display name and "how to obtain" text are keyed by stage name and can live either in a language file or directly in the script (game.setLocalization writes to the same table):

    game.setLocalization("random_additions.game_stage.bronze_age.name", "Bronze Age");
    game.setLocalization("random_additions.game_stage.bronze_age.tip", "Smelt your first copper ingot");
    game.setLocalization("random_additions.game_stage.bronze_age.tip.1", "Then craft a copper pickaxe");
    random_additions.game_stage.bronze_age.name=Bronze Age
    random_additions.game_stage.bronze_age.tip=Smelt your first copper ingot
    random_additions.game_stage.bronze_age.tip.1=Then craft a copper pickaxe

    Two arguments apply to every language, while three arguments (lang, key, text) are only written when that language is active, so one stage can be named differently per language:

    game.setLocalization("en_us", "random_additions.game_stage.age_iron.name", "Iron Age");
    game.setLocalization("zh_cn", "random_additions.game_stage.age_iron.name", "铁器时代");
    game.setLocalization("random_additions.game_stage.age_iron.tip", "Mine your first iron ore");
    game.setLocalization("random_additions.game_stage.age_iron.tip.1", "Remember to smelt it first");

    Up to four wrapped lines fit on the page, longer text is truncated with "..." and shown in full when hovering it, and §-colour codes work anywhere in the lines:

    mods.random_additions.GameStage.register("nether_age");
    game.setLocalization("random_additions.game_stage.nether_age.name", "Nether Age");
    game.setLocalization("random_additions.game_stage.nether_age.tip", "§7Build and light a nether portal");
    game.setLocalization("random_additions.game_stage.nether_age.tip.1", "§7Find a fortress and get blaze rods");
    game.setLocalization("random_additions.game_stage.nether_age.tip.2", "§7Trade with villagers back in the overworld");

    A stage without any localization key still works, the entry is simply named after its id, and if no tip exists either the page prints the exact key you have to add:

    mods.random_additions.GameStage.register("diamond_age");

    Without .name the stage id is used as the display name (so searching the id works too). .tip is the first line and .tip.1, .tip.2, … are continuation lines, stopping at the first missing number; if nothing is defined the page tells you which key to add. Registration and JEI pushes are logged ([GameStage] ...) to make troubleshooting easy.

    A fully commented example script lives in scripts/example_script.zs — copy it into your pack's scripts/ folder and edit the stage names.

You can freely add it to your modpack,as long as you indicate the source

Building

./gradlew build

Java 25 + RetroFuturaGradle.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages