Commit graph

309 commits

Author SHA1 Message Date
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
Bukkit/Spigot
4d443d2fc5 Added Attachable MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:21:56 +00:00
Bukkit/Spigot
3a76f4d8dd Events should be present tense, not paste tense.
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:23:53 +01:00
Bukkit/Spigot
965b8731e1 Changed BlockFace to match enum standards
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:16:51 +00:00
Bukkit/Spigot
7669ccd206 Added int getBlockTypeIdAt(int x, int y, int z) to World
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:02:47 +01:00
Bukkit/Spigot
550e518848 Global ID -> Id rename
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 20:53:43 +01:00
Bukkit/Spigot
4d7b10c59d Added MaterialData from BlockState
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 00:08:49 +00:00
Bukkit/Spigot
5488422237 Fixed dye colours
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 00:08:34 +00:00
Bukkit/Spigot
e60e60429c Cleaned up Configuration Javadoc.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 02:10:08 -08:00
Bukkit/Spigot
df7a15f4f9 JavaPlugin now loads the configuration file on load. getConfiguration() now is much cheaper to call.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 01:45:36 -08:00
Bukkit/Spigot
ab5b99600c Added list support to Configuration.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 01:44:20 -08:00
Bukkit/Spigot
2439031c40 Plugin data folders are now no longer created by default.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 00:34:01 -08:00
Bukkit/Spigot
11012b27dd Improved the Javadoc for JavaPlugin.getConfiguration().
By: sk89q <the.sk89q@gmail.com>
2011-01-15 00:29:38 -08:00
Bukkit/Spigot
9ff3c115cc Configuration files need to be .yml, not .yaml.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 00:26:32 -08:00
Bukkit/Spigot
c59341049f Added Configuration.getBoolean().
By: sk89q <the.sk89q@gmail.com>
2011-01-14 23:38:40 -08:00
Bukkit/Spigot
33e5645054 Added configuration and plugin data directory support to plugins.
By: sk89q <the.sk89q@gmail.com>
2011-01-14 23:33:45 -08:00
Bukkit/Spigot
0bf9731255 Added basic configuration classes.
By: sk89q <the.sk89q@gmail.com>
2011-01-14 23:06:12 -08:00
Bukkit/Spigot
b995a38d3e Added kick player.
By: speakeasy <mekevin1917@gmail.com>
2011-01-15 09:20:29 +08:00
Bukkit/Spigot
14ed38cc63 Infinite loops are like infinite loops which are like infinite loops which *bang*
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 14:43:14 +00:00
Bukkit/Spigot
800a8d089b Added Wool + Dyes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 00:20:00 +00:00
Bukkit/Spigot
211a846f97 Added MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 00:00:54 +00:00
Bukkit/Spigot
2fab54ae7b New materials, changed material names per style guidelines + correct names
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-13 23:33:10 +00:00
Bukkit/Spigot
0a677497d4 Renamed Color -> ChatColor, and added DyeColor
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-13 20:27:28 +00:00
Bukkit/Spigot
1a6e8ac5eb Added redstone event
By: Tahg <tahgtahv@gmail.com>
2011-01-12 12:40:21 -05:00
Bukkit/Spigot
0621fedd0b Remove @overrides from EntityCombust
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 19:41:04 -05:00
Bukkit/Spigot
6260932a36 Merge branch 'master' of https://github.com/tkelly910/Bukkit into tkelly910-master
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 18:53:54 -05:00
Bukkit/Spigot
1627c78fa1 Added PluginManager.getPlugins()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-11 20:58:01 +00:00
Bukkit/Spigot
91007ea0be New ClassLoader to allow for inter-plugin communication
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-11 20:36:38 +00:00
Bukkit/Spigot
15c598c0f0 EggThrow - remove extra stuff
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 03:02:30 -05:00
Bukkit/Spigot
77e9ecedb9 PlayerEggThrowEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-11 02:58:51 -05:00
Bukkit/Spigot
0e16bbed64 Merge branch 'master' of https://github.com/Bukkit/Bukkit
Conflicts:
	src/main/java/org/bukkit/Player.java

By: Tahg <tahgtahv@gmail.com>
2011-01-10 17:27:51 -05:00
Bukkit/Spigot
f3d9273819 added getAddress interface for Player
By: Tahg <tahgtahv@gmail.com>
2011-01-10 17:24:35 -05:00
Bukkit/Spigot
a0d64be250 BlockDamagedEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:34:59 +08:00
Bukkit/Spigot
02b2e4114c EntityCombustEvent
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:51:10 +08:00
Bukkit/Spigot
5c0413fb45 Added BlockIgniteEvent.
By: speakeasy <mekevin1917@gmail.com>
2011-01-09 18:10:44 +08:00
Bukkit/Spigot
a27364193d Cleaned up Fillr
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 06:05:43 +08:00
Bukkit/Spigot
c97111ca58 Fixed getArmorContents() return value
By: Erik Broes <erikbroes@grum.nl>
2011-01-09 23:40:29 +01:00
Bukkit/Spigot
83dea7c90f forgot to initialize cancel
By: durron597 <martin.jared@gmail.com>
2011-01-09 12:33:27 -05:00
Bukkit/Spigot
f95c139dd6 Updated inventories to a has-a relationship.
Added PlayerInventory interface with playeronly methods.
Add equals to ItemStack.

