More Tutorials

Tutorial by AntiBlaze


This page is in-development!

It is not complete. Please add any missing links, and report issues. Thank you.

How to build a prison

By AntiBlaze

Please note that this is the general tutorial. Specific tutorials will be on the main tutorials page.

Table of Contents

 - Top
 - Location
 - Cell
 - Decon

Location

The location is very important for a prison. This sometimes is also influenced by the type of prison. For example, if the prison is an involuntary prison, than the location would be the targets logoff location. Oftenly a prison would be built in the spawn chunks, the 19X19 chunk area around the world spawn1.20.4 and under or 3X3.1.20.5+ The spawn chunks have many advantages, including that they are always loaded, which stops light suppression and chunk skipping. However, because of 1.20.5, spawn chunk prisons had to become smaller. Spawn chunk prisons are also vulnerable to a 7th class escape.video The dimension of a prison also matters. A nether roof prison has many pros and cons compared to an overworld prison, as does an end prison, however, an end prison is mostly in the overworld, except for the cell.

The Cell

Main ArticleAdd later

The cell is the most crucial part of a prison. It holds the prisoner(s). A prison may have multiple cells, to hold multiple prisoners.

Some types of cells


Invulnerable End Crystal

The invulnerable end crystal cell does NOT work in the nether. The cell is filled with invulnerable end crystals, which are end crystals that cannot be broken in survival. They are created like this, or by using this command. This prevents the prisoner from placing or destroying blocks.


Cobblestone or Basalt generator cell

This cell has walls made up of either cobblestone or basalt generators.(Basalt for nether.) This is done so when a prisoner breaks the wall, the hold in the wall gets replaced. Make sure the generators cover every wall ceiling and floor. You may also add detectors to detect if somethign was broken.

Cobblestone generator
Cobblestone generator. Black is obsidian, blue is water, orange is lava, and gray is cobblestone.
Place a piston behind cobblestone and make it repeatedly fire to make a regenerating row of cobblestone.
Basalt generator
Basalt generator. Black is obsidian, blue is blue ice, orange is lava, and gray is basalt.
Place a piston behind basalt and make it repeatedly fire to make a regenerating row of basalt.
Moving blocks

This type of cell has walls and floors(and maybe a cieling) with blocks that constantly move, so the prisoner cannot break any block. The breaking will be reset every time the blocks move. IMPORTANT! Make sure the block types are alternated, otherwise the breaking will be kept.

Cell
The cell. Note how the walls of the cell are alternated, and the pistons are on a loop, triggering slightly after the last.

Detecting cell

In this cell, the faces of the cell are being detected, usually by observers. If the cell is broken, than the suicide is triggered, banning the whole prison.



There are many different types of cells, and these are only some of them. More are in the cellsAdd later article.



Decon

Decon, or decontainment, is a series of hallways(or rooms) to ensure the prisoner does not bring any items or any invisible players. Decons are not used in an involuntary prison. Below will show how to build a decon. Please note that to prevent the end exploit, respawn the ender dragon when performing the decon.


Step 1 -- Entrance

Entrances to a prison are usually nether portals. For an overworld prison, builders would normally link 2 portals in the overworls to one in the nether, with one overworls portal outside the prison and one on the inside.(See diagram below) A nether prison would have a portal in the overworld go directly into the nether prison portal. The portal in the prison should also be within range of a temporary area ban, to check for invisible players. The ban is turned on, then the portal is activated. Once the prisoner or visitor comes through, the guard should check the chat for any logoff messages out of place. Then the ban is deactivated and the portal is closed.

portal diagram
Portal diagram for overworld prisons.

Step 2 -- First decon hallway

Decons should have 2 stages of decons, to prevent a visitor from destroying the prisoner bed. Decons should have a control room(unless minimalistic) and a bed. The prisoner should set their spawn on the bed, then the guard will kill the prisoner. Via a respawn system, the prisoner should respawn in the next Decon. A decon may have some added security measures, if needed, such as


Step 3 -- Second decon hallway

This, unless a redundant prison, should be the last decon stage. It's bassicly the same thing as the first decon, except at the end of the decon is the prisoner bed. The bed should have a retractable block blocking the bed to protect it. Via a respawn system, usually the squilly glitch, to the cell.