Forbidden castle

The Forbidden castle is an ominous, randomly generated structure, considered to be the most challenging of because of the well-trained Piglins inhabiting the place. Those Piglins are capable of everything to protect their territory and more importantly, their precious loot and weapons. Despite being randomly generated, it is also composed of precise elements and contained inside outside walls and a precise height, this causes some rooms and their loot to not appear in some of the castles.

Layout
The Forbidden castle generation starts from the Main tower pieces and mainly composed of rooms of 15x9x15 blocks minimum, divided in three sets, 1x1, meaning 15x9x15, 1x2, meaning 30x9x15, and 2x2, meaning 30x9x30, each of them stacking themselves on top of each other and sometimes stopping with a Roof piece. They are then surrounded by fortified Walls pieces, linked to the Main tower piece by a Wall gate and Courtyard pieces.

Brewing rooms
(w is warped no is crimson)

= Odd treasure room
=

= Trap room
=

= Old trap room
=

= Netherite treasure room
=

= Very normal rooms
=

Corridors
Corridors are small jigsaw parts that can spawn in between two room pieces, connecting them in an esthetical and modular way.

Statues
Statues have a chance to spawn instead of rooms on the sides of the Courtyards, each with their own rarity.

Decors
Decors are small features that can be added inside a room piece, to make it a bit more random. Rooms with decor include

Changelogs
Added in.