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