Class ConfiguredStructure

java.lang.Object
io.papermc.paper.world.structure.ConfiguredStructure
All Implemented Interfaces:
net.kyori.adventure.key.Keyed, Keyed

@Deprecated(forRemoval=true) @ScheduledForRemoval(inVersion="1.21") public final class ConfiguredStructure extends Object implements Keyed
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a configured structure each with a StructureType. Multiple ConfiguredStructures can have the same StructureType.
  • Field Details

    • PILLAGER_OUTPOST

      public static final Reference<ConfiguredStructure> PILLAGER_OUTPOST
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MINESHAFT

      public static final Reference<ConfiguredStructure> MINESHAFT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MINESHAFT_MESA

      public static final Reference<ConfiguredStructure> MINESHAFT_MESA
      Deprecated, for removal: This API element is subject to removal in a future version.
    • WOODLAND_MANSION

      public static final Reference<ConfiguredStructure> WOODLAND_MANSION
      Deprecated, for removal: This API element is subject to removal in a future version.
    • JUNGLE_TEMPLE

      public static final Reference<ConfiguredStructure> JUNGLE_TEMPLE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DESERT_PYRAMID

      public static final Reference<ConfiguredStructure> DESERT_PYRAMID
      Deprecated, for removal: This API element is subject to removal in a future version.
    • IGLOO

      public static final Reference<ConfiguredStructure> IGLOO
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SHIPWRECK

      public static final Reference<ConfiguredStructure> SHIPWRECK
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SHIPWRECK_BEACHED

      public static final Reference<ConfiguredStructure> SHIPWRECK_BEACHED
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SWAMP_HUT

      public static final Reference<ConfiguredStructure> SWAMP_HUT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • STRONGHOLD

      public static final Reference<ConfiguredStructure> STRONGHOLD
      Deprecated, for removal: This API element is subject to removal in a future version.
    • OCEAN_MONUMENT

      public static final Reference<ConfiguredStructure> OCEAN_MONUMENT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • OCEAN_RUIN_COLD

      public static final Reference<ConfiguredStructure> OCEAN_RUIN_COLD
      Deprecated, for removal: This API element is subject to removal in a future version.
    • OCEAN_RUIN_WARM

      public static final Reference<ConfiguredStructure> OCEAN_RUIN_WARM
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FORTRESS

      public static final Reference<ConfiguredStructure> FORTRESS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NETHER_FOSSIL

      public static final Reference<ConfiguredStructure> NETHER_FOSSIL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • END_CITY

      public static final Reference<ConfiguredStructure> END_CITY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BURIED_TREASURE

      public static final Reference<ConfiguredStructure> BURIED_TREASURE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • BASTION_REMNANT

      public static final Reference<ConfiguredStructure> BASTION_REMNANT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • VILLAGE_PLAINS

      public static final Reference<ConfiguredStructure> VILLAGE_PLAINS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • VILLAGE_DESERT

      public static final Reference<ConfiguredStructure> VILLAGE_DESERT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • VILLAGE_SAVANNA

      public static final Reference<ConfiguredStructure> VILLAGE_SAVANNA
      Deprecated, for removal: This API element is subject to removal in a future version.
    • VILLAGE_SNOWY

      public static final Reference<ConfiguredStructure> VILLAGE_SNOWY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • VILLAGE_TAIGA

      public static final Reference<ConfiguredStructure> VILLAGE_TAIGA
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_STANDARD

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_STANDARD
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_DESERT

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_DESERT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_JUNGLE

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_JUNGLE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_SWAMP

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_SWAMP
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_MOUNTAIN

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_MOUNTAIN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_OCEAN

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_OCEAN
      Deprecated, for removal: This API element is subject to removal in a future version.
    • RUINED_PORTAL_NETHER

      public static final Reference<ConfiguredStructure> RUINED_PORTAL_NETHER
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getKey

      @NotNull public @NotNull NamespacedKey getKey()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Keyed
      Return the namespaced identifier for this object.
      Specified by:
      getKey in interface Keyed
      Returns:
      this object's key
    • getStructureType

      @NotNull public @NotNull StructureType getStructureType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the structure type for this configure structure.
      Returns:
      the structure type
    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • toModern

      @Internal @NotNull public @NotNull Structure toModern()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • fromModern

      Deprecated, for removal: This API element is subject to removal in a future version.