public final class StructureType extends Object
StructureType
s is case-sensitive.Modifier and Type | Field and Description |
---|---|
static StructureType |
BURIED_TREASURE
Buried treasure consists of a single chest buried in the beach sand or
gravel, with random loot in it.
|
static StructureType |
DESERT_PYRAMID
Desert pyramids (also known as desert temples) are found in deserts.
|
static StructureType |
END_CITY
End Cities are tall castle-like structures that generate in the outer
island of the End dimension.
|
static StructureType |
IGLOO
Igloos are structures that generate in snowy biomes.
|
static StructureType |
JUNGLE_PYRAMID
Jungle pyramids (also known as jungle temples) are found in jungles.
|
static StructureType |
MINESHAFT
Mineshafts are underground structures which consist of branching mining
tunnels with wooden supports and broken rails.
|
static StructureType |
NETHER_FORTRESS
Nether fortresses are very large complexes that mainly consist of
netherbricks.
|
static StructureType |
OCEAN_MONUMENT
Ocean monuments are underwater structures.
|
static 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 |
PILLAGER_OUTPOST
Pillager outposts may contain crossbows.
|
static StructureType |
SHIPWRECK
Shipwrecks are structures that generate on the floor of oceans or
beaches.
|
static StructureType |
STRONGHOLD
Strongholds are underground structures that consist of many rooms,
libraries, and an end portal room.
|
static StructureType |
SWAMP_HUT
Swamp huts (also known as witch huts) generate in swamp biomes and have
the ability to spawn witches.
|
static StructureType |
VILLAGE
Villages are naturally generating structures that form above ground.
|
static 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 |
---|---|
boolean |
equals(Object other) |
MapCursor.Type |
getMapIcon()
Get the
MapCursor.Type that this structure can use on maps. |
String |
getName()
Get the name of this structure.
|
static Map<String,StructureType> |
getStructureTypes()
Get all registered
StructureType s. |
int |
hashCode() |
String |
toString() |
public static final StructureType MINESHAFT
public static final StructureType VILLAGE
public static final StructureType NETHER_FORTRESS
public static final StructureType STRONGHOLD
Material.ENDER_EYE
.public static final StructureType JUNGLE_PYRAMID
public static final StructureType OCEAN_RUIN
public static final StructureType DESERT_PYRAMID
public static final StructureType IGLOO
public static final StructureType SWAMP_HUT
public static final StructureType OCEAN_MONUMENT
public static final StructureType END_CITY
public static final StructureType WOODLAND_MANSION
public static final StructureType BURIED_TREASURE
public static final StructureType SHIPWRECK
public static final StructureType PILLAGER_OUTPOST
@NotNull public String getName()
@Nullable public MapCursor.Type getMapIcon()
MapCursor.Type
that this structure can use on maps. If
this is null, this structure will not appear on explorer maps.MapCursor.Type
or null.@NotNull public static Map<String,StructureType> getStructureTypes()
StructureType
s.Copyright © 2022. All rights reserved.