Commit graph

160 commits

Author SHA1 Message Date
CraftBukkit/Spigot
4dd5046a0d Updated commands to use CommandSender instead of Player
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:04:02 +00:00
CraftBukkit/Spigot
182031fe9d added load chunk method
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 04:57:33 +08:00
CraftBukkit/Spigot
b50a636f98 Added getBlockReplacedState to BlockPlaceEvent, in case one wants to see what type of block was there previously.
By: VictorD <victor.danell@gmail.com>
2011-01-24 23:22:28 +01:00
CraftBukkit/Spigot
d85ad792fb removed all instances of new CraftEntity* where appropriate.
Entity.getBukkitEntity() is now used instead.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-23 23:23:13 +11:00
CraftBukkit/Spigot
b49ed260f6 Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
2011-01-23 00:37:10 -08:00
CraftBukkit/Spigot
bde24c6ec9 Revert "Entity's bukkitEntity field now holds a CraftEntity by default."
This reverts commit 7a64e864fc481f001812d78cc4d767872c458706.

By: sk89q <the.sk89q@gmail.com>
2011-01-21 18:35:32 -08:00
CraftBukkit/Spigot
205cd4cf6d Entity's bukkitEntity field now holds a CraftEntity by default.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 16:21:19 -08:00
CraftBukkit/Spigot
55c3d7e57c Expanded .gitignore with some potential build folders and files.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 00:22:52 -08:00
CraftBukkit/Spigot
a7fcd2be48 CraftBlock instance getLocation() method.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:40:31 +08:00
CraftBukkit/Spigot
938a95b533 Modified POM for better Bamboo integration
By: Luke Granger-Brown <github@lukegb.com>
2011-01-20 21:21:30 +00:00
CraftBukkit/Spigot
18b72bc447 Added compass setting methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 02:05:20 -08:00
CraftBukkit/Spigot
554bde3a69 Implemented server reload
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:53:43 +00:00
CraftBukkit/Spigot
fa61eef933 Implement getSpawnLocation().
By: FeepingCreature <default_357-line@yahoo.de>
2011-01-16 07:00:01 +08:00
CraftBukkit/Spigot
faf7e54b22 Fixed blockcache being inaccurate
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 00:16:57 +00:00
CraftBukkit/Spigot
10b548b654 Fix up NPE's in EntityMinecart/CraftVehicle and removed a little un-needed code in EntityArrow
By: speakeasy <mekevin1917@gmail.com>
2011-01-20 05:41:02 +08:00
CraftBukkit/Spigot
52cc6f5bf6 reverted # from server console
By: Tahg <tahgtahv@gmail.com>
2011-01-18 19:42:49 -05:00
CraftBukkit/Spigot
c01cdcb54a Fixed getChunkAt and usage.
By: Erik Broes <erikbroes@grum.nl>
2011-01-18 12:37:01 +01:00
CraftBukkit/Spigot
6e823e9992 Updated plugin commands to allow for aliases and fallback on name collision.
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:13:45 +01:00
CraftBukkit/Spigot
77cff3ea87 Fixed: http://redmine.bukkit.org/issues/204 - fixed armor-slot order.
By: Erik Broes <erikbroes@grum.nl>
2011-01-18 00:46:03 +01:00
CraftBukkit/Spigot
f69c8d2c8a fixed exact name matching
By: Tahg <tahgtahv@gmail.com>
2011-01-17 16:55:48 -05:00
CraftBukkit/Spigot
eeaaea9223 fixed health
By: Tahg <tahgtahv@gmail.com>
2011-01-17 16:45:20 -05:00
CraftBukkit/Spigot
9f88190ab1 allowed partial name matching
By: Tahg <tahgtahv@gmail.com>
2011-01-17 15:50:37 -05:00
CraftBukkit/Spigot
49d67847a7 Depreceated getCraftEntity() as it has been superceded by
getBukkitEntity()

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:26:47 +08:00
CraftBukkit/Spigot
318a071c4c New Entity Classes implementing the new Bukkit interfaces.
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:12:47 +08:00
CraftBukkit/Spigot
ea7442232c Updates to all Entities to use getBukkitEntity() any time an event is
raised.
Similar update to CraftVehicle and CraftLivingEntity

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 08:53:42 +08:00
CraftBukkit/Spigot
c754e7ffc2 Updated CraftInventory to make use of the proper generics in the Inventory interface.
Updated loads of return values to now return actual Craft* objects.
Added a shitton of constructors to CraftItemStack so you can now finally properly make your ItemStacks.

