Class StructureKeys

java.lang.Object
io.papermc.paper.registry.keys.StructureKeys

@GeneratedFrom("1.21.4") @NullMarked @Experimental public final class StructureKeys extends Object
Vanilla keys for RegistryKey.STRUCTURE.
API Note:
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.
  • Field Details

    • ANCIENT_CITY

      public static final TypedKey<Structure> ANCIENT_CITY
      minecraft:ancient_city
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BASTION_REMNANT

      public static final TypedKey<Structure> BASTION_REMNANT
      minecraft:bastion_remnant
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BURIED_TREASURE

      public static final TypedKey<Structure> BURIED_TREASURE
      minecraft:buried_treasure
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • DESERT_PYRAMID

      public static final TypedKey<Structure> DESERT_PYRAMID
      minecraft:desert_pyramid
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • END_CITY

      public static final TypedKey<Structure> END_CITY
      minecraft:end_city
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FORTRESS

      public static final TypedKey<Structure> FORTRESS
      minecraft:fortress
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • IGLOO

      public static final TypedKey<Structure> IGLOO
      minecraft:igloo
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • JUNGLE_PYRAMID

      public static final TypedKey<Structure> JUNGLE_PYRAMID
      minecraft:jungle_pyramid
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MANSION

      public static final TypedKey<Structure> MANSION
      minecraft:mansion
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MINESHAFT

      public static final TypedKey<Structure> MINESHAFT
      minecraft:mineshaft
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MINESHAFT_MESA

      public static final TypedKey<Structure> MINESHAFT_MESA
      minecraft:mineshaft_mesa
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MONUMENT

      public static final TypedKey<Structure> MONUMENT
      minecraft:monument
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • NETHER_FOSSIL

      public static final TypedKey<Structure> NETHER_FOSSIL
      minecraft:nether_fossil
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • OCEAN_RUIN_COLD

      public static final TypedKey<Structure> OCEAN_RUIN_COLD
      minecraft:ocean_ruin_cold
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • OCEAN_RUIN_WARM

      public static final TypedKey<Structure> OCEAN_RUIN_WARM
      minecraft:ocean_ruin_warm
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • PILLAGER_OUTPOST

      public static final TypedKey<Structure> PILLAGER_OUTPOST
      minecraft:pillager_outpost
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL

      public static final TypedKey<Structure> RUINED_PORTAL
      minecraft:ruined_portal
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL_DESERT

      public static final TypedKey<Structure> RUINED_PORTAL_DESERT
      minecraft:ruined_portal_desert
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL_JUNGLE

      public static final TypedKey<Structure> RUINED_PORTAL_JUNGLE
      minecraft:ruined_portal_jungle
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL_MOUNTAIN

      public static final TypedKey<Structure> RUINED_PORTAL_MOUNTAIN
      minecraft:ruined_portal_mountain
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL_NETHER

      public static final TypedKey<Structure> RUINED_PORTAL_NETHER
      minecraft:ruined_portal_nether
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL_OCEAN

      public static final TypedKey<Structure> RUINED_PORTAL_OCEAN
      minecraft:ruined_portal_ocean
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RUINED_PORTAL_SWAMP

      public static final TypedKey<Structure> RUINED_PORTAL_SWAMP
      minecraft:ruined_portal_swamp
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SHIPWRECK

      public static final TypedKey<Structure> SHIPWRECK
      minecraft:shipwreck
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SHIPWRECK_BEACHED

      public static final TypedKey<Structure> SHIPWRECK_BEACHED
      minecraft:shipwreck_beached
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • STRONGHOLD

      public static final TypedKey<Structure> STRONGHOLD
      minecraft:stronghold
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SWAMP_HUT

      public static final TypedKey<Structure> SWAMP_HUT
      minecraft:swamp_hut
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • TRAIL_RUINS

      public static final TypedKey<Structure> TRAIL_RUINS
      minecraft:trail_ruins
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • TRIAL_CHAMBERS

      public static final TypedKey<Structure> TRIAL_CHAMBERS
      minecraft:trial_chambers
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • VILLAGE_DESERT

      public static final TypedKey<Structure> VILLAGE_DESERT
      minecraft:village_desert
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • VILLAGE_PLAINS

      public static final TypedKey<Structure> VILLAGE_PLAINS
      minecraft:village_plains
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • VILLAGE_SAVANNA

      public static final TypedKey<Structure> VILLAGE_SAVANNA
      minecraft:village_savanna
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • VILLAGE_SNOWY

      public static final TypedKey<Structure> VILLAGE_SNOWY
      minecraft:village_snowy
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • VILLAGE_TAIGA

      public static final TypedKey<Structure> VILLAGE_TAIGA
      minecraft:village_taiga
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details

    • create

      @Experimental public static TypedKey<Structure> create(Key key)
      Creates a key for Structure in the registry minecraft:worldgen/structure.
      Parameters:
      key - the value's key in the registry
      Returns:
      a new typed key