minecraft server init
This commit is contained in:
49
scripts/crafttweaker/classes/mods/astralSorcery.zs
Normal file
49
scripts/crafttweaker/classes/mods/astralSorcery.zs
Normal file
@ -0,0 +1,49 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Astral Sorcery Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Astral Sorcery.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.astralsorcery.Grindstone;
|
||||
import mods.astralsorcery.StarlightInfusion;
|
||||
|
||||
zenClass AstralSorcery {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Grindstone Recipe
|
||||
*/
|
||||
function removeGrindstone(output as IItemStack) {
|
||||
Grindstone.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Grindstone Recipe
|
||||
*/
|
||||
function addGrindstone(input as IItemStack, output as IItemStack) {
|
||||
Grindstone.addRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Starlight Infusion Recipe
|
||||
*/
|
||||
function removeStarlight(output as IItemStack) {
|
||||
StarlightInfusion.removeInfusion(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Starlight Infusion Recipe
|
||||
*/
|
||||
function addStarlight(input as IItemStack, output as IItemStack, consumeMultiple as bool, consumptionChance as float, tickTime as int) {
|
||||
StarlightInfusion.addInfusion(input, output, consumeMultiple, consumptionChance, tickTime);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user