Class GlowTemple
java.lang.Object
net.glowstone.generator.structures.GlowStructure
net.glowstone.generator.structures.GlowTemple
- All Implemented Interfaces:
TerrainObject
Desert temple, jungle temple, or witch hut.
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.glowstone.generator.structures.GlowStructure
chunkX, chunkZ, world
Fields inherited from interface net.glowstone.generator.objects.TerrainObject
PLANT_TYPES
-
Constructor Summary
ConstructorDescriptionGlowTemple
(org.bukkit.World world, int chunkX, int chunkZ) Creates a structure with no pieces.GlowTemple
(org.bukkit.World world, Random random, int chunkX, int chunkZ) Creates a random temple or witch hut. -
Method Summary
Methods inherited from class net.glowstone.generator.structures.GlowStructure
addPiece, generate, generate, getBoundingBox, getChunkX, getChunkZ, getPieces, getWorld, isDirty, setBoundingBox, setDirty, wrapAllPieces
-
Constructor Details
-
GlowTemple
public GlowTemple(org.bukkit.World world, int chunkX, int chunkZ) Creates a structure with no pieces.- Parameters:
world
- the world to generate inchunkX
- the chunk X coordinatechunkZ
- the chunk Z coordinate
-
GlowTemple
Creates a random temple or witch hut.- Parameters:
world
- the world to generate inrandom
- the PRNG that will choose this temple's orientationchunkX
- the chunk X coordinatechunkZ
- the chunk Z coordinate
-
-
Method Details
-
shouldGenerate
- Specified by:
shouldGenerate
in classGlowStructure
-