Class GlowTemplePiece
java.lang.Object
net.glowstone.generator.structures.GlowStructurePiece
net.glowstone.generator.structures.GlowTemplePiece
- Direct Known Subclasses:
GlowDesertTemple
,GlowJungleTemple
,GlowWitchHut
-
Field Summary
Fields inherited from class net.glowstone.generator.structures.GlowStructurePiece
boundingBox
-
Constructor Summary
ConstructorDescriptionGlowTemplePiece
(Random random, org.bukkit.Location location, org.bukkit.util.Vector size) Creates a temple piece. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
adjustHorizPos
(org.bukkit.World world) protected RandomItemsContent
int
getDepth()
int
int
int
getWidth()
void
setDepth
(int depth) void
setHeight
(int height) void
setHorizPos
(int horizPos) void
setWidth
(int width) Methods inherited from class net.glowstone.generator.structures.GlowStructurePiece
generate, getBoundingBox, getNumericOrientation, getOrientation, getRelativeFacing, getUnknownGd, setBoundingBox, setNumericOrientation, setUnknownGd
-
Constructor Details
-
GlowTemplePiece
public GlowTemplePiece() -
GlowTemplePiece
Creates a temple piece.- Parameters:
random
- the PRNG that will choose the orientationlocation
- the root locationsize
- the size as a width-height-depth vector
-
-
Method Details
-
adjustHorizPos
protected void adjustHorizPos(org.bukkit.World world) -
getChestContent
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getDepth
public int getDepth() -
setDepth
public void setDepth(int depth) -
getHorizPos
public int getHorizPos() -
setHorizPos
public void setHorizPos(int horizPos)
-