1.21.5
Co-authored-by: Bjarne Koll <git@lynxplay.dev> Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Co-authored-by: MiniDigger | Martin <admin@minidigger.dev> Co-authored-by: Nassim Jahnke <nassim@njahnke.dev> Co-authored-by: Noah van der Aa <ndvdaa@gmail.com> Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Co-authored-by: Shane Freeder <theboyetronic@gmail.com> Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com> Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com> Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com>
This commit is contained in:
@@ -16,41 +16,77 @@ import org.jetbrains.annotations.NotNull;
|
||||
*/
|
||||
public abstract class Structure implements Keyed {
|
||||
|
||||
public static final Structure PILLAGER_OUTPOST = getStructure("pillager_outpost");
|
||||
public static final Structure MINESHAFT = getStructure("mineshaft");
|
||||
public static final Structure MINESHAFT_MESA = getStructure("mineshaft_mesa");
|
||||
public static final Structure MANSION = getStructure("mansion");
|
||||
public static final Structure JUNGLE_PYRAMID = getStructure("jungle_pyramid");
|
||||
public static final Structure DESERT_PYRAMID = getStructure("desert_pyramid");
|
||||
public static final Structure IGLOO = getStructure("igloo");
|
||||
public static final Structure SHIPWRECK = getStructure("shipwreck");
|
||||
public static final Structure SHIPWRECK_BEACHED = getStructure("shipwreck_beached");
|
||||
public static final Structure SWAMP_HUT = getStructure("swamp_hut");
|
||||
public static final Structure STRONGHOLD = getStructure("stronghold");
|
||||
public static final Structure MONUMENT = getStructure("monument");
|
||||
public static final Structure OCEAN_RUIN_COLD = getStructure("ocean_ruin_cold");
|
||||
public static final Structure OCEAN_RUIN_WARM = getStructure("ocean_ruin_warm");
|
||||
public static final Structure FORTRESS = getStructure("fortress");
|
||||
public static final Structure NETHER_FOSSIL = getStructure("nether_fossil");
|
||||
public static final Structure END_CITY = getStructure("end_city");
|
||||
public static final Structure BURIED_TREASURE = getStructure("buried_treasure");
|
||||
public static final Structure BASTION_REMNANT = getStructure("bastion_remnant");
|
||||
public static final Structure VILLAGE_PLAINS = getStructure("village_plains");
|
||||
public static final Structure VILLAGE_DESERT = getStructure("village_desert");
|
||||
public static final Structure VILLAGE_SAVANNA = getStructure("village_savanna");
|
||||
public static final Structure VILLAGE_SNOWY = getStructure("village_snowy");
|
||||
public static final Structure VILLAGE_TAIGA = getStructure("village_taiga");
|
||||
public static final Structure RUINED_PORTAL = getStructure("ruined_portal");
|
||||
public static final Structure RUINED_PORTAL_DESERT = getStructure("ruined_portal_desert");
|
||||
public static final Structure RUINED_PORTAL_JUNGLE = getStructure("ruined_portal_jungle");
|
||||
public static final Structure RUINED_PORTAL_SWAMP = getStructure("ruined_portal_swamp");
|
||||
public static final Structure RUINED_PORTAL_MOUNTAIN = getStructure("ruined_portal_mountain");
|
||||
public static final Structure RUINED_PORTAL_OCEAN = getStructure("ruined_portal_ocean");
|
||||
public static final Structure RUINED_PORTAL_NETHER = getStructure("ruined_portal_nether");
|
||||
// Start generate - Structure
|
||||
// @GeneratedFrom 1.21.5
|
||||
public static final Structure ANCIENT_CITY = getStructure("ancient_city");
|
||||
|
||||
public static final Structure BASTION_REMNANT = getStructure("bastion_remnant");
|
||||
|
||||
public static final Structure BURIED_TREASURE = getStructure("buried_treasure");
|
||||
|
||||
public static final Structure DESERT_PYRAMID = getStructure("desert_pyramid");
|
||||
|
||||
public static final Structure END_CITY = getStructure("end_city");
|
||||
|
||||
public static final Structure FORTRESS = getStructure("fortress");
|
||||
|
||||
public static final Structure IGLOO = getStructure("igloo");
|
||||
|
||||
public static final Structure JUNGLE_PYRAMID = getStructure("jungle_pyramid");
|
||||
|
||||
public static final Structure MANSION = getStructure("mansion");
|
||||
|
||||
public static final Structure MINESHAFT = getStructure("mineshaft");
|
||||
|
||||
public static final Structure MINESHAFT_MESA = getStructure("mineshaft_mesa");
|
||||
|
||||
public static final Structure MONUMENT = getStructure("monument");
|
||||
|
||||
public static final Structure NETHER_FOSSIL = getStructure("nether_fossil");
|
||||
|
||||
public static final Structure OCEAN_RUIN_COLD = getStructure("ocean_ruin_cold");
|
||||
|
||||
public static final Structure OCEAN_RUIN_WARM = getStructure("ocean_ruin_warm");
|
||||
|
||||
public static final Structure PILLAGER_OUTPOST = getStructure("pillager_outpost");
|
||||
|
||||
public static final Structure RUINED_PORTAL = getStructure("ruined_portal");
|
||||
|
||||
public static final Structure RUINED_PORTAL_DESERT = getStructure("ruined_portal_desert");
|
||||
|
||||
public static final Structure RUINED_PORTAL_JUNGLE = getStructure("ruined_portal_jungle");
|
||||
|
||||
public static final Structure RUINED_PORTAL_MOUNTAIN = getStructure("ruined_portal_mountain");
|
||||
|
||||
public static final Structure RUINED_PORTAL_NETHER = getStructure("ruined_portal_nether");
|
||||
|
||||
public static final Structure RUINED_PORTAL_OCEAN = getStructure("ruined_portal_ocean");
|
||||
|
||||
public static final Structure RUINED_PORTAL_SWAMP = getStructure("ruined_portal_swamp");
|
||||
|
||||
public static final Structure SHIPWRECK = getStructure("shipwreck");
|
||||
|
||||
public static final Structure SHIPWRECK_BEACHED = getStructure("shipwreck_beached");
|
||||
|
||||
public static final Structure STRONGHOLD = getStructure("stronghold");
|
||||
|
||||
public static final Structure SWAMP_HUT = getStructure("swamp_hut");
|
||||
|
||||
public static final Structure TRAIL_RUINS = getStructure("trail_ruins");
|
||||
|
||||
public static final Structure TRIAL_CHAMBERS = getStructure("trial_chambers");
|
||||
|
||||
public static final Structure VILLAGE_DESERT = getStructure("village_desert");
|
||||
|
||||
public static final Structure VILLAGE_PLAINS = getStructure("village_plains");
|
||||
|
||||
public static final Structure VILLAGE_SAVANNA = getStructure("village_savanna");
|
||||
|
||||
public static final Structure VILLAGE_SNOWY = getStructure("village_snowy");
|
||||
|
||||
public static final Structure VILLAGE_TAIGA = getStructure("village_taiga");
|
||||
// End generate - Structure
|
||||
|
||||
@NotNull
|
||||
private static Structure getStructure(@NotNull String name) {
|
||||
return RegistryAccess.registryAccess().getRegistry(RegistryKey.STRUCTURE).getOrThrow(NamespacedKey.minecraft(name));
|
||||
|
||||
@@ -15,22 +15,40 @@ import org.jetbrains.annotations.NotNull;
|
||||
*/
|
||||
public abstract class StructureType implements Keyed {
|
||||
|
||||
// Start generate - StructureType
|
||||
// @GeneratedFrom 1.21.5
|
||||
public static final StructureType BURIED_TREASURE = getStructureType("buried_treasure");
|
||||
|
||||
public static final StructureType DESERT_PYRAMID = getStructureType("desert_pyramid");
|
||||
|
||||
public static final StructureType END_CITY = getStructureType("end_city");
|
||||
|
||||
public static final StructureType FORTRESS = getStructureType("fortress");
|
||||
|
||||
public static final StructureType IGLOO = getStructureType("igloo");
|
||||
|
||||
public static final StructureType JIGSAW = getStructureType("jigsaw");
|
||||
|
||||
public static final StructureType JUNGLE_TEMPLE = getStructureType("jungle_temple");
|
||||
|
||||
public static final StructureType MINESHAFT = getStructureType("mineshaft");
|
||||
|
||||
public static final StructureType NETHER_FOSSIL = getStructureType("nether_fossil");
|
||||
|
||||
public static final StructureType OCEAN_MONUMENT = getStructureType("ocean_monument");
|
||||
|
||||
public static final StructureType OCEAN_RUIN = getStructureType("ocean_ruin");
|
||||
|
||||
public static final StructureType RUINED_PORTAL = getStructureType("ruined_portal");
|
||||
|
||||
public static final StructureType SHIPWRECK = getStructureType("shipwreck");
|
||||
|
||||
public static final StructureType STRONGHOLD = getStructureType("stronghold");
|
||||
|
||||
public static final StructureType SWAMP_HUT = getStructureType("swamp_hut");
|
||||
|
||||
public static final StructureType WOODLAND_MANSION = getStructureType("woodland_mansion");
|
||||
// End generate - StructureType
|
||||
|
||||
@NotNull
|
||||
private static StructureType getStructureType(@NotNull String name) {
|
||||
|
||||
Reference in New Issue
Block a user