Commit graph

476 commits

Author SHA1 Message Date
Bukkit/Spigot
09916f398f Added setFireTicks(), getFireTicks() and getMaxFireTicks().
By: Protected <myshelter@gmail.com>
2011-02-14 17:35:43 +00:00
Bukkit/Spigot
77a963e3eb Added pull request conventions that should be followed if you want your pull requests accepted.
By: EvilSeph <evilseph@unaligned.org>
2011-02-18 17:14:18 -05:00
Bukkit/Spigot
d7633fa07b Added a whole buncha overloads for Location in World
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:34:49 +00:00
Bukkit/Spigot
9adb4e4d92 Location.getBlock() helper method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:28:42 +00:00
Bukkit/Spigot
636c1ec83a Exception handling in commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:25:06 +00:00
Bukkit/Spigot
eb206f49c1 Added spawnCreature(Location, CreatureType)
This function will allow spawning of creatures in the world, removing
the need to interface with CraftBukkit directly.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 14:33:31 +11:00
Bukkit/Spigot
ca55cacd67 Renamed MobType->CreatureType and MobSpawner->CreatureSpawner.
This is to bring the names in line with the rest of bukkit.

Deprecated code has been left in to ensure nothing breaks as
a result of refactoring MobType.
This will be removed after 1 week, to give plugin devs time to
migrate

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 14:19:57 +11:00
Bukkit/Spigot
d3b62214a6 Fixed alias parsing for commands. object.toString().split(",") is NOT how you parse a YAML list!
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:45:15 -08:00
Bukkit/Spigot
7bfb006b2c Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event).
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:23:47 -08:00
Bukkit/Spigot
6a86cbbe8e Added Player.chat().
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:23:29 -08:00
Bukkit/Spigot
6190a55cad Added CREATURE_SPAWN event
By: ss2man44 <frigids@gmail.com>
2011-01-11 21:29:48 -05:00
Bukkit/Spigot
7cefb730d7 add function isCurrentlyRunning(int taskId);
returns if the given task is currently running.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-14 15:31:21 +11:00
Bukkit/Spigot
3274723ced Allows calling of functions in the main thread
By: Raphfrk <raphfrk@gmail.com>
2011-02-12 00:03:41 +00:00
Bukkit/Spigot
7b32aee768 Exposes the recently added updateInventory method.
We've decided to expose updateInventory as a temporary work-around for
 the inventory not updating issue we're aware of. The reasoning behind
 this is that addressing it properly will take some time and work and
 as this is clearly a roadblock for some plugin authors, the delay is
 not really acceptable.

By: EvilSeph <evilseph@unaligned.org>
2011-02-13 00:22:00 -05:00
Bukkit/Spigot
66761d2d4d Added getPlayer method to SignChangeEvent
By: Timberjaw <timberjaw@gmail.com>
2011-02-12 00:39:37 -08:00
Bukkit/Spigot
e30e2d1364 Windows and executable, should be 0644
By: Erik Broes <erikbroes@grum.nl>
2011-02-12 16:16:14 +01:00
Bukkit/Spigot
1336c08f59 Exposes recently added PLAYER_PICKUP_ITEM event.
By: EvilSeph <evilseph@unaligned.org>
2011-02-12 07:52:08 -05:00
Bukkit/Spigot
cc9f2e45fb Added MaxSpeed methods to minecards. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts.
Signed-off-by: afforess <afforess@gmail.com>

