Commit Graph

147 Commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
a265092ce0 Changed BlockFace enum to match coding standards
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:16:30 +00:00
CraftBukkit/Spigot
5c16d49e03 Implemented int getBlockTypeIdAt(int x, int y, int z).
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:01:49 +01:00
CraftBukkit/Spigot
fb25b100ab Global ID -> Id rename
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 20:53:20 +01:00
CraftBukkit/Spigot
2bc8736604 Implemented BlockState MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 00:12:55 +00:00
CraftBukkit/Spigot
6f436eaf31 Added kick player
By: speakeasy <mekevin1917@gmail.com>
2011-01-15 09:19:54 +08:00
CraftBukkit/Spigot
c9f019f68c Updated pom once more! proper repo this time :D
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 01:24:18 +01:00
CraftBukkit/Spigot
25e9efb4a5 Moved to more permanent maven repo
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 01:12:53 +01:00
CraftBukkit/Spigot
5899ec007c Fixed blocks not keeping data on placement
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 19:44:11 +00:00
CraftBukkit/Spigot
c49063334a Update to Minecraft Server 1.2_01
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 13:47:47 +00:00
CraftBukkit/Spigot
c695452813 Update to Minecraft Server 1.2
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 13:31:10 +00:00
CraftBukkit/Spigot
ff4b91655a Small whitespace/warning sanitation
By: Erik Broes <erikbroes@grum.nl>
2011-01-11 23:11:10 +01:00
CraftBukkit/Spigot
870ee0b0ec Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s
By: Erik Broes <erikbroes@ripe.net>
2011-01-11 09:25:13 +01:00
CraftBukkit/Spigot
5b605fdc4f Fixed CraftWorld.spawnArrow() not setting X, Y, Z positions correctly.
By: sk89q <the.sk89q@gmail.com>
2011-01-10 14:13:44 -08:00