public class StructureType
extends java.lang.Object
StructureType
s is case-sensitive.限定符和类型 | 字段和说明 |
---|---|
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 |
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.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object other) |
MapCursor.Type |
getMapIcon()
Get the
MapCursor.Type that this structure can use on maps. |
java.lang.String |
getName()
Get the name of this structure.
|
static java.util.Map<java.lang.String,StructureType> |
getStructureTypes()
Get all registered
StructureType s. |
int |
hashCode() |
java.lang.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 java.lang.String getName()
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.public boolean equals(java.lang.Object other)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object
public static java.util.Map<java.lang.String,StructureType> getStructureTypes()
StructureType
s.