Skip to content

Groovyscript Custom Infusion Support

Wizzerinus | Alex K. edited this page Oct 4, 2026 · 1 revision

Infusion Type (Prodigy Tech)

Description

Allows adding custom infusions for Atomic Reshaper and Solderer and customizing existing ones.

Identifier

The identifier mods.prodigytech.infusion will be used as the default on this page.

All Identifiers

Any of these can be used to refer to this compat:

mods.prodigytech.infusion
mods.prodigytech_ceu.infusion

Adding Recipes

Recipe Builder

Just like other recipe types, the Infusion Type also uses a recipe builder.


  • Create the Recipe Builder.

    mods.prodigytech.infusion.builder()
    

  • int. The ID of the Infusion. It is also used as the X coordinate in the Infusion texture map. Requires greater than or equal to 3 and automatically loaded for basic infusions (Gold and Primordium). (Default 0).

    id(int)
    
  • String. The name of the infusion. Requires exactly 1 and automatically loaded for basic infusions (Gold and Primordium).

    name(String)
    name(ResourceLocation)
    
  • List<Infusion.InfusionItem>. The items that can be used as additives providing this Infusion type. Requires greater than or equal to 1.

    input(IIngredient, int)
    
  • List<Infusion.InfusionNameDescriptor>. Configures custom naming for infusion amounts above 1. Each of the next multipliers will be applied on top of the previous modifier (i.e. Gold Ingot - 9, Gold Block - 9). All multipliers must be greater than 1. Requires greater than or equal to 0.

    naming(String, int)
    
  • List<String>. The machines that this infusion can be used in. Requires greater than or equal to 1 and the infusion types refer to valid machines (currently solderer and atomic_reshaper).

    machine(String...)
    
  • String. The base unlocalized name of the infusion. Requires exactly 1 and automatically loaded for basic infusions (Gold and Primordium).

    unlocalizedName(String)
    

Example

mods.prodigytech.infusion.builder()
    .name('gold')
    .machine('solderer',
             'atomic_reshaper')
    .input(item('minecraft:iron_ingot'))


mods.prodigytech.infusion.builder()
    .name('diamond')
    .id(3)
    .unlocalizedName('pack_infusion.diamond')
    .unlocalizedName('pack_infusion.diamond_block', 90)
    .machine('solderer')
    .input(item('minecraft:obsidian'))
    .input(item('minecraft:diamond'), 10)

Clone this wiki locally