By: Erik Broes <erikbroes@grum.nl>
2011-01-09 18:21:31 +01:00
Bukkit/Spigot
f81c44fbba Added JavaDoc @see comments and @todo notes for those that aren't specified in the listener
By: Luke GB <github@lukegb.com>
2011-01-09 13:14:28 +00:00
Bukkit/Spigot
8f9ea50a86 Removed unnecessary import warnings
By: durron597 <martin.jared@gmail.com>
2011-01-09 07:52:03 -05:00
Bukkit/Spigot
1105de519d Added ItemDrop, world.dropItem(), and world.dropItemNaturally().
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:47:48 -08:00
Bukkit/Spigot
75aa4ef4c5 Made Location.clone() public.
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:39:54 -08:00
Bukkit/Spigot
b94f401b3a Changed Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:24:27 -08:00
Bukkit/Spigot
7a896ce200 Fixed VehicleListener not being able to register
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 18:47:14 +00:00
Bukkit/Spigot
b9bb03c09e Should be LivingEntity
By: durron597 <martin.jared@gmail.com>
2011-01-08 08:05:04 -05:00
Bukkit/Spigot
a617a398a1 Implemented BlockInteract, BlockRightClicked and PlayerItem. Removed
BlockItem as we're not doing it that way anymore.

By: durron597 <martin.jared@gmail.com>
2011-01-08 05:44:42 -05:00
Bukkit/Spigot
b8e3ff6572 Added block.getBiome()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 03:34:24 +00:00
Bukkit/Spigot
61f1ef6117 Added World.getName and World.getId
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 02:29:42 +00:00
Bukkit/Spigot
f2e2a23693 Added Entity.teleportTo(Entity)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 02:20:29 +00:00
Bukkit/Spigot
880f2c11a5 Added passenger methods to Vehicle/LivingEntity.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 16:25:52 -08:00
Bukkit/Spigot
eb62da78ee Added World.spawnBoat().
By: sk89q <the.sk89q@gmail.com>
2011-01-07 13:59:30 -08:00
Bukkit/Spigot
f6dc158646 Added Boat interface.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 13:01:23 -08:00
Bukkit/Spigot
ca9cd7aa45 Moving some minecart flags that don't belong in the event out of the event.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 12:26:10 -08:00
Bukkit/Spigot
00ee553d1b Merge remote branch 'remotes/origin/master'
By: sk89q <the.sk89q@gmail.com>
2011-01-07 11:18:03 -08:00
Bukkit/Spigot
f0cb8573a9 Various changes to the vehicle hooks.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 11:16:04 -08:00
Bukkit/Spigot
0d4ef412af Added state update()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 16:53:29 +00:00
Bukkit/Spigot
9fbfe7e412 Make a start on BlockState stuff
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 16:17:54 +00:00
Bukkit/Spigot
ef59e4c706 Added Sign interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 14:52:28 +00:00
Bukkit/Spigot
013df9273d Set. Not get.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:33:36 +00:00
Bukkit/Spigot
e39ba776c9 Added PlayerChatEvent.getFormat/setFormat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:31:16 +00:00
Bukkit/Spigot
8574cf2cb0 Added Player.getDisplayName() and Player.setDisplayName(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:27:09 +00:00
Bukkit/Spigot
d21746e25a Removed BlockRightClicked, as it's subsumed by PlayerBlockItemEvent
By: durron597 <martin.jared@gmail.com>
2011-01-07 05:44:10 -05:00
Bukkit/Spigot
e5f9932bad Some BlockFace improvements
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 10:32:36 +00:00
Bukkit/Spigot
99ed6048d7 Added canBuild to event
By: durron597 <martin.jared@gmail.com>
2011-01-07 05:38:45 -05:00
Bukkit/Spigot
019134d7df Implemented Item_Use events
By: durron597 <martin.jared@gmail.com>
2011-01-07 05:11:16 -05:00
Bukkit/Spigot
8efd0c02c7 Convenience method to see if a material is a block
By: durron597 <martin.jared@gmail.com>
2011-01-07 04:40:46 -05:00
Bukkit/Spigot
6f77375dc5 Fixed Updatr stuff
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 23:00:13 +00:00