Pyrotech in 1.14.4 and beyond!
Hi, I'm Codetaylor, the creator of Pyrotech and I would love to work on moving the mod to more recent versions of Minecraft. If you'd like to see Pyrotech move beyond 1.12.2, click here to read more about my campaign to make that happen!
Class
import mods.pyrotech.Burn;
Methods
static void removeRecipes( IIngredient output // output ingredient to match );
Remove all recipes with the given recipe output.
static void removeAllRecipes();
static Burn createBuilder( string name, // unique recipe name IItemStack output, // recipe output string blockString // block string to match );
Burn setBurnStages( int burnStages );
Burn setTotalBurnTimeTicks( int totalBurnTimeTicks );
Burn setFluidProduced( ILiquidStack fluidProduced );
Burn setFailureChance( float failureChance );
Burn addFailureItem( IItemStack failureItem );
Burn setRequiresRefractoryBlocks( boolean requiresRefractoryBlocks );
Burn setFluidLevelAffectsFailureChance( boolean fluidLevelAffectsFailureChance );
void register();
Examples
import mods.pyrotech.Burn; Burn.createBuilder("charcoal_from_log_pile", <minecraft:coal:1>, "pyrotech:log_pile:*") .setBurnStages(10) .setTotalBurnTimeTicks(8 * 60 * 20) .setFluidProduced(<liquid:wood_tar> * 50) .setFailureChance(0.33) .addFailureItem(<pyrotech:material:0>) // ash .addFailureItem(<pyrotech:material:0> * 2) // ash .addFailureItem(<pyrotech:material:0> * 4) // ash .addFailureItem(<pyrotech:material:15> * 4) // charcoal flakes .addFailureItem(<pyrotech:material:15> * 6) // charcoal flakes .addFailureItem(<pyrotech:material:15> * 8) // charcoal flakes .setRequiresRefractoryBlocks(false) .setFluidLevelAffectsFailureChance(true) .register();