Commit graph

284 commits

Author SHA1 Message Date
Bukkit/Spigot
2b2dec5b91 Added getBlockReplacedState to enable checking of type of replaced block.
By: VictorD <victor.danell@gmail.com>
2011-01-24 23:24:17 +01:00
Bukkit/Spigot
6c00742888 Added PlayerEggThrowEvent.getEgg().
By: sk89q <the.sk89q@gmail.com>
2011-01-23 14:06:58 -08:00
Bukkit/Spigot
d7456c8007 Added squid as a valid mob type.
By: sk89q <the.sk89q@gmail.com>
2011-01-23 13:16:57 -08:00
Bukkit/Spigot
b880bd518f 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:36 -08:00
Bukkit/Spigot
ed4548f6e5 Expanded .gitignore with potential build files.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 00:23:47 -08:00
Bukkit/Spigot
77283a97be EntityExplodeEvent keeps track of its Location.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:41:43 +08:00
Bukkit/Spigot
5fcc3b626c Block instance getLocation() method.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:39:31 +08:00
Bukkit/Spigot
74cf5f3f85 Fully implemented /version
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 05:46:23 +00:00
Bukkit/Spigot
1862bd1f09 Added extra plugin description fields
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 05:19:19 +00:00
Bukkit/Spigot
2262d7fba0 Added compass setting methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 02:05:31 -08:00
Bukkit/Spigot
da6afe3866 Added suffocation damage as an event.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 00:49:29 -08:00
Bukkit/Spigot
a5351d75bb fix for entity damaged by projectile event
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-20 20:22:34 +11:00
Bukkit/Spigot
396f22f816 Added /version and /reload commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:53:27 +00:00
Bukkit/Spigot
f0ab429e01 Fixed empty check in PluginCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:08:15 +00:00
Bukkit/Spigot
81023892fe Material.getMaxStackSize
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 02:51:17 +00:00
Bukkit/Spigot
4cd2844713 Fixed Button and Lever MaterialData returning incorrect getAttachedFace()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 01:14:49 +00:00
Bukkit/Spigot
108a146a8b add getSpawnLocation() to the World API
By: FeepingCreature <default_357-line@yahoo.de>
2011-01-16 07:01:15 +08:00
Bukkit/Spigot
f0cb21dc46 Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
Requires corresponding CraftBukkit change.

NOTE: The email address of this commit used to be: "Nathan Wolf < <nteske@gmail.com>"
      This has been fixed but will cause all commits after to change.

By: Nathan Wolf <nteske@gmail.com>
2011-01-19 00:07:38 +08:00
Bukkit/Spigot
14009cb350 Event hooks were ordered in backwards order versus the expected way. To avoid sorting problems and manual sorting, changed priority to be handled by a PriorityQueue<>() rather than a manually sorted List().
Resolves issue 211 http://bugs.bukkit.org/issues/211

By: mcasper <mcasper@FLARE>
2011-01-19 10:23:00 +08:00
Bukkit/Spigot
4676f99999 added isOp api
By: Tahg <tahgtahv@gmail.com>
2011-01-18 22:32:05 -05:00
Bukkit/Spigot
2c532f4d88 Fixed minor bug with alias registration and removed debug output
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:54:48 +01:00
Bukkit/Spigot
ab6f5d4bc2 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict.
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:12:50 +01:00
Bukkit/Spigot
b46210453c Merge branch 'master' of https://github.com/Bukkit/Bukkit
By: Tahg <tahgtahv@gmail.com>
2011-01-17 17:40:13 -05:00
Bukkit/Spigot
8fad7bf631 fixed storage of data field
By: Tahg <tahgtahv@gmail.com>
2011-01-17 17:39:27 -05:00
Bukkit/Spigot
97600e3c88 added call to onBlockRedstoneChange
By: Tal Eisenberg <eisental@gmail.com>
2011-01-18 04:26:55 +08:00
Bukkit/Spigot
4b7aafea5d Added EntityExplodeEvent :D
By: speakeasy <mekevin1917@gmail.com>
2011-01-17 22:27:48 +08:00
Bukkit/Spigot
6ab2ec9f85 Added interfaces for every entity type. Most (if not all) are empty.
These are place holders at the moment, to be used when determining
entity type. Further functionality could be added to these interfaces
later.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:28:28 +08:00
Bukkit/Spigot
3b1fe7dcf7 Updated Inventory with proper generics, fixed ItemStack to have data as 'Byte' so we can put in nulls when not having data.
By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:50:33 +01:00
Bukkit/Spigot
48feb74b19 Added Configuration.getKeys().
By: sk89q <the.sk89q@gmail.com>
2011-01-16 13:28:59 -08:00
Bukkit/Spigot
6000fee9fc Added null check and removed unused method from Fillr
By: VictorD <victor.danell@gmail.com>
2011-01-16 17:05:13 +01:00
Bukkit/Spigot
a17e7470e8 Added command registration to plugin config file. Registered commands are sent to the corresponding plugin.onCommand method when executed.
By: VictorD <victor.danell@gmail.com>
2011-01-16 16:30:34 +01:00
Bukkit/Spigot
c72a7064d8 Added Invenrory.removeItem(ItemStack...)
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 16:10:22 +01:00
Bukkit/Spigot
c95bbac2bd Removed unnecessary imports
By: durron597 <martin.jared@gmail.com>
2011-01-16 09:00:25 -05:00
Bukkit/Spigot
4fd1c13eb2 Removed field that shouldn't be there.
By: durron597 <martin.jared@gmail.com>
2011-01-15 17:18:46 -05:00
Bukkit/Spigot
40364131cb Implementation of the EntityDamage*Events.
A new event EntityDamageByProjectileEvent was created. EntityDamageByProjectileEvent
adds the ability to get the projectile entity (such as an egg) and also set if
the projectile 'bounces'. New interfaces were created to facilitate all kinds
of projectile entities. Changes were made to facilitate the new event, and
enable other events, for plugins and event listeners.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-13 00:15:31 +11:00
Bukkit/Spigot
b105f07fa7 Fixed BlockFromToEvent not knowing source block from destination block.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 21:20:23 -08:00
Bukkit/Spigot
a92c284ca1 Added Block.getRelative(BlockFace).
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:39 -08:00
Bukkit/Spigot
fdc7e20d71 Added item-in-hand related API.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:19 -08:00
Bukkit/Spigot
b202a59909 Updated JavaPluginLoader with renamed methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 17:14:28 -08:00
Bukkit/Spigot
6c64ffd54e Fixed BlockListener methods to be present tense.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 17:09:10 -08:00
Bukkit/Spigot
ea2c6665c0 Added setContents() to Inventory.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 14:41:25 -08:00
Bukkit/Spigot
650e0749d1 Moved org.bukkit.Vector to org.bukkit.util.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:43:09 -08:00
Bukkit/Spigot
60517316e9 Added Server.broadcastMessage().
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:40:07 -08:00
Bukkit/Spigot
73edbc4902 Moved block stuff from org.bukkit to org.bukkit.block
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:37:08 +00:00
Bukkit/Spigot
1de48a9184 All inventory stuff in org.bukkit moved to org.bukkit.inventory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:27:40 +00:00
Bukkit/Spigot
e2fd2dfd00 All entity stuff in org.bukkit moved to org.bukkit.entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:20:59 +00:00
Bukkit/Spigot
79b2b7fc32 Added Sign MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:11:39 +00:00
Bukkit/Spigot
1b2e403319 Added Inventory.clear(|index) Inventory.remove(typeId|Material|ItemStack)
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:58:47 +01:00
Bukkit/Spigot
15002f6373 Fixed 3 event rename typos, cheers Master-Guy for letting me know
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:57:21 +01:00
Bukkit/Spigot
59524fdb80 Added Button MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:58:34 +00:00