| Package | Description | 
|---|---|
| io.papermc.paper.event.world | |
| org.bukkit | 
 The root package of the Bukkit API, contains generalized API classes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull StructureType | 
StructureLocateEvent.getType()
Gets the  
StructureType that is to be located. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
StructureLocateEvent.setType(@NotNull StructureType type)
Sets the  
StructureType that is to be located. | 
| Constructor and Description | 
|---|
StructureLocateEvent(@NotNull World world,
                    @NotNull Location origin,
                    @NotNull StructureType structureType,
                    int radius,
                    boolean findUnexplored)  | 
| Modifier and Type | Field and Description | 
|---|---|
static StructureType | 
StructureType.BASTION_REMNANT
Bastion remnant. 
 | 
static StructureType | 
StructureType.BURIED_TREASURE
Buried treasure consists of a single chest buried in the beach sand or
 gravel, with random loot in it. 
 | 
static StructureType | 
StructureType.DESERT_PYRAMID
Desert pyramids (also known as desert temples) are found in deserts. 
 | 
static StructureType | 
StructureType.END_CITY
End Cities are tall castle-like structures that generate in the outer
 island of the End dimension. 
 | 
static StructureType | 
StructureType.IGLOO
Igloos are structures that generate in snowy biomes. 
 | 
static StructureType | 
StructureType.JUNGLE_PYRAMID
Jungle pyramids (also known as jungle temples) are found in jungles. 
 | 
static StructureType | 
StructureType.MINESHAFT
Mineshafts are underground structures which consist of branching mining
 tunnels with wooden supports and broken rails. 
 | 
static StructureType | 
StructureType.NETHER_FORTRESS
Nether fortresses are very large complexes that mainly consist of
 netherbricks. 
 | 
static StructureType | 
StructureType.NETHER_FOSSIL
Nether fossils. 
 | 
static StructureType | 
StructureType.OCEAN_MONUMENT
Ocean monuments are underwater structures. 
 | 
static StructureType | 
StructureType.OCEAN_RUIN
Ocean ruins are clusters of many different blocks that generate
 underwater in ocean biomes (as well as on the surface of beaches). 
 | 
static StructureType | 
StructureType.PILLAGER_OUTPOST
Pillager outposts may contain crossbows. 
 | 
static StructureType | 
StructureType.RUINED_PORTAL
Ruined portal. 
 | 
static StructureType | 
StructureType.SHIPWRECK
Shipwrecks are structures that generate on the floor of oceans or
 beaches. 
 | 
static StructureType | 
StructureType.STRONGHOLD
Strongholds are underground structures that consist of many rooms,
 libraries, and an end portal room. 
 | 
static StructureType | 
StructureType.SWAMP_HUT
Swamp huts (also known as witch huts) generate in swamp biomes and have
 the ability to spawn witches. 
 | 
static StructureType | 
StructureType.VILLAGE
Villages are naturally generating structures that form above ground. 
 | 
static StructureType | 
StructureType.WOODLAND_MANSION
Mansions (also known as woodland mansions) are massive house structures
 that generate in dark forests, containing a wide variety of rooms. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull ItemStack | 
Server.createExplorerMap(@NotNull World world,
                 @NotNull Location location,
                 @NotNull StructureType structureType)
Create a new explorer map targeting the closest nearby structure of a
 given  
StructureType. | 
static @NotNull ItemStack | 
Bukkit.createExplorerMap(@NotNull World world,
                 @NotNull Location location,
                 @NotNull StructureType structureType)
Create a new explorer map targeting the closest nearby structure of a
 given  
StructureType. | 
@NotNull ItemStack | 
Server.createExplorerMap(@NotNull World world,
                 @NotNull Location location,
                 @NotNull StructureType structureType,
                 int radius,
                 boolean findUnexplored)
Create a new explorer map targeting the closest nearby structure of a
 given  
StructureType. | 
static @NotNull ItemStack | 
Bukkit.createExplorerMap(@NotNull World world,
                 @NotNull Location location,
                 @NotNull StructureType structureType,
                 int radius,
                 boolean findUnexplored)
Create a new explorer map targeting the closest nearby structure of a
 given  
StructureType. | 
@Nullable Location | 
World.locateNearestStructure(@NotNull Location origin,
                      @NotNull StructureType structureType,
                      int radius,
                      boolean findUnexplored)
Find the closest nearby structure of a given  
StructureType. | 
Copyright © 2022. All rights reserved.