This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c4b26b
commit 021c025
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import mods.mythicbotany.CTRunePosition; | ||
|
||
//Use 3 coals and 10K mana craft a diamond. | ||
<recipetype:mythicbotany:infusion>.addRecipe("test",<item:minecraft:diamond>,[<item:minecraft:coal>,<item:minecraft:coal>,<item:minecraft:coal>],10000,0xfffff,0x00000); | ||
|
||
//Remove terra ingot recipe in infusion. | ||
<recipetype:mythicbotany:infusion>.removeRecipe(<item:botania:terrasteel_ingot>); | ||
|
||
//Remember import package! | ||
var pos as CTRunePosition = new CTRunePosition(<item:minecraft:snowball>,1,1,false); //Dynamic get CTRunePosition. | ||
var pos1 as CTRunePosition = CTRunePosition.getPosition(<item:minecraft:snowball>,-1,-1,false); //Static get CTRunePosition. | ||
var pos2 as CTRunePosition = new CTRunePosition(<item:minecraft:snowball>,1,-1,true); //Dynamic get CTRunePosition,but snowball will consume. | ||
var pos3 as CTRunePosition = CTRunePosition.getPosition(<item:minecraft:snowball>,-1,1,true); //Static get CTRunePosition,but snowball will consume. | ||
|
||
//Recipe need a array! | ||
var posArray as CTRunePosition[] = [ | ||
pos,pos1,pos2,pos3 | ||
]; | ||
|
||
//Use 4 snowballs and a water bucket,the center item is coal to craft a snowblock. | ||
<recipetype:mythicbotany:rune_ritual>.addRecipe("test1",<item:minecraft:coal>,posArray,100000,100,[<item:minecraft:water_bucket>],[<item:minecraft:snow_block>]); | ||
|
||
//Remove kvasir blood recipe. | ||
<recipetype:mythicbotany:rune_ritual>.removeRecipe("mythicbotany:mythicbotany_rune_rituals/kvasir_blood"); |