| 20 | */ |
| 21 | // Order is retrieved from WorldGenFactory |
| 22 | public final class StructureType { |
| 23 | |
| 24 | private static final Map<String, StructureType> structureTypeMap = new HashMap<>(); |
| 25 | |
| 26 | /** |
| 27 | * Mineshafts are underground structures which consist of branching mining |
| 28 | * tunnels with wooden supports and broken rails. |
| 29 | * <br> |
| 30 | * They are the only place where cave spider spawners and minecarts with |
| 31 | * chests can be found naturally. |
| 32 | */ |
| 33 | public static final StructureType MINESHAFT = register(new StructureType("mineshaft", MapCursor.Type.RED_X)); |
| 34 | |
| 35 | /** |
| 36 | * Villages are naturally generating structures that form above ground. |
| 37 | * <br> |
| 38 | * They are usually generated in desert, plains, taiga, and savanna biomes |
| 39 | * and are a site for villager spawns, with whom the player can trade. |
| 40 | */ |
| 41 | public static final StructureType VILLAGE = register(new StructureType("village", MapCursor.Type.MANSION)); |
| 42 | |
| 43 | /** |
| 44 | * Nether fortresses are very large complexes that mainly consist of |
| 45 | * netherbricks. |
| 46 | * <br> |
| 47 | * They contain blaze spawners, nether wart farms, and loot chests. They are |
| 48 | * only generated in the nether dimension. |
| 49 | */ |
| 50 | public static final StructureType NETHER_FORTRESS = register(new StructureType("fortress", MapCursor.Type.RED_X)); |
| 51 | |
| 52 | /** |
| 53 | * Strongholds are underground structures that consist of many rooms, |
| 54 | * libraries, and an end portal room. |
| 55 | * <br> |
| 56 | * They can be found using an {@link Material#ENDER_EYE}. |
| 57 | */ |
| 58 | public static final StructureType STRONGHOLD = register(new StructureType("stronghold", MapCursor.Type.MANSION)); |
| 59 | |
| 60 | /** |
| 61 | * Jungle pyramids (also known as jungle temples) are found in jungles. |
| 62 | * <br> |
| 63 | * They are usually composed of cobblestone and mossy cobblestone. They |
| 64 | * consist of three floors, with the bottom floor containing treasure |
| 65 | * chests. |
| 66 | */ |
| 67 | public static final StructureType JUNGLE_PYRAMID = register(new StructureType("jungle_pyramid", MapCursor.Type.RED_X)); |
| 68 | |
| 69 | /** |
| 70 | * Ocean ruins are clusters of many different blocks that generate |
| 71 | * underwater in ocean biomes (as well as on the surface of beaches). |
| 72 | * <br> |
| 73 | * They come in my different variations. The cold variants consist primarily |
| 74 | * of stone brick, and the warm variants consist of sandstone. |
| 75 | */ |
| 76 | public static final StructureType OCEAN_RUIN = register(new StructureType("ocean_ruin", MapCursor.Type.TEMPLE)); |
| 77 | |
| 78 | /** |
| 79 | * Desert pyramids (also known as desert temples) are found in deserts. |