Package org.bukkit.generator.structure
Class Structure
java.lang.Object
org.bukkit.generator.structure.Structure
- All Implemented Interfaces:
- net.kyori.adventure.key.Keyed,- Keyed
Represent a Structure from the world.
 Listed structures are present in the default server. Depending on the server
 there might be additional structures present (for example structures added by
 data packs), which can be received via 
Registry.STRUCTURE.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structurestatic final Structure
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract @NotNull StructureTypeReturns the type of the structure.
- 
Field Details- 
PILLAGER_OUTPOST
- 
MINESHAFT
- 
MINESHAFT_MESA
- 
MANSION
- 
JUNGLE_PYRAMID
- 
DESERT_PYRAMID
- 
IGLOO
- 
SHIPWRECK
- 
SHIPWRECK_BEACHED
- 
SWAMP_HUT
- 
STRONGHOLD
- 
MONUMENT
- 
OCEAN_RUIN_COLD
- 
OCEAN_RUIN_WARM
- 
FORTRESS
- 
NETHER_FOSSIL
- 
END_CITY
- 
BURIED_TREASURE
- 
BASTION_REMNANT
- 
VILLAGE_PLAINS
- 
VILLAGE_DESERT
- 
VILLAGE_SAVANNA
- 
VILLAGE_SNOWY
- 
VILLAGE_TAIGA
- 
RUINED_PORTAL
- 
RUINED_PORTAL_DESERT
- 
RUINED_PORTAL_JUNGLE
- 
RUINED_PORTAL_SWAMP
- 
RUINED_PORTAL_MOUNTAIN
- 
RUINED_PORTAL_OCEAN
- 
RUINED_PORTAL_NETHER
- 
ANCIENT_CITY
- 
TRAIL_RUINS
 
- 
- 
Constructor Details- 
Structurepublic Structure()
 
- 
- 
Method Details- 
getStructureTypeReturns the type of the structure.- Returns:
- the type of structure
 
 
-