This commit is contained in:
ZHAY10086
2025-11-27 11:06:45 +08:00
parent bcce341d01
commit 4c4bf04b3c
92 changed files with 15628 additions and 978 deletions
+15
View File
@@ -0,0 +1,15 @@
#priority 20
#loader crafttweaker lateAddTC
import native.com.blamejared.compat.thaumcraft.handlers.ThaumCraft;
import native.thaumcraft.api.ThaumcraftApiHelper;
import crafttweaker.item.IItemStack;
import thaumcraft.aspect.CTAspectStack;
/*
Easily make a vis crystal for a specified aspect. Stack returned is size 1.
*/
global makeVisCrystal as function(CTAspectStack)IItemStack = function (aspect as CTAspectStack) as IItemStack {
return ThaumcraftApiHelper.makeCrystal(ThaumCraft.getAspect(aspect)).wrapper;
};