Placement and Reinforcement

## Overview

In the real world, structures require that the ground beneath them support the weight of the structure above. However since physics calculations are expensive and non-existent in Minecraft, we have to make due with a system that approximates the real world.

Floating structures give strategic advantages in War and in general look very ugly. To combat this issue, we designed the following system to prevent structures from floating.

### Reinforcement Per Layer

Starting from the bottom layer of the structure, we look at each block that lies beneath all the way to bedrock. We then divide them into layers, based on the Y coordinate of the structure. Each layer is then checked for a percentage of "valid" blocks. If the percentage of "valid" blocks drops below 80%, that layer is deemed invalid and blocks can no longer be broken there.

Invalid Blocks are:

* Air
* Water (source and running)
* Lava (source and running)
* Torch
* Wood
* Fences

Valid Blocks are:

* Everything Else.

For example, lets say that the bottom layer(aka the floor) of the bank structure contains 300 blocks and rests at Y = 65. We will then count all of the "valid" blocks on Y = 64. For this example, lets say that the number of valid blocks found on Y = 64 is 265. The percentage of "valid" blocks is therefor 265/300 or about 88%. This layer would be considered valid, and we would move on to the Y=63 layer.

When a valid block is removed, we would then subtract one from 265, and recalculate the percentage. If the percentage falls below 80%, blocks will no longer be able to be broken.

### Reinforcement Values of Blocks

Each block type is given a "reinforcement value" which is added up and compared to the total number of blocks on the bottom layer of the structure. By placing blocks underneath your structure that have higher reinforcement values, you'll be able to dig larger basements underneath your structures. The following table lists the reinforcement values for each block type.

### Placing Structures

When a structure preview is placed, it will check to determine if the ground beneath it contains enough reinforcement value to allow the structure to be built. If not, it will display at which levels the structure is invalid and by how much.

## See Also

* Getting Started
	+ Resident Book
		- Materials
		- Weapons & Armor
* How to Make Coins
	+ Fishing
	+ Custom Mobs
* Founding a Civilization
	+ Towns & Upgrading
	+ Building Structures
* Hammers
* Happiness
* Random Events
* Outlaw
* Structures
	+ **Placement & Reinforcement**
* Trade
	+ Trade Goods
* Permissions & Groups
* Upgrade Tree
* Beakers/Science
	+ Tech Tree
* Dynamic Map
* Diplomacy
* Governments
* Policies
* War
	+ Offense/Defense
	+ Captured Towns
	+ Captured Civilizations
	+ Revolution
* Winning The Game
* Camp
* Capitol
* Town Hall
* Arrow Boat
* Arrow Tower
* Arcane Tower
* Artillery Tower
* Cannon Boat
* Cannon Tower
* Mage Tower
* Scout Boat
* Scout Tower
* Wall
* Fortified Wall
* War Camp
* Altar
* Bank
* Barracks
* Blacksmith
* Broadcast Tower
* Granary
* Global Market
* Grocery
* Hospital
* Intelligence Agency
* Library
* Lighthouse
* Monument
* Museum
* Public School
* Research Lab
* Road
* Shipyard
* Stable
* Stadium
* Store
* University
* Cottage
* Farm
* Mine
* Pasture
* Quarry
* Temple
* Trommel
* Windmill

* Colosseum
* Council Of Eight
* Globe Theatre
* Grandship Ingermanland
* Mother Tree
* Notre Dame
* Taj Mahal
* The Colossus
* The Great Library
* The Great Lighthouse
* The Great Pyramid
* The Hanging Gardens

* Settler
* Camp Commands
* Market Commands
* Town Commands
* Resident Commands
* Plot Commands
* Build Commands
* Misc Commands

ru:Размещение и Укрепление