By: afforess <afforess@gmail.com>
2011-02-12 00:25:48 -05:00
Bukkit/Spigot
8d18ce772e Added EXPLOSION_PRIMED event.
By: culturespy <culturespy@gmail.com>
2011-02-03 21:59:42 -05:00
Bukkit/Spigot
13a3b24c47 Adds removeProperty(String path) and getEmptyNode()
By: Simon Rigby <rigby@rigbydev.co.uk>
2011-02-12 01:44:03 +00:00
Bukkit/Spigot
204952eed0 Added SIGN_CHANGE event.
By: Timberjaw <timberjaw@gmail.com>
2011-02-10 18:18:56 -08:00
Bukkit/Spigot
a3f7361535 Added Colorable interface, and made Sheep, Wool and Dye implement it.
Inspired by xpansive

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-12 12:28:38 +11:00
Bukkit/Spigot
fd090160f2 Adding PLAYER_PICKUP_ITEM event
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 17:08:53 -05:00
Bukkit/Spigot
7bbba13655 Cleaning up PlayerDropItemEvent
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 16:49:47 -05:00
Bukkit/Spigot
33c6be20bd Adding EntityDamageEvent.setDamage()
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 16:12:43 -05:00
Bukkit/Spigot
45d9101f82 Fixed Button/Lever, using a logical AND instead of XOR to get 3 face bits
By: Tal Eisenberg <eisental@gmail.com>
2011-01-21 16:30:18 -08:00
Bukkit/Spigot
845e8fbc2e PlayerChatEvent.setFormat validation
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 19:08:45 +00:00
Bukkit/Spigot
f0f2768937 Added Creature.getTarget
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 13:44:57 +00:00
Bukkit/Spigot
913e6d484a Adding Creature.setTarget() per jlogsdon
By: James Logsdon <dwarf@girsbrain.org>
2011-02-03 18:18:20 -05:00
Bukkit/Spigot
290d9aedc9 Added event for when a world is saved (EyvindRM)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 12:53:33 +00:00
Bukkit/Spigot
b280199e83 Added Sneaking Event
By: Alexander Hesse <azi@MacBook-Pro.local>
2011-01-25 19:04:52 +01:00
Bukkit/Spigot
d245d54634 Added loadChunk, unloadChunk and unloadChunkRequest.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 14:29:52 +00:00
Bukkit/Spigot
d19bdf7a67 Just breaking some redstone plugins, don't mind me
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:53:30 +00:00
Bukkit/Spigot
516b5b2226 New event WORLD_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:06:34 +00:00
Bukkit/Spigot
002613da66 Added Server.getWorld(), Server.createWorld() now checks this to avoid duplication
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 11:58:28 +00:00
Bukkit/Spigot
2dee4ab20e Commands should not be case-sensitive.
By: EvilSeph <evilseph@unaligned.org>
2011-02-06 21:56:38 -05:00
Bukkit/Spigot
4f683383bb Added World.Environment enum, changed createWorld to use it
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 20:47:39 +00:00
Bukkit/Spigot
91b977548f Changed getWorlds to List, and added createWorld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 19:24:35 +00:00
Bukkit/Spigot
a5886d6edc Scheduler
By: Raphfrk <raphfrk@gmail.com>
2011-02-02 23:51:52 +00:00
Bukkit/Spigot
d7e0bed36b Adds suppport for node lists. Tested and verified in CraftIRC
By: Animosity <nullcline@gmail.com>
2011-02-07 03:20:59 +08:00
Bukkit/Spigot
ed824523e8 Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 14:49:08 +01:00
Bukkit/Spigot
a72a6cba8e Add Server.getMaxPlayers
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 13:40:31 +01:00
Bukkit/Spigot
566638ff0c Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation)
By: Forsaken <darkmaster87@gmx.de>
2011-02-04 16:02:49 +01:00
Bukkit/Spigot
98a9148cf0 Added BlockVector a la WorldEdit as requested by #246. This BlockVector is safe to be used as keys in hash sets and hash maps, but it is mutable and careful attention must be paid to not modify the vector post-insertion into a set or map.
By: sk89q <the.sk89q@gmail.com>
2011-02-05 23:20:06 -08:00
Bukkit/Spigot
3a3e1144dc Added node and writing functions to Configuration.
By: sk89q <the.sk89q@gmail.com>
2011-02-05 22:44:48 -08:00
Bukkit/Spigot
223318b434 Updated README.md
By: Erik Broes <erikbroes@grum.nl>
2011-02-05 16:11:37 +01:00
Bukkit/Spigot
2a85f4848b getLoadedChunks method
By: Raphfrk <raphfrk@gmail.com>
2011-02-04 20:11:20 +00:00
Bukkit/Spigot
925ec8254e Moved the plugin list display out of the version command and into the plugins command.
Version should not display a list of plugins as a server running many
plugins will no longer be able to see the version output.

By: EvilSeph <evilseph@unaligned.org>
2011-02-05 04:30:18 -05:00
Bukkit/Spigot
af214bc94e Material Durability and StackSize mixup - Fix for http://redmine.bukkit.org/issues/372
By: Erik Broes <erikbroes@grum.nl>
2011-02-04 22:45:52 +01:00
Bukkit/Spigot
45fb505a90 You shouldn't be here, little guy. The ConfigurationNode is a tough place for a young keyword to live.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-04 12:17:47 +00:00
Bukkit/Spigot
b0bab301fe Merge branch 'master' of github.com:Bukkit/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-04 12:15:48 +00:00
Bukkit/Spigot
c89f2806b0 I *really* suck at markdown.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:15:00 -08:00
Bukkit/Spigot
ba9a02c3c7 I suck at markdown.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:14:12 -08:00
Bukkit/Spigot
3e09bd4b94 Added brief coding conventions - these may not be complete.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:13:44 -08:00
Bukkit/Spigot
89ca5a877c Merge branch 'master' of https://github.com/Meaglin/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-03 10:01:09 +00:00
Bukkit/Spigot
d0b7646de7 Removed SLOW_SPREAD from IgniteCause enum.
By: sk89q <the.sk89q@gmail.com>
2011-02-02 21:56:57 -08:00
Bukkit/Spigot
477b359f13 Revert "fallback code for command lookup"
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-02 09:20:16 +00:00
Bukkit/Spigot
1899891b6f fallback code for command lookup
By: tahg <tahgtahv@gmail.com>
2011-02-01 21:56:16 -08:00
Bukkit/Spigot
474817bf11 General cleanup (deprecated+whitespace)
By: Erik Broes <erikbroes@grum.nl>
2011-02-02 00:02:08 +01:00
Bukkit/Spigot
b01fc3ffa8 Add Chunk.getBlock(x,y,z), World.loadChunk(x,z) World.isChunkLoaded(x,z).
By: Erik Broes <erikbroes@grum.nl>
2011-02-02 00:01:33 +01:00
Bukkit/Spigot
4de2b0d48e Added NoteBlock.play, Dispenser.dispense
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 23:21:53 +00:00
Bukkit/Spigot
4f6c65d684 Strip colours for console output
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 18:26:31 +00:00
Bukkit/Spigot
d1bbdaf377 Don't delete the first char of the command passed
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 18:12:31 +00:00
Bukkit/Spigot
d7d0c66b75 Interface for BlockBreakEvent
By: Meaglin <meaglin.wasabi@gmail.com>
2011-02-01 18:07:16 +01:00
Bukkit/Spigot
3085f140b3 Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 16:45:29 +00:00
Bukkit/Spigot
c818125fb8 What's the time, mr wolf?
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 14:53:26 +00:00
Bukkit/Spigot
d45f410092 Added Material.matchMaterial(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 12:55:29 +00:00
Bukkit/Spigot
c76bf04e6d Added PLAYER_DROP_ITEM
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:45:39 +00:00
Bukkit/Spigot
811c06d099 Added setItemStack(ItemStack stack) to ItemDrop
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:43:31 +00:00
Bukkit/Spigot
77b6112b65 Added VEHICLE_UPDATE
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:18:27 +00:00
Bukkit/Spigot
497ac626bf Added PLAYER_ITEM_HELD event
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:34:23 +00:00
Bukkit/Spigot
7d5f8c95d4 Added getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:23:21 +00:00
Bukkit/Spigot
6f3347fe1c Renamed ItemStack.set/getDamage to durability, which is now a short. Added Material.getMaxDurability
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:06:53 +00:00
Bukkit/Spigot
63181e1c59 Added INVENTORY_OPEN as a player event
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-30 22:05:36 +00:00
Bukkit/Spigot
301b48abea Added support for different tree generation types and a callback.
By: sk89q <the.sk89q@gmail.com>
2011-01-30 13:54:03 -08:00
Bukkit/Spigot
8ea6bf1889 Removed EntityDeathEvent.setDrops() (just use getDrops.add/etc)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-30 20:24:36 +00:00
Bukkit/Spigot
0ab994ec78 Added new EventExecutor, missed in last commit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:18:47 +00:00
Bukkit/Spigot
6f4cf0388b Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:17:36 +00:00
Bukkit/Spigot
e56db60b83 Finalising merge with head
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 17:28:31 +00:00
Bukkit/Spigot
c736e00b8c merge with head
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 17:18:32 +00:00
Bukkit/Spigot
df05c36540 Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(

By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 16:23:56 +00:00
Bukkit/Spigot
ba1010e494 Added Block.isBlockPowered(), block.isBlockIndirectlyPowered().
By: sk89q <the.sk89q@gmail.com>
2011-01-28 10:24:34 -08:00
Bukkit/Spigot
7d4be15159 Fixed only being able to use /reload once
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:24:54 +00:00
Bukkit/Spigot
14c7da2f6e clearPlugins() and clearCommands() for PluginManager and CommandMap respectively
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:18:24 +00:00
Bukkit/Spigot
595cb5d166 Added player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 09:15:43 +00:00
Bukkit/Spigot
be759ba36e onDisable on stop - stephank
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-27 16:15:24 -05:00
Bukkit/Spigot
b26b68a61a ENTITY_DEATH
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-27 13:25:20 +00:00
Bukkit/Spigot
a079602347 BlockBurnEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-26 16:13:04 -05:00
Bukkit/Spigot
d922f76c36 Added methods to get a list of entities to World.
By: sk89q <the.sk89q@gmail.com>
2011-01-26 12:03:21 -08:00
Bukkit/Spigot
6c441c2642 EntityTargetEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-26 14:27:43 -05:00
Bukkit/Spigot
817bdc1984 Implemented Inventory.contains with a minimum amount of item required. As per feature request #187
By: Limb <ibelimb@gmail.com>
2011-01-24 07:32:53 +08:00
Bukkit/Spigot
9755073204 some changes to comments
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 05:29:53 +08:00
Bukkit/Spigot
276a3d1864 added load chunk method
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 04:58:20 +08:00
Bukkit/Spigot
03dd082641 Added /.DS_Store (Mac filesystem dust) to .gitignore (https://github.com/Bukkit/Bukkit/issues/#issue/46)
By: Peter Lamonica <plamoni@gmail.com>
2011-01-23 04:19:03 +08:00
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
Bukkit/Spigot
9b8983805a Added Lever MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:51:16 +00:00
Bukkit/Spigot
c8183cbb22 Added Ladder MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:45:24 +00:00
Bukkit/Spigot
3d5303ef55 Correctly added all MaterialData to their appropriate Material enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:38:41 +00:00
Bukkit/Spigot
f8decbe750 RedstoneWire MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:35:22 +00:00
Bukkit/Spigot
7314f0ade2 RedstoneTorch MaterialData + Redstone interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:30:27 +00:00
Bukkit/Spigot
da00145da7 Added Torches
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:30:13 +00:00