Witches' Altar/1.12

Type
 Tool
Nether Bricks: Any Pickaxe
Embittered: Any Pickaxe
Coquina: Any Pickaxe
Scorned Bricks: Iron Pickaxe
 Renewable
 Stackable
 Flammable

## **Legacy info**

The centerpiece of any witches' setup is the altar. It can harness and gauge Magical Energy (ME) so that the Devices and Rituals near the altar function properly. The best building areas are densely overgrown places or deep forests, because these spots have the most ME. There is a reason why most witch huts are found deep in dark forests or swamps!

## **Assembling the Altar**

    To create an altar, craft 6 altar blocks and place them in a 2x3 rectangular pattern. Then, right click on the altar block while holding any colored Carpet. This will create the finished multi-block altar structure. The Alchemist, Hedgewitch and Besmirched carpet can't be used for this structure.

 Crafting
 3
For cosmetically different altars, the stone bricks in the above recipe can be replaced with Nether Bricks, Obsidian, Coquina, Embittered Bricks, or Scorned Bricks. This does not affect the altar's functionality.
The recipe for the altar in version 0.0.19.48 and lower:

 Crafting
 3

## **Altar ME**

Altars start with 0 ME and a base recharge rate of 8 ME per second (x1). Flora must be placed near an altar to produce ME. Statues of demons and gods can also boost the available Magical Energy in an area. The amount of ME will be far greater if the species of trees, flowers, and fungi surrounding the altar varies. It is recommended to plant every species of tree in the area, grow every crop and plant every flower that can be found in the wild.

Statues can be placed around an altar to boost the base ME. You can place each statue once, but there are 20 craftable statues so you can get quite a bit of ME without modifiers on or plants around the altar.

### Max Power

Placing the creative mode only Blessed Stone block on the altar upgrades the altar power to 32767 and the recharge rate to x32767.

### Blocks that Increase Altar Power

The only blocks that affect altar power are "natural" blocks, as well as idols and other witches' statues.

##### Natural blocks:

* Leaves,
* Logs,
* All crops, including AgriCraft Crop Sticks,
* Saplings,
* Cocoa beans,
* Melon blocks,
* Pumpkin blocks,
* Lily pads,
* Mushrooms,
* Nether wart,
* Dead bushes,
* Dandelions,
* Non-dandelion vanilla flowers, not counted as unique from one another,
* All tall flowers and grasses, also not counted uniquely from one another,
* Non-vanilla flowers.

Note that normal grasses, ferns, and other non-tall grasses do not count towards altar power.

### Altar Power Calculation Specifics

The altar starts scanning from the northwest corner of the altar's gathering area, 15 blocks below the altar. It first checks all blocks in a line south, and when reaching the end of a southward line moves up one and checks another southward line. When it reaches the top of its upward search radius, it then repeats this process for the next block east. South, then up, then east.

Every time the altar encounters a natural block it has not seen yet, it adds it to a list and keeps track of how many times it has seen that block. The next time it encounters that block, if it has not seen it more than `4 * the total number of unique natural blocks it has encountered so far` times, then it will increase the maximum altar power by 1. Otherwise, it will skip that block and move on. (e.g. having 10 unique blocks means 40 of each block will count)

Every time the altar encounters a unique idol or statue, it adds 125 to the total altar power. Having multiple of the same idol in the altar's radius does not increase the altar power further.

This means that for maximum altar power, witches must put one of every natural block they plan to use at the lowest point on the farthest-west wall of their altar's radius so that every instance of the blocks' usage will be counted.

## **Altar Areas**

There are two important areas, one is the gathering area and the other is the distribution area.

### Gathering Area

The gathering area collects ME and is an evenly distributed field around the altar covering a square of 15 blocks above, below, and to the side from one of the altar blocks. (it is unknown which)

### Distribution Area

The distribution area supplies the devices with ME and covers an even area of 24 blocks around the altar.

## **Using the Altar**

    An Altar is a apparatus in which ME can flow from flora to your rituals and various devices. Your recharge rate (in parentheses) describes the rate at which your ME recharges, while the other number describes the amount your ME is currently at, out of the maximum amount of ME. Simply shift+right click with an empty hand to see this information.

## **Altar Modifiers**

Valid modifiers are grouped into 4 categories: Cups, Swords, Wands, and Pentacles.

It is best to only have 1 of each type of modifier category instead of multiple of the same, as sometimes multiples of the same category can, in fact, hurt your Altar's max ME and recharge rate.

### Cups

Cups can store a small amount of magical Energy, which increases the base ME. Liquids and pastes can also be filled into the containers to increase capacity and recharge rate.

 **Filled Goblet** | **+20% ME**
 Flower Pot (with or without plant)
 Flying Ointment | +17% ME
 Glass Bottle | +5% ME

Bottled Frostfire, Hellfire, Blood, and Vampire Blood are WIP.

### Swords

There is nothing better than the good old Sacrificial Knife.

Boline is WIP.

### Wands and lighting

Light is an important force and is directly related to all living beings. However, it is impossible to explain the exact relationships between them. But the witches know how to use light to increase the ME of an altar and how to use certain types of light in rituals. That can be the reason why some rituals only work during the night or why some beings howl at a full moon.

Wands need ME and a magical core to function flawlessly. The magical core is a storage for ME, which can be used by an altar to increase the base ME value, but only when the wand is on top of the altar.

 Candles (color has no effect)
 Candelabra (material has no effect)

### Pentacles

Minerals are like focus lenses that bundle existing ME and thus give the altar a higher recharge rate. The same effect applies to vital parts of the body such as hearts and heads, the only difference is that these body parts form a lower resistance for the ME, which means it can tile into the altar faster. Some statues have the same effect, maybe they have a living flame in their chest or they are decorated with certain minerals and gems.

 Redstone, Nether Quartz,
Lapis Lazuli, Opal
 Amethyst, Diamond, Emerald
Garnet, Prismarine Shard
 Idols (must be placed on the altar)
 **Statues (must be placed on the altar)** | **+310 base ME**

Golden Applesare WIP.

Scorned Bricks AltarCoquina AltarEmbittered AltarObsidian AltarNether Brick AltarStone Altar
1. ↑ This includes any block that has log-like rotations and a wooden material. [1]
2. ↑ Rotations of the same block are not counted separately. [2]
3. ↑ Note that different crops growing in crop sticks are not counted separately from one another, as they all share the same block. [3]
4. ↑ 4.0 4.1 https://github.com/Um-Mitternacht/Bewitchment/blob/1.12.2/src/main/java/com/bewitchment/common/block/tile/entity/TileEntityWitchesAltar.java#L207
5. ↑ Note that this is not strictly true, as the actual calculation is far more complicated.

Each time a unique idol is encountered, its "times encountered" value is set to `the current max power + 125`. The next time that idol is encountered, the boost will only be applied if that value is less than `4 * the number of unique altar-boosting blocks encountered so far`.

In essence, this means you can only have one boost per unique idol.

https://github.com/Um-Mitternacht/Bewitchment/blob/1.12.2/src/main/java/com/bewitchment/common/block/tile/entity/TileEntityWitchesAltar.java#L231C4-L231C4