Commit graph

90 Commits

Autor SHA1 Nachricht Datum
Erik Broes
483a878b8b Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break. 2011-04-20 19:05:14 +02:00
Andrew Ardill
dc6c906e1a The @Override annotation should only be used when overriding a method.
Not when implementing an interface.
2011-04-14 12:58:04 +10:00
sk89q
7baf5fa484 Made fauxSleeping persist on death and cross-world teleport. 2011-04-11 17:10:17 -07:00
sk89q
86c467cb50 Fixin' the problem of AFK people not in bed. 2011-04-11 11:48:31 -07:00
sk89q
27d3396a35 Added bed events and methods. 2011-04-07 11:26:51 -07:00
alron
270310a3a5 Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting. 2011-04-07 01:56:39 -04:00
Tahg
7a99fd7327 added some API for entities 2011-04-04 01:07:39 -04:00
afforess
0f3f3c552a Added player.saveData and player.loadData. 2011-04-03 15:52:07 -04:00
Stephen
5247bcba64 Implemented entity.getNearbyEntities() 2011-04-02 17:22:58 +02:00
afforess
a0b2a26c3a implementation of Entity.isDead 2011-04-02 17:19:39 +02:00
Erik Broes
c16ba1f940 Fix Entity.setVelocity 2011-04-01 12:28:55 +02:00
Dinnerbone
baa8c53be0 Implemented Wolf 2011-03-31 22:10:48 +01:00
Dinnerbone
87c36febeb Updated to Minecraft version 1.4 2011-03-31 21:40:00 +01:00
Erik Broes
ec74fe8e37 Move passenger-handling to CraftEntity 2011-03-29 23:14:59 +02:00
Celtic Minstrel
47497aa3f9 Implement Sheep.get/setSheared. 2011-03-26 17:54:03 +01:00
Celtic Minstrel
9f30c9f8f4 Implement Slime.set/getSize() 2011-03-26 17:53:26 +01:00
Erik Broes
1eb2f75f53 Copy displayname when cross-world teleporting 2011-03-25 21:22:57 +01:00
Erik Broes
9162a654c4 Implement player.getCompassTarget 2011-03-25 21:22:03 +01:00
Erik Broes
3129348866 Implementation of LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage 2011-03-24 00:32:41 +01:00
Byron Shelden
376ac51cea Fixed the PLAYER_TELEPORT event so event.getTo().getWorld() is correct. (#451) 2011-03-23 18:34:53 +01:00
Erik Broes
6043797ce0 Fix getDisplayName getting lost when getBukkitEntity is called 2011-03-13 12:52:01 +01:00
Erik Broes
7729c8b517 Sourcefiles shouldn't be executable 2011-03-12 16:12:41 +01:00
sk89q
49a3d5bfb3 Added Player.sendRawMessage(). 2011-03-12 01:06:04 -08:00
Tahg
078f48c0fb Code cleanup, fixed doors, chunk entity fetching 2011-03-11 16:25:35 -05:00
Andrew Ardill
b819ffe8a4 Implemented LivingEntity.getEyeLocation() 2011-03-09 19:43:43 +00:00
Dinnerbone
6a99d8c412 Implemented LivingEntity.damage 2011-03-07 15:59:10 +00:00
Dinnerbone
44c25340dc Velocity now sends updates to players 2011-03-05 18:48:58 +00:00
Dinnerbone
9a64d7ec1b Implemented Entity.get/setMomentum 2011-03-04 14:23:45 +00:00
FrozenCow
9832ce06f1 Synchronized and moved Hash classes 2011-03-01 16:37:19 -05:00
Dinnerbone
3dd60c168b Fixed chat 2011-03-01 19:04:16 +00:00
Erik Broes
f54469f314 Let's handle (bwhaha) the Craft* entities a bit better. 2011-03-01 17:08:18 +01:00
Dinnerbone
d142fabfc1 Sped up teleporting even more, + fixed isSneaking 2011-02-28 20:30:33 +00:00
Dinnerbone
38c2103ff4 Spiral teleporting! Wheeeee! 2011-02-28 13:21:50 +00:00
Dinnerbone
92cbb2fc23 Fixed CraftItem NPEs 2011-02-23 16:08:28 +00:00
Dinnerbone
bfca34cad4 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer and updated the version number of mc 2011-02-23 11:33:41 +00:00
Tahg
b8023ac3fa Fix for isOp 2011-02-23 14:08:42 +08:00
Dinnerbone
f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
Tahg
96435cfc76 refactor Items 2011-02-21 19:57:23 -05: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
sk89q
acd0344452 Added Entity.remove() which marks an entity for removal. 2011-02-19 18:02:12 -08: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
sk89q
5f940cf764 Added Player.chat(). 2011-02-16 21:47:01 -08: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
c097fd9ac5 Added implementation of Colorable to CraftSheep
inspired by xpansive
2011-02-12 12:29:22 +11:00
Tahg
524f966ef3 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-10 09:24:14 -05: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
Tahg
03be05790e added method to force an inventory update 2011-02-08 21:52:06 -05:00
Alexander Hesse
6ad4ca2a42 Implemented Sneak event 2011-02-08 17:12:51 +01:00