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. The is generated in a logical but random way, with fortified walls and towers protecting the fort you can enter through an entrance and court, but all possible pieces of the castle cannot spawn at the same time, meaning some rooms and the loot that comes with it might be missing from one  to another.

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)

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.