public class GlowTemple extends GlowStructure
Modifier and Type | Class and Description |
---|---|
static class |
GlowTemple.TempleType |
chunkX, chunkZ, world
PLANT_TYPES
Constructor and Description |
---|
GlowTemple(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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldGenerate(Random random) |
addPiece, generate, generate, getBoundingBox, getChunkX, getChunkZ, getPieces, getWorld, isDirty, setBoundingBox, setDirty, wrapAllPieces
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
killPlantAbove
public GlowTemple(org.bukkit.World world, int chunkX, int chunkZ)
world
- the world to generate inchunkX
- the chunk X coordinatechunkZ
- the chunk Z coordinatepublic GlowTemple(org.bukkit.World world, Random random, int chunkX, int chunkZ)
world
- the world to generate inrandom
- the PRNG that will choose this temple's orientationchunkX
- the chunk X coordinatechunkZ
- the chunk Z coordinatepublic boolean shouldGenerate(Random random)
shouldGenerate
in class GlowStructure
Copyright © 2021. All rights reserved.