Commit Graph

594 Commits

Author SHA1 Message Date
Dinnerbone
f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
Taylor Kelly
a124bfdab5 Fix PlayerRespawnEvent for multi-worlds 2011-02-22 19:02:06 +01:00
Tahg
96435cfc76 refactor Items 2011-02-21 19:57:23 -05:00
Dinnerbone
f659231e34 N.M.S cleanup in preparation for update 2011-02-21 22:30:01 +00:00
Dinnerbone
67cf646014 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-02-21 21:27:01 +00:00
Andrew Ardill
30d1a5d3fd returning if a thread is not alive should happen before any changes to
the list of workers, hence the return statement should be in the
synchronized block.
2011-02-21 16:32:41 +11:00
Andrew Ardill
6269c1e633 implementation of isQueued() 2011-02-21 16:32:40 +11:00
Luke GB
6335a5af76 Modify URI to repo.bukkit.org 2011-02-21 00:37:09 +01:00
VictorD
bf9a55049e Second part of NPE and arctan update :3 2011-02-20 23:22:28 +01:00
VictorD
cec04a7360 Added null pointer check and switched to a faster arctan method 2011-02-20 23:16:05 +01:00
Daniel Chesters
4f249b585c Fix encoding in net.minecraft.server files. 2011-02-20 18:15:21 +01:00
David Flemström
5121ebb65d Fixed issue with color markers in messages sent to the client.
This fix eliminates crashes related to color markers being at end-of-line, and also makes colors persist across line breaks.

- The broadcast message is split up in multiple packets, one per line
- Color markers are reorganized, so that color 'sticks across lines'
- The wrapping method calculates the *rendered* line length. Thus, if the user has a weird font, it might look weird.
2011-02-20 18:15:21 +01:00
Erik Broes
09026095b6 Minor cleaning of code 2011-02-20 18:15:17 +01:00
Erik Broes
6e3ee31336 Prevent Blocks from getting lost when a chunk reloads 2011-02-20 17:09:38 +01:00
Tahg
ca4076077e fixed buttons, plates
added yield to explosion
added event for chunk unloading
2011-02-19 23:44:35 -05:00
Dinnerbone
a59149c208 Make all new loggers default to the same logging as "Minecraft" (to console + file, same format) 2011-02-20 02:14:15 +00:00
sk89q
d4b67c5549 Lowered the priority of the old command handler event. A number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event. 2011-02-19 18:02:13 -08:00
sk89q
acd0344452 Added Entity.remove() which marks an entity for removal. 2011-02-19 18:02:12 -08:00
sk89q
ec0eec5863 Added slime as a detected entity. 2011-02-19 18:02:12 -08:00
Dinnerbone
264b5c331d Redirect System.out and System.err to a Logger 2011-02-20 01:53:06 +00:00
Dinnerbone
a6b3965672 Fixed CLI arguments 2011-02-19 19:45:22 +00:00
Luke GB
b160913c43 Magic - updated gitdescriber 2011-02-19 15:36:07 +01:00
EvilSeph
bddceeaf51 When deprecating, the alternative should be provided. 2011-02-19 06:02:27 -05:00
Raphfrk
41fe211919 Added target block ray trace functionality. 2011-02-18 20:48:56 -05:00
Protected
e97889e80a Added setFireTicks(), getFireTicks() and getMaxFireTicks(). 2011-02-18 17:35:59 -05:00
EvilSeph
7b6713b918 Added pull request conventions that should be followed if you want your pull request accepted. 2011-02-18 17:17:00 -05:00
Dinnerbone
7fe0aa7460 Implemented a whole buncha Location overrides in CraftWorld 2011-02-18 16:35:05 +00:00
Dinnerbone
a5ca3e1c12 Don't kick players if a command failed from an exception 2011-02-18 16:25:56 +00:00
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