Commit graph

132 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
6b25a95a88 Remember, minimal diffs and *NO TABS*
By: Erik Broes <erikbroes@grum.nl>
2011-01-10 09:30:34 +01:00
CraftBukkit/Spigot
38e7b5cb6a Revert "Bukkit Timers, now with 100% less github-services branch."
This reverts commit 7c37a03a092be7e9c3fb242b4cbe4f6644899af6.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-10 03:09:41 +00:00
CraftBukkit/Spigot
8ae8293fa8 Fixed CIP
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 11:03:53 +08:00
CraftBukkit/Spigot
3b1844601a Bukkit Timers, now with 100% less github-services branch.
By: thylordroot <organicnightmare@gmail.com>
2011-01-10 10:10:37 +08:00
CraftBukkit/Spigot
cc7e6db997 -
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 09:57:47 +08:00
CraftBukkit/Spigot
76cc515db3 PlayerInventory.getSize should not count armor slots.
By: Erik Broes <erikbroes@grum.nl>
2011-01-10 00:41:22 +01:00
CraftBukkit/Spigot
87747a1304 Fixed some bugs with inventory
By: Erik Broes <erikbroes@grum.nl>
2011-01-09 23:41:05 +01:00
CraftBukkit/Spigot
31ed08bab5 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit
By: Tahg <tahgtahv@gmail.com>
2011-01-09 15:01:25 -05:00
CraftBukkit/Spigot
c8094f4225 Added function to get player ip
By: Tahg <tahgtahv@gmail.com>
2011-01-09 15:01:09 -05:00
CraftBukkit/Spigot
76e05aa578 Added getContents() to IInventory and implemented it.
Implemented Inventory and PlayerInventory and updated StorageMinecart and Slot.
Added getMaxStackSize to CraftItemStack.

By: Erik Broes <erikbroes@grum.nl>
2011-01-09 18:27:46 +01:00
CraftBukkit/Spigot
e0eb9be1ba Fixed CraftPlayer.isOnline
By: Tahg <tahgtahv@gmail.com>
2011-01-06 02:50:44 -05:00
CraftBukkit/Spigot
514167e661 Show reason for invalid plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:56:31 +00:00
CraftBukkit/Spigot
8bb6cd38e7 Added Server.getTime and Server.setTime
By: FrozenCow <frozencow@gmail.com>
2011-01-04 16:22:22 +08:00
CraftBukkit/Spigot
0be5b28936 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-05 04:54:39 -05:00
CraftBukkit/Spigot
d62c61e91b Initial implementation of inventory stuff, (read-)only for StorageMinecart sofar
By: Erik Broes <erikbroes@ripe.net>
2011-01-05 01:00:57 +01:00