By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:55:53 +01:00
CraftBukkit/Spigot
11d156e65e Updated CraftHumanEntity to refresh the inventory on death, should fix odd behavior around that.
By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:55:18 +01:00
CraftBukkit/Spigot
bbc2093115 Fixed error in CraftInventory.setContents().
By: sk89q <the.sk89q@gmail.com>
2011-01-16 13:29:30 -08:00
CraftBukkit/Spigot
ecc5a3be98 Fixed removeItem implementation
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 16:39:05 +01:00
CraftBukkit/Spigot
3a61243363 Added registration of plugin commands on plugin load.
By: VictorD <victor.danell@gmail.com>
2011-01-16 16:35:37 +01:00
CraftBukkit/Spigot
06f8475467 Implement removeItem(ItemStack...)
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 16:09:59 +01:00
CraftBukkit/Spigot
2f53dbcd0f Fixed NPE while clearing a slot
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 14:34:31 +01:00
CraftBukkit/Spigot
ffc7372165 Implementation of the EntityDamage*Events.
Many files were added to enable the correct hooking of these events, and a new
event EntityDamageByProjectileEvent. EntityDamageByProjectileEvent adds the
ability to get the projectile entity (such as an egg) and also set if the
projectile 'bounces'. Only two projectiles currently respond to bouncing, Arrow
and Fish - were if the fish bounces it means the fish is not hooked. Bouncing
is independent of any damage caused via the event. In addition, the changes to
EntityDamageEvent that enable setting post-event damage were implemented in all
hooks.

Finally, a bug in CraftArrow was fixed, where the constructor was not declared public.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-12 16:48:19 +11:00
CraftBukkit/Spigot
31192b03fe Fixed an issue where the block cache became out of date and events were giving erroneous block information.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 21:10:24 -08:00
CraftBukkit/Spigot
5048539bfa Added Block.getRelative(BlockFace).
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:45 -08:00
CraftBukkit/Spigot
88cf954f4e Added item-in-hand related API.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:28 -08:00
CraftBukkit/Spigot
dbc9e0eb55 Added CraftInventory.setContents(); made CraftInventory.setItem(), CraftInventory.getItem(), and CraftItemStack() damage-aware.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 14:56:35 -08:00
CraftBukkit/Spigot
6ebeca35fe Fixed compilation issues (+small import cleanup in CraftWorld)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:52:43 +00:00
CraftBukkit/Spigot
f4f967ec4d Fixed World.dropItemNaturally() not specifying the Y and Z coordinates correctly.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:45:48 -08:00
CraftBukkit/Spigot
705ec7c646 Moved org.bukkit.Vector to org.bukkit.util.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:44:22 -08:00
CraftBukkit/Spigot
397ddecd61 Added Server.broadcastMessage().
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:40:15 -08:00
CraftBukkit/Spigot
39e667c78e Moved org.bukkit.craftbukkit.Block to org.bukkit.craftbukkit.block.Block
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:40:18 +00:00
CraftBukkit/Spigot
6023a1d31b Moved block stuff from org.bukkit to org.bukkit.block
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:36:57 +00:00
CraftBukkit/Spigot
a93d5e571a Missed an Entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:31:59 +00:00
CraftBukkit/Spigot
a33d5b32d0 All inventory stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.inventory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:29:17 +00:00
CraftBukkit/Spigot
7fea4768fc All inventory stuff in org.bukkit moved to org.bukkit.inventory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:27:29 +00:00
CraftBukkit/Spigot
f4fdebbd4b All entity stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:23:28 +00:00
CraftBukkit/Spigot
dcbc0f4b64 All entity stuff in org.bukkit moved to org.bukkit.entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:21:05 +00:00
CraftBukkit/Spigot
7e48b38166 Implemented clear/remove for inventories
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:55:53 +01:00
CraftBukkit/Spigot
302b68c3ea Events should be present tense, not paste tense.
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:26:05 +01:00