Commit Graph

74 Commits

Author SHA1 Message Date
aaab1cba23 Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 16:02:30 +01:00
409c447cbd Added world.getWorldFolder, server.getWorldContainer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:46:47 +00:00
b5fed7b863 BREAKING CHANGE: Renamed Environment.SKYLANDS to THE_END
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:06 +00:00
3ea8302a86 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:39 -04:00
a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
e1825bdfd5 Added world.getSeaLevel()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:32 +01:00
f4545766e3 Added new autosave methods to World
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 20:46:44 +01:00
90cd1c8c9b Revert "Interface for changing the view distance."
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:26:42 -04:00
741f5e69ae 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

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-08-12 00:19:52 +10:00
57f0d1b824 Implemented per world setting to keep the spawn in memory or not.
By: Rigby <rigby@onarandombox.com>
2011-07-27 00:24:38 +01:00
26707ee929 Added various utility methods to make chunk handling easier. Thanks Meaglin!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:32:28 -04:00
2be5996714 Added world.getMaxHeight (currently static until 1.8)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 00:03:16 +01:00
3c852a3c8f Remove superfluous javadocs
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 17:02:03 +02:00
ecc7ca0477 Remove some deprecated methods in World
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 16:59:04 +02:00
c68daa00bd 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.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-13 06:52:19 +01:00
fa0ea3b75c uuid changes
By: Tahg <tahgtahv@gmail.com>
2011-07-13 00:15:47 -04:00
52c737b3c1 Implements World UID.
By: Rigby <rigby@onarandombox.com>
2011-07-05 04:49:03 +01:00
797f79e621 Added API to allow plugins to set the world's spawn flags.
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:08:43 -04:00
05163fbadc Added ChunkSnapShot improvements. Thanks mikeprimm!
Added support for biome data to chunk snapshot
Added method for returning empty chunk snapshot (for ungenerated chunks)

By: EvilSeph <evilseph@unaligned.org>
2011-06-17 09:21:56 -04:00
bdcef14cde Added a general spawn method.
By: sunkid <sunkid@iminurnetz.com>
2011-06-08 15:50:22 -07:00
e1ffe6625c Added setFire option to createExplosion methods.
By: sunkid <sunkid@iminurnetz.com>
2011-06-12 15:48:05 -07:00
c5408f1030 Generic cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-06-12 01:18:17 +02:00
727890f5a8 Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:13:36 -07:00
c70487a3ee Cleaned up some Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:11:35 -07:00
4cc21b5ce6 Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:07:45 -07:00
e471f45bae Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 22:57:44 -07:00
db11d49745 Merge branch 'sound' of https://github.com/sunkid/Bukkit
By: sk89q <the.sk89q@gmail.com>
2011-06-09 22:38:21 -07:00
e8e27a86f4 added playSound methods to the World interface and a utility method to Location
By: sunkid <sunkid@iminurnetz.com>
2011-06-09 12:32:55 -07:00
0786934ce5 Added method to create an explosion in world. Thanks Zaraza107!
By: EvilSeph <evilseph@unaligned.org>
2011-06-09 04:12:39 -04:00
6ad28ba607 Added custom world generator API
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 13:23:30 +01:00
6778c953f4 Added new World.Environment
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 06:14:48 +01:00
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
e7d4bff770 Added World.strikeLightningEffect() that does no damage.
By: sk89q <the.sk89q@gmail.com>
2011-05-06 19:25:43 -07:00
709aa84d2f Added per world PVP setting support.
By: Rigby <rigby@onarandombox.com>
2011-04-30 00:03:36 +01:00
24eb39b2e6 Added the ability to retrieve a world's Seed.
By: Rigby <rigby@onarandombox.com>
2011-04-23 17:57:30 +01:00
fbb5ca1dc6 Add methods to control thunder.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 03:12:54 -07:00
28011b1217 Added weather control methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 02:17:53 -07:00
60bfea1fce Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 01:25:41 -07:00
ae9f2fb195 World.spawnCreature now returns LivingEntity instead of Creature.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-19 01:33:38 -04:00
2c403adf74 Regenerate and refresh chunk methods
By: Raphfrk <raphfrk@gmail.com>
2011-03-02 20:28:49 +00:00
56f58d646a Add World.save() and Server.savePlayers();
By: Morgan Humes <mrh9724@lanaddict.com>
2011-02-25 21:32:25 -05:00
2d93fec7d2 Added method to set spawn location
By: SpeaKeasY <mekevin1917@gmail.com>
2011-02-28 20:19:47 -06:00
a7d6c7c660 Added World.getPlayers
By: Tanel Suurhans <tanel.suurhans@perfectline.ee>
2011-02-24 21:37:54 +02:00
3cc14ab40f refactor Items
By: Tahg <tahgtahv@gmail.com>
2011-02-21 19:57:06 -05:00
6203fc2652 (Relatively) minor javadoc cleanup
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 22:47:23 +00:00
d7633fa07b Added a whole buncha overloads for Location in World
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:34:49 +00:00
eb206f49c1 Added spawnCreature(Location, CreatureType)
This function will allow spawning of creatures in the world, removing
the need to interface with CraftBukkit directly.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 14:33:31 +11:00
d245d54634 Added loadChunk, unloadChunk and unloadChunkRequest.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 14:29:52 +00:00
4f683383bb Added World.Environment enum, changed createWorld to use it
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 20:47:39 +00:00
2a85f4848b getLoadedChunks method
By: Raphfrk <raphfrk@gmail.com>
2011-02-04 20:11:20 +00:00