package io.papermc.paper.registry.keys; import static net.kyori.adventure.key.Key.key; import io.papermc.paper.generated.GeneratedFrom; import io.papermc.paper.registry.RegistryKey; import io.papermc.paper.registry.TypedKey; import net.kyori.adventure.key.Key; import org.bukkit.generator.structure.StructureType; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; /** * Vanilla keys for {@link RegistryKey#STRUCTURE_TYPE}. * * @apiNote The fields provided here are a direct representation of * what is available from the vanilla game source. They may be * changed (including removals) on any Minecraft version * bump, so cross-version compatibility is not provided on the * same level as it is on most of the other API. */ @SuppressWarnings({ "unused", "SpellCheckingInspection" }) @GeneratedFrom("1.20.2") @ApiStatus.Experimental public final class StructureTypeKeys { /** * {@code minecraft:buried_treasure} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BURIED_TREASURE = create(key("buried_treasure")); /** * {@code minecraft:desert_pyramid} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DESERT_PYRAMID = create(key("desert_pyramid")); /** * {@code minecraft:end_city} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey END_CITY = create(key("end_city")); /** * {@code minecraft:fortress} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FORTRESS = create(key("fortress")); /** * {@code minecraft:igloo} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey IGLOO = create(key("igloo")); /** * {@code minecraft:jigsaw} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey JIGSAW = create(key("jigsaw")); /** * {@code minecraft:jungle_temple} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey JUNGLE_TEMPLE = create(key("jungle_temple")); /** * {@code minecraft:mineshaft} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey MINESHAFT = create(key("mineshaft")); /** * {@code minecraft:nether_fossil} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey NETHER_FOSSIL = create(key("nether_fossil")); /** * {@code minecraft:ocean_monument} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey OCEAN_MONUMENT = create(key("ocean_monument")); /** * {@code minecraft:ocean_ruin} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey OCEAN_RUIN = create(key("ocean_ruin")); /** * {@code minecraft:ruined_portal} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RUINED_PORTAL = create(key("ruined_portal")); /** * {@code minecraft:shipwreck} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SHIPWRECK = create(key("shipwreck")); /** * {@code minecraft:stronghold} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRONGHOLD = create(key("stronghold")); /** * {@code minecraft:swamp_hut} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SWAMP_HUT = create(key("swamp_hut")); /** * {@code minecraft:woodland_mansion} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WOODLAND_MANSION = create(key("woodland_mansion")); private StructureTypeKeys() { } private static @NotNull TypedKey create(final @NotNull Key key) { return TypedKey.create(RegistryKey.STRUCTURE_TYPE, key); } }