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
ConstructorsConstructorDescriptionGlowTemplePiece(Random random, org.bukkit.Location location, org.bukkit.util.Vector size) Creates a temple piece. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadjustHorizPos(org.bukkit.World world) protected RandomItemsContentintgetDepth()intintintgetWidth()voidsetDepth(int depth) voidsetHeight(int height) voidsetHorizPos(int horizPos) voidsetWidth(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)
-