Astral Sorcery Altar
The Altar is a type of IRecipeManager and implements all the methods that are available to IRecipeManager’s, such as removeRecipe()
and removeAll()
.
Methods
Add Recipe
The following script adds two recipes to the Altar that will do the following:
-
The first recipe is made in the Iridescent Altar (
RADIENCE
Altar Type) and outputs Dirt after 50 ticks (2.5 seconds) and using 50 starlight. -
The second recipe is made in the Celestial Altar (
CONSTELLATION
Altar Type) and outputs a Diamond after 50 ticks (2.5 seconds) and using 50 starlight.
The second recipe is just an example of using a pattern to register the recipe, both methods produce the same result.
The recipe grids NEEDS to be 5x5. If your recipe isn’t 5x5, you need to pad it out with Air until it is 5x5.
The default Altar Types are:
DISCOVERY
ATTUNEMENT
CONSTELLATION
RADIANCE
You can get them by using /ct dump astralAltarTypes
in-game as well.
Remove Recipes
The following script will remove the Formation Wand recipe from the Altar.