Commit Graph

666 Commits

Author SHA1 Message Date
EvilSeph
e544fb71c3 Changed hatchingType to MobType from CreatureType as refactoring (and so plugin breaking) will take place in a week. 2011-02-17 03:17:13 -05:00
Andrew Ardill
da6ce2d80e Implementation of spawnCreature(Location, CreatureType) 2011-02-17 17:59:27 +11:00
Andrew Ardill
0703f4f458 Updated to use CreatureType and CreatureSpawner
Nothing will break as a result of the refactoring of MobType due to
deprecated code being left in. These will be removed after 1 week,
enough time for plugin devs time to migrate.
2011-02-17 17:57:52 +11:00
sk89q
5f940cf764 Added Player.chat(). 2011-02-16 21:47:01 -08:00
EvilSeph
03c118f343 Added CREATURE_SPAWN event per ss2man44 2011-02-16 22:45:00 -05:00
Andrew Ardill
dc45946163 implementation of isCurrentlyRunning(int taskId);
Burrows down to the worker thread assigned to this task, and returns
its alive status. If no such thread exists, then the task is not
running!
2011-02-17 13:27:54 +11:00
Luke GB
cf6c435c6e That messed up Jenkins 2011-02-15 22:55:23 +01:00
Luke GB
33bcae40c6 Further POM haxx. Now reads git description during build process.
NOTE: This may break people building on Windows - you must have git on your path. Ah well, who cares.
2011-02-15 22:35:47 +01:00
Luke Granger-Brown
c806adb068 Add repository info to POM 2011-02-15 00:36:00 +01:00
Raphfrk
973d61c418 Allows calling of functions in the main thread 2011-02-13 22:12:26 -05:00
Meaglin
4a4b67cc42 Implementation of BlockBreakEvent 2011-02-13 13:19:51 +01:00
Raphfrk
9715e77852 Fixes a deadlock issue in CraftScheduler 2011-02-13 00:55:58 -05:00
Erik Broes
40f7986a11 Make the spawning listen to the server spawn-settings 2011-02-13 01:21:50 +01:00
Stéphan Kochen
f789c9e744 Replace a net.minecraft accessor with a public attr. 2011-02-12 16:17:43 +01:00
afforess
5aa95ee469 Added MaxSpeed methods to minecarts. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts. 2011-02-12 16:14:43 +01:00
Andrew Ardill
be9a264249 Fixed bug in event when taking fall damage. Now uses event damage. 2011-02-12 22:40:28 +11:00
culturespy
e2899b9dd7 Added EXPLOSION_PRIMED event. 2011-02-12 02:57:58 -05:00
Timberjaw
348e6c75c7 Added SIGN_CHANGE event. 2011-02-11 20:49:09 -05:00
Andrew Ardill
c097fd9ac5 Added implementation of Colorable to CraftSheep
inspired by xpansive
2011-02-12 12:29:22 +11:00
James Logsdon
09c6389b3f Adding PLAYER_PICKUP_ITEM event hook 2011-02-12 01:39:00 +01:00
James Logsdon
82931a601d Adding PLAYER_DROP_ITEM event hook 2011-02-12 01:09:42 +01:00
cvpcs
71f97ffc5b Send a BlockRedstoneEvent if powered redstone is destroyed
When a powered redstone block is destroyed, a BlockRedstoneEvent should
be sent to notify plugins that particular block is returning to current
0 before the BlockDamageEvent is sent.  This allows plugins dealing with
redstone to not have to listen for redstone destruction, but just listen
to changes in current.
2011-02-12 00:32:39 +01:00
Dinnerbone
4b6c633659 Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a 2011-02-11 09:27:57 +00:00
Tahg
c0b940d619 more chunk fixes 2011-02-11 02:01:32 -05:00
Tahg
41e136b880 fix in LongHashset.java 2011-02-10 14:59:41 -05:00
Tahg
89232b826b fixes for chunks 2011-02-10 14:33:41 -05:00
Tahg
524f966ef3 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-10 09:24:14 -05:00
Dinnerbone
1d49e5a4b1 Fixed chunk unloading 2011-02-10 13:27:53 +00:00
Dinnerbone
a52f5ef520 Threadsafe World.c(int i, int j) 2011-02-10 11:56:30 +00:00
Zenexer
96794e15db Added spawn-protection property to server.properties 2011-02-10 12:16:31 +08:00
Zenexer
1da852265a Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Zenexer
fbe54b05f4 Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Dinnerbone
814c9d444f Fixed LongHashtable.values() 2011-02-09 20:55:04 +00:00
Dinnerbone
18efbd82b6 Worlds are now in the order they are loaded, with [0] being default 2011-02-09 20:25:14 +00:00
Dinnerbone
6e58053eb7 Probably fixed getLoadedChunks() 2011-02-09 20:00:17 +00:00
Dinnerbone
7401ee54a3 Added Creature.getTarget 2011-02-09 13:44:46 +00:00
James Logsdon
e3011157b1 Added Creature.setTarget per jlogsdon 2011-02-09 13:27:28 +00:00
Dinnerbone
7988345368 Added call to new event on world save (at stop and force save). (Per EyvindRM) 2011-02-09 12:59:00 +00:00
Ben64
0592b334f6 Terrain generation bugfix (will also be in Mojang 1.3) 2011-02-09 10:01:41 +01:00
Tahg
03be05790e added method to force an inventory update 2011-02-08 21:52:06 -05:00
Tahg
43ef3b3037 fixed explosions 2011-02-08 20:28:10 -05:00
Tahg
61b79e8f98 inventory fixes 2011-02-08 19:47:08 -05:00
Luke GB
b76bc9cfb3 Unseal net.bukkit
Fix fail
Prepare to seal. THIS IS ONE WEEK'S NOTICE.
2011-02-08 22:46:48 +00:00
Tahg
b9a37399ae changed fence behaviour 2011-02-08 17:10:48 -05:00
Luke GB
2d2f54cf0e JAR is now sealed! No com.bukkit, org.bukkit or net.bukkit packaged plugins will load. 2011-02-08 22:03:42 +00:00
Alexander Hesse
6ad4ca2a42 Implemented Sneak event 2011-02-08 17:12:51 +01:00
Dinnerbone
1a983aceb3 Just cleaning some commits. Don't mind me. 2011-02-08 15:22:46 +00:00
Dinnerbone
3526a66fbe Added loadChunk, unloadChunk and unloadChunkRequest. 2011-02-08 14:26:55 +00:00
Dinnerbone
6b9b59db4e Added getContents() to TileEntityDispenser to be compatible with
InventoryChanged TileEntityDispenser to be built against latest mc-dev
Merge branch 'merge-fork' of https://github.com/Hidendra/CraftBukkit
2011-02-08 14:22:52 +00:00
culturespy
a9a0ad6278 Adding Craftbukkit comment-tags. 2011-02-08 14:11:34 +00:00