Difference between revisions of "Mods:Blood Magic Support:Rituals"

From MineTweaker 3
Jump to: navigation, search
Line 17: Line 17:
 
== Mark of the Falling Tower ==
 
== Mark of the Falling Tower ==
  
This ritual will summon down a meteor down to earth - it requires a specific focus item that defines which type of meteor you call down. Every different meteor type contains different types of ores.  
+
This ritual will summon a meteor down to your location - it requires a specific focus item that defines which type of meteor you call down. Every different meteor type contains different types of ores.  
  
 
If you want to create a custom type of focus, you have to define its components. These components are not set by ItemStacks but by strings that consist of an ore dictionary. If an ore dictionary already exists, for example "blockCoal" you can already use it. However, if your desired block does not have an ore dictionary yet it is easy enough to implement one.
 
If you want to create a custom type of focus, you have to define its components. These components are not set by ItemStacks but by strings that consist of an ore dictionary. If an ore dictionary already exists, for example "blockCoal" you can already use it. However, if your desired block does not have an ore dictionary yet it is easy enough to implement one.

Revision as of 13:42, 1 February 2015

Rituals Supported

The following Rituals are supported:

  • Ritual of Binding
  • Mark of the Falling Tower

Ritual of Binding

With the Ritual of Binding you are able to transform specific items into a desired item with the power of a bit of Life Essence... and a few.. lightnings.

//Ritual of Binding Recipes
//InputStack, OutputStack
mods.bloodmagic.Binding.addRecipe(<minecraft:coal_block>, <minecraft:bedrock>);
//OutputStack
mods.bloodmagic.Binding.removeRecipe(<AWWayofTime:energySword>);

Mark of the Falling Tower

This ritual will summon a meteor down to your location - it requires a specific focus item that defines which type of meteor you call down. Every different meteor type contains different types of ores.

If you want to create a custom type of focus, you have to define its components. These components are not set by ItemStacks but by strings that consist of an ore dictionary. If an ore dictionary already exists, for example "blockCoal" you can already use it. However, if your desired block does not have an ore dictionary yet it is easy enough to implement one.

//Ore Dictionary for Demon-Type Blocks
val demonCrystal = <ore:demonCrystal>;
demonCrystal.add(<AWWayofTime:blockCrystal>); 
demonCrystal.add(<AWWayofTime:blockCrystal:1>);  

//Ore Dictionary for Nether-Type Blocks
val netherBlocks = <ore:netherBlocks>;
netherBlocks.add(<minecraft:netherrack>); 
netherBlocks.add(<minecraft:soul_sand>);
netherBlocks.add(<minecraft:glowstone>);  
 
//Ore Dictionary for Stonebrick Types
val stoneBricks = <ore:stoneBricks>;
stoneBricks.add(<minecraft:stonebrick>); 
stoneBricks.add(<minecraft:stonebrick:1>); 
stoneBricks.add(<minecraft:stonebrick:2>); 

The meteor's focus is the item you throw onto the Master Ritual Stone to perform the ritual. A few examples of Blood Magic's foci are Stone, Iron Block or a Nether Star.

The radius defines the size the meteor will have. If we use 20, the meteor will be a sphere of 20 blocks into each direction.

Once you think you have all of your Ore Dictionaries ready for your strings, insert them into the function. The number that comes after them is the percentage they will spawn in the meteor.

//Ritual of Binding Recipes
//FocusItem, MeteorRadius, ComponentArray with ComponentStrings and ChanceNumbers
mods.bloodmagic.FallingTower.addFocus(<AWWayofTime:demonPortalMain>, 20,"demonCrystal, 5, netherBlocks, 25, blockCoal, 10, stoneBricks, 25");