com.aranai.dungeonator
Class DWorldListener
java.lang.Object
org.bukkit.event.world.WorldListener
com.aranai.dungeonator.DWorldListener
- All Implemented Interfaces:
- org.bukkit.event.Listener
public class DWorldListener
- extends org.bukkit.event.world.WorldListener
Method Summary |
void |
flatten(org.bukkit.World w,
org.bukkit.Chunk c)
|
void |
onChunkLoad(org.bukkit.event.world.ChunkLoadEvent e)
|
Methods inherited from class org.bukkit.event.world.WorldListener |
onChunkUnload, onSpawnChange, onWorldLoad, onWorldLoad, onWorldSave, onWorldSave |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plugin
private Dungeonator plugin
- Dungeonator plugin instance.
dcp
private DungeonChunkProvider dcp
flattened
private java.util.HashSet<java.lang.String> flattened
- Debug field: flattened: flattened chunks
fCount
private int fCount
DWorldListener
public DWorldListener(Dungeonator plugin)
- Instantiates a new world listener.
- Parameters:
plugin
- the Dungeonator plugin instance
onChunkLoad
public void onChunkLoad(org.bukkit.event.world.ChunkLoadEvent e)
- Overrides:
onChunkLoad
in class org.bukkit.event.world.WorldListener
flatten
public void flatten(org.bukkit.World w,
org.bukkit.Chunk c)