67 Commits

Author SHA1 Message Date
EvilSeph
6f5747d8b8 Revert "Interface for changing the view distance." 2011-08-15 14:26:42 -04:00
Andrew Ardill
1c4aba8d1f Interface for changing the view distance.
Can be changed server wide, per world and per player.
Only server wide changes are kept between server restarts.

Setting the server or world view distance should fail if the
view distance is not between 3 and 15
2011-08-15 15:11:34 +10:00
Rigby
fd2b5f3ec5 Implemented per world setting to keep the spawn in memory or not. 2011-08-05 14:37:56 -04:00
EvilSeph
bf3af40b2d Added various utility methods to make chunk handling easier. Thanks Meaglin! 2011-07-28 00:32:28 -04:00
Dinnerbone
8836bf8419 Added world.getMaxHeight (currently static until 1.8) 2011-07-20 00:03:16 +01:00
Erik Broes
6ff9f7cad6 Remove superfluous javadocs 2011-07-17 17:20:22 +02:00
Erik Broes
c771cb355c Remove some deprecated methods in World 2011-07-17 17:02:37 +02:00
Dinnerbone
4c36e7903e Added helper methods World.getHighestBlockAt, Block.isEmpty, Block.isLiquid. Added methods to safely retrieve biome/temperature/humidity data for a block without generating the block. 2011-07-13 10:39:41 +01:00
Tahg
5851edd31f uuid changes 2011-07-13 00:15:47 -04:00
Rigby
3f2bbab7e6 Implements World UID. 2011-07-07 13:56:29 -04:00
EvilSeph
3b7f86ba5b Added API to allow plugins to set the world's spawn flags. 2011-06-19 06:34:07 -04:00
EvilSeph
79815f7d9a Added ChunkSnapShot improvements. Thanks mikeprimm!
Added support for biome data to chunk snapshot
Added method for returning empty chunk snapshot (for ungenerated chunks)
2011-06-17 09:21:56 -04:00
sunkid
ad19b8736b Added a general spawn method. 2011-06-17 01:57:12 -04:00
sunkid
91ae9cbf92 Added setFire option to createExplosion methods. 2011-06-17 01:42:26 -04:00
Erik Broes
0ac6a0bfe6 Generic cleanup 2011-06-12 12:49:08 +02:00
sk89q
77d247e0d1 Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values. 2011-06-09 23:13:36 -07:00
sk89q
04d6366083 Cleaned up some Javadocs. 2011-06-09 23:11:35 -07:00
sk89q
b9f1cbefc8 Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said. 2011-06-09 23:07:45 -07:00
sk89q
18c9b1c538 Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds. 2011-06-09 22:57:44 -07:00
sk89q
7d005d63e4 Merge branch 'sound' of https://github.com/sunkid/Bukkit 2011-06-09 22:38:21 -07:00
sunkid
c91841f031 added playSound methods to the World interface and a utility method to Location 2011-06-09 12:32:55 -07:00
EvilSeph
766e55597e Added method to create an explosion in world. Thanks Zaraza107! 2011-06-09 04:12:39 -04:00
Dinnerbone
f784af8f3e Added custom world generator API 2011-06-06 18:37:20 +01:00
Dinnerbone
3eec4bba3b Added new World.Environment 2011-05-26 06:14:48 +01:00
Erik Broes
992f1f2bf3 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
8b13c8827c Added World.strikeLightningEffect() that does no damage. 2011-05-06 19:25:43 -07:00
Rigby
5315ea2595 Added per world PVP setting support. 2011-05-02 00:28:33 -04:00
Rigby
590fbbc104 Added the ability to retrieve a world's Seed. 2011-04-25 16:48:44 -04:00
sk89q
98b331ba86 Add methods to control thunder. 2011-04-22 03:12:54 -07:00
sk89q
aaa5278efb Added weather control methods. 2011-04-22 02:17:53 -07:00
sk89q
95429ad663 Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike. 2011-04-22 01:25:41 -07:00
Celtic Minstrel
b1b2efa4a5 World.spawnCreature now returns LivingEntity instead of Creature. 2011-03-26 18:11:21 +01:00
Raphfrk
0967fd031c Regenerate and refresh chunk methods 2011-03-07 12:34:35 +00:00
Morgan Humes
cb66f868b4 Add World.save() and Server.savePlayers(); 2011-03-02 16:47:43 +01:00
SpeaKeasY
42d4daddde Added method to set spawn location 2011-03-01 10:43:22 +01:00
Tanel Suurhans
f03df70557 Added World.getPlayers 2011-02-28 16:37:21 +00:00
Tahg
dbab772ca8 refactor Items 2011-02-21 19:57:06 -05:00
Dinnerbone
3f971e42eb (Relatively) minor javadoc cleanup 2011-02-19 22:49:55 +00:00
Dinnerbone
31f67329ce Added a whole buncha overloads for Location in World 2011-02-18 16:34:49 +00:00
Andrew Ardill
64e82042a6 Added spawnCreature(Location, CreatureType)
This function will allow spawning of creatures in the world, removing
the need to interface with CraftBukkit directly.
2011-02-17 18:02:12 +11:00
Dinnerbone
8bfc7df3cf Added loadChunk, unloadChunk and unloadChunkRequest. 2011-02-08 14:29:52 +00:00
Dinnerbone
93d15e6228 Added World.Environment enum, changed createWorld to use it 2011-02-07 01:56:38 +00:00
Raphfrk
f24d79052c getLoadedChunks method 2011-02-05 14:50:19 +01:00
Erik Broes
01988e8f6b General cleanup (deprecated+whitespace) 2011-02-02 00:28:41 +01:00
Erik Broes
cbe32fca80 Add Chunk.getBlock(x,y,z), World.loadChunk(x,z) World.isChunkLoaded(x,z). 2011-02-02 00:28:41 +01:00
Dinnerbone
fb9fdc518e What's the time, mr wolf? 2011-02-01 14:53:26 +00:00
sk89q
9831f3960d Added support for different tree generation types and a callback. 2011-01-30 13:54:20 -08:00
sk89q
8e927a84bb Added methods to get a list of entities to World. 2011-01-26 12:48:13 -08:00
Raphfrk
5f5ed85bbe some changes to comments 2011-01-25 19:11:57 +08:00
Raphfrk
95b50850bc added load chunk method 2011-01-25 19:11:56 +08:00