Commit Graph

3223 Commits

Author SHA1 Message Date
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
Bukkit/Spigot
88c998f4a2 Tweaked some more exceptions, get messages passed
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:56:12 +00:00
Bukkit/Spigot
14cfdcc567 Separate InvalidDescriptionException -> InvalidPluginException
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:45:54 +00:00
Bukkit/Spigot
0cb7170b41 Slightly better "invalid plugin.yml" errors
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:40:45 +00:00
Bukkit/Spigot
c01c18a1d7 Added Server.getTime and Server.setTime
By: FrozenCow <frozencow@gmail.com>
2011-01-04 16:23:01 +08:00
Bukkit/Spigot
2c72e8e9d5 Initial Inventory stuff, read only, no hooks. Only implemented for the StorageMinecart
By: Erik Broes <erikbroes@ripe.net>
2011-01-05 01:00:06 +01:00
Bukkit/Spigot
f7d795843a Merge branch 'master' of github.com:Bukkit/Bukkit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-04 23:32:38 +00:00
Bukkit/Spigot
b9885402a6 Fix for plugin description file cast error
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-04 23:30:44 +00:00
Bukkit/Spigot
740077970e Javadoc
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 22:05:53 +00:00
Bukkit/Spigot
7f944f0a0d Removed onBlockSent, added onLeavesDecay
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 22:03:15 +00:00
Bukkit/Spigot
fa8b3da89b Constructors for damage on itemstack
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 19:56:19 +00:00
Bukkit/Spigot
6a71870555 ItemStack.setDamage and ItemStack.getDamage
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 19:54:41 +00:00
Bukkit/Spigot
950ed1a52a Added Chunk events in new World category
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 14:08:56 +00:00
Bukkit/Spigot
5901415d13 Added Chunk.getWorld()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 14:08:29 +00:00
Bukkit/Spigot
d7bd97f934 First version of item use event
By: durron597 <martin.jared@gmail.com>
2011-01-03 21:22:52 -05:00
Bukkit/Spigot
88076b8a29 Documented + added server.matchPlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 10:00:00 +00:00
Bukkit/Spigot
7f70bc53b8 Merge remote branch 'remotes/origin/master'
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:15:51 -08:00
Bukkit/Spigot
6aebc36e30 Added LivingEntity.shootArrow().
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:15:09 -08:00
Bukkit/Spigot
c16bd08b18 Added getHighestBlockYAt
By: FrozenCow <frozencow@gmail.com>
2011-01-04 05:57:56 +08:00
Bukkit/Spigot
38b76fb99e Improved Vector with more methods and more Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 13:49:40 -08:00
Bukkit/Spigot
23637ea79a Derp hex
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 21:46:53 +00:00
Bukkit/Spigot
dfbb9305d2 Fixed Colors + moved to enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 21:31:15 +00:00
Bukkit/Spigot
b706c19913 forgotten FillrListener
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-04 05:24:10 +08:00
Bukkit/Spigot
c8ade7e5bb Added dummy getPlayer() to BlockBrokenEvent and BlockPlacedEvent in order to get WorldEdit to compile.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 12:02:42 -08:00
Bukkit/Spigot
089d7906b9 README Markup fixed
By: Erik Broes <erikbroes@grum.nl>
2011-01-03 19:25:33 +01:00
Bukkit/Spigot
73c430492d Cleanups. We use Maven, not Ant.
By: Erik Broes <erikbroes@grum.nl>
2011-01-03 19:17:31 +01:00
Bukkit/Spigot
f7ed510964 ... Entity has no health.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 16:34:29 +00:00
Bukkit/Spigot
b861c6c3fd Moved simplejson as dependency
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 16:23:08 +00:00
Bukkit/Spigot
38d64f8661 Overhaul entity damage structure...
By: angelsl <angelsl@rpm>
2011-01-03 19:24:05 +08:00
Bukkit/Spigot
d3240391ad Move health stuff from LivingEntity to Entity.
By: angelsl <angelsl@rpm>
2011-01-03 17:40:26 +08:00
Bukkit/Spigot
b2817db6b7 Entity damage hooks
By: angelsl <angelsl@rpm>
2011-01-03 16:11:36 +08:00
Bukkit/Spigot
05b2a299c0 More formatting
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:35:30 +00:00
Bukkit/Spigot
346e41a6e5 Formatting
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:31:54 +00:00
Bukkit/Spigot
891a7dd5f8 Fixed Fillr.java, added /get command ingame
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:29:33 +00:00
Bukkit/Spigot
7c4860c3b5 Added LivingEntity.throwEgg() and LivingEntity.throwSnowball().
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:44:30 +08:00
Bukkit/Spigot
9370aac0da hot damn. get <name> added
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 16:25:10 +08:00
Bukkit/Spigot
fa875ff2b6 hot damn. get <name> added
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 16:23:24 +08:00
Bukkit/Spigot
ca056597e1 better visibility/javadoc
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:26:35 +08:00
Bukkit/Spigot
b01c65f9bc updated TODO
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:20:02 +08:00
Bukkit/Spigot
0e2f93cbd6 updated TODO
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:19:46 +08:00
Bukkit/Spigot
d0bbbc4c58 json stuff
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:16:00 +08:00
Bukkit/Spigot
94c1492af9 yml for fillr
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:13:38 +08:00
Bukkit/Spigot
a57c79eb6f fillr -> plugin
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 12:06:36 +08:00
Bukkit/Spigot
7f5bbdf764 all the fillr stuff
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-03 11:01:36 +08:00
Bukkit/Spigot
d0a03cd4c4 Added more math to Vector, renamed some methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 18:10:17 +08:00
Bukkit/Spigot
6284b8117c Made Vector.equals() fuzzy.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:55:42 +08:00
Bukkit/Spigot
04c824307a Change vehicle hook changes.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:26:34 +08:00
Bukkit/Spigot
2ff558c10b Implemented vehicle hooks (some changes will still be made).
By: sk89q <the.sk89q@gmail.com>
2011-01-03 16:52:44 +08:00
Bukkit/Spigot
339e57513a Added minecart classes, vehicle class, and the ability to spawn minecarts. StorageMinecart needs a getInventory(), but that is waiting on the addition of inventory code.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 14:03:17 +08:00
Bukkit/Spigot
b5fffb9a81 Renamed ArrowEntity->Arrow to be consistent.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 14:10:49 +08:00
Bukkit/Spigot
dc3ed9d7d6 Cleaned ant build file for Bukkit.
By: FrozenCow <frozencow@gmail.com>
2011-01-03 09:43:02 +08:00
Bukkit/Spigot
817d943876 Light level is a byte
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 03:00:54 +00:00
Bukkit/Spigot
d9c488c9e0 Javadoc the world!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:59:16 +00:00
Bukkit/Spigot
a2cbf2b29e Added world.spawnTree(), world.spawnBigTree().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 18:00:57 -08:00
Bukkit/Spigot
c6d45a3ae2 Block.getLightLevel()
By: sk89q <the.sk89q@gmail.com>
2011-01-02 18:31:04 -08:00
Bukkit/Spigot
63595772bd Fixed logic issue toggling plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:41:18 +00:00
Bukkit/Spigot
e125065dbd removed unnecessary import
By: durron597 <martin.jared@gmail.com>
2011-01-02 21:38:48 -05:00
Bukkit/Spigot
fbffdad484 Plugins no longer defaulted to enabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:21:48 +00:00
Bukkit/Spigot
f436f334ed Added enablePlugin and disablePlugin, triggers events
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:20:11 +00:00
Bukkit/Spigot
91e76c3c32 Implemented PluginEnabled and PluginDisabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:06:22 +00:00
Bukkit/Spigot
501c5ca60d Merge branch 'master' of https://github.com/FrozenCow/Bukkit into FrozenCow-master
By: Robbie Trencheny <me@robbiet.us>
2011-01-02 17:03:46 -08:00
Bukkit/Spigot
061cd7e964 Added ant build file.
By: FrozenCow <frozencow@gmail.com>
2011-01-03 01:56:17 +01:00
Bukkit/Spigot
61b42932b1 Improved Vector and Location with some utility methods, optimized Vector.isInSphere().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 10:42:13 -08:00
Bukkit/Spigot
f6873cab82 Added getPlayer(String name) to Server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 00:20:09 +00:00
Bukkit/Spigot
3dc584d5b8 Updated Event list
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-02 18:08:26 +00:00
Bukkit/Spigot
1111d65ec7 Updated event priorities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-02 15:10:51 +00:00
Bukkit/Spigot
337c76c9df Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-02 05:52:42 -05:00
Bukkit/Spigot
f501a8f384 We're GPL.
By: Erik Broes <erikbroes@grum.nl>
2011-01-02 10:57:42 +01:00
Bukkit/Spigot
a1efe84ebc Made X, Y, and Z components in Vector protected.
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:41:26 +08:00
Bukkit/Spigot
1ce014ded9 Added ArrowEntity and World.spawnArrow().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:26:50 +08:00
Bukkit/Spigot
7da3223201 Added Vector class.
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:23:56 +08:00
Bukkit/Spigot
aeb55da0e1 Added custom event support.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 01:50:45 -06:00
Bukkit/Spigot
2ba9a0b8c2 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-02 02:16:29 -05:00
Bukkit/Spigot
4937cffabb Fixed generics warning.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:38:51 -06:00
Bukkit/Spigot
51005cf1be Opps! Wrong class.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:29:34 -06:00
Bukkit/Spigot
9013f59815 Added generics to PluginManager
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:26:04 -06:00
Bukkit/Spigot
af1435dfe3 Use parametrized reflection to remove warnings
By: durron597 <martin.jared@gmail.com>
2011-01-01 17:08:32 -05:00
Bukkit/Spigot
7e52bfafa3 POM version crap
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 19:46:55 +00:00
Bukkit/Spigot
a44ace7015 Java 1.5!
(Also ninjaencoding)

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 19:35:03 +00:00
Bukkit/Spigot
76ab7321fd Changed all tabs to 4 spaces
By: durron597 <martin.jared@gmail.com>
2011-01-01 08:01:07 -05:00
Bukkit/Spigot
cf3973a5f9 removed unnecessary imports
By: durron597 <martin.jared@gmail.com>
2011-01-01 07:54:30 -05:00
Bukkit/Spigot
7bdc168131 Removed @Override from the cancellable methods
By: durron597 <martin.jared@gmail.com>
2011-01-01 07:53:09 -05:00
Bukkit/Spigot
fef6ae3d7f Merge remote branch 'upstream/master' into HEAD
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:55:14 -05:00
Bukkit/Spigot
2254c3dce2 Standardized indentation to 4 spaces
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:53:56 -05:00
Bukkit/Spigot
50a71db923 Removed ItemStack import
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:53:26 -05:00
Bukkit/Spigot
bc2b329615 Removed @Override for cancellable interface
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:52:28 -05:00
Bukkit/Spigot
f5b05b2c92 Removed cancellable import
By: durron597 <martin.jared@gmail.com>
2011-01-01 06:51:34 -05:00
Bukkit/Spigot
a0fc0979f7 Transition to Maven
By: Erik Broes <erikbroes@grum.nl>
2011-01-01 11:23:14 +01:00
Bukkit/Spigot
e8a16bb993 Changed BlockCanBuildEvent to store the int and not the material
By: durron597 <martin.jared@gmail.com>
2011-01-01 03:21:49 -05:00
Bukkit/Spigot
ea16a44324 Changed BlockCanBuild event to pass the material
By: durron597 <martin.jared@gmail.com>
2011-01-01 03:12:39 -05:00
Bukkit/Spigot
b8b9e7c22b Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:24:50 +00:00
Bukkit/Spigot
dce1a4503e Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:06:43 +00:00
Bukkit/Spigot
0de9f5909c Fixed material
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:01:53 +00:00
Bukkit/Spigot
d520767525 Merge branch 'master' of github.com:Dinnerbone/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 06:59:52 +00:00
Bukkit/Spigot
647e335bc4 Moved itemstack.type to material
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 06:59:21 +00:00
Bukkit/Spigot
29cb3a3a79 Added onBlockCanBuild to loader
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:55:04 -05:00
Bukkit/Spigot
b5cbcfbcdb Sample to let you place cactus anywhere
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:40:02 -05:00
Bukkit/Spigot
7aac860d94 Implemented BLOCK_CANBUILD, had wrong Listener method name
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:25:22 -05:00
Bukkit/Spigot
be1ad0e040 Added BlockCanBuild Event. Fixed Event enumeration
By: durron597 <martin.jared@gmail.com>
2010-12-31 22:44:11 -05:00
Bukkit/Spigot
1c88da4e93 Actually put the correct functionality in isCancelled and setCancelled
By: durron597 <martin.jared@gmail.com>
2010-12-31 22:42:45 -05:00
Bukkit/Spigot
1ec5689002 Reimplemented BlockFlow to use multiple BlockFromToEvents
By: durron597 <martin.jared@gmail.com>
2010-12-31 21:17:16 -05:00
Bukkit/Spigot
7d88f00839 Added Cancellable interface
By: durron597 <martin.jared@gmail.com>
2010-12-31 20:40:44 -05:00
Bukkit/Spigot
4ef3cfa0e8 Added private static final UID
By: durron597 <martin.jared@gmail.com>
2010-12-31 20:38:17 -05:00
Bukkit/Spigot
a2010332f6 Merge branch 'master' of github.com:Dinnerbone/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-31 21:58:47 +00:00
Bukkit/Spigot
4124f9e7bb Updated sample plugin to test physics
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-31 21:45:55 +00:00
Bukkit/Spigot
3be4ecd28c Added self face
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:10:31 -05:00
Bukkit/Spigot
eff44b6a95 Stated "not implemented yet"
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:09:22 -05:00
Bukkit/Spigot
66676f3800 Implemented BlockRightClickedEvent
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:09:02 -05:00
Bukkit/Spigot
7740148f73 Fixed bug with BlockFlow.equals
Added second constructor for collections

By: durron597 <martin.jared@gmail.com>
2010-12-31 09:07:39 -05:00
Bukkit/Spigot
a0acf45461 Changed it so we store both the block and the face for speed
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:07:12 -05:00
Bukkit/Spigot
fe393aa73d Implemented BLOCK_FLOW
By: durron597 <martin.jared@gmail.com>
2010-12-31 07:53:56 -05:00
Bukkit/Spigot
ddd950ae40 Added BlockFlowEvent, fixed up BlockFromToEvent, cleaned up
BlockListener

By: durron597 <martin.jared@gmail.com>
2010-12-30 18:22:22 -05:00
Bukkit/Spigot
53b6d54100 Changed fromTo to be Block, Face
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:49:52 -05:00
Bukkit/Spigot
d9184242dc Merge remote branch 'upstream/master'
Conflicts:
	src/org/bukkit/event/block/BlockEvent.java
	src/org/bukkit/event/block/BlockListener.java
	src/org/bukkit/event/block/BlockPhysicsEvent.java

By: durron597 <martin.jared@gmail.com>
2010-12-30 17:40:14 -05:00
Bukkit/Spigot
ee50ed0ba6 Changed event enumeration
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:16:50 -05:00
Bukkit/Spigot
4e456dc092 Added block events
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:16:06 -05:00
Bukkit/Spigot
fabb5e628a BlockPhysics can be canceled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 22:07:37 +00:00
Bukkit/Spigot
56bf34db1e Added the single most important event ever to be conceived
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 21:59:53 +00:00
Bukkit/Spigot
7e203ee761 Added debugging tools to sampleplugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 20:33:48 +00:00
Bukkit/Spigot
5ca171b422 Broken plugins no longer crash the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 18:54:04 +00:00
Bukkit/Spigot
9e1f814646 Added sendMessage() to player, added /pos to sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:52:26 +00:00
Bukkit/Spigot
54e61aab10 Moved getName from Player to HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:29:53 +00:00
Bukkit/Spigot
2306dd52d7 Rename EntityHuman -> HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 03:50:08 +00:00
Bukkit/Spigot
9edbd3958d EntityHuman is a LivingEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 23:18:09 +00:00
Bukkit/Spigot
854fe58b3f Changed ItemStack to be a class, added body
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 23:07:15 +00:00
Bukkit/Spigot
033223a9f7 Added Entity interfaces, changed Player to implement these
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 22:11:33 +00:00
Bukkit/Spigot
7459a15477 Location implements Cloneable
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 03:19:12 +00:00
Bukkit/Spigot
7c433de12d Swapped yaw/pitch in Location constructor to match Minecraft
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:15:16 +00:00
Bukkit/Spigot
331ba1b6a2 Fixed another nullcheck in pluginmanager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 00:10:22 +00:00
Bukkit/Spigot
d98a5eadfe Additional constructor for PlayerLoginEvent
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 22:54:39 +00:00
Bukkit/Spigot
304ad67759 Tweak to PlayerChatEvent, allow plugins to set the player that the chat/command executes as
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:52:08 +00:00
Bukkit/Spigot
b63f46250a Make a start on block events, fixed nullcheck in PluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:02:39 +00:00
Bukkit/Spigot
695bda59ee Added onPlayerLogin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 17:39:23 +00:00
Bukkit/Spigot
3a968aa90a Added onPlayerMove and onPlayerTeleport
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 16:59:25 +00:00
Bukkit/Spigot
e61f164e8b Added onPlayerChat and onPlayerCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 16:41:37 +00:00
Bukkit/Spigot
de10dba640 Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:51:45 +00:00
Bukkit/Spigot
e657f1fe24 Fixed rename
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:41:11 +00:00
Bukkit/Spigot
787c680ed9 Removed server argument on events, renamed player events and commented out the rest for now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:39:36 +00:00
Bukkit/Spigot
f72da929e1 Removed eventFactory, it's useless
By: durron597 <martin.jared@gmail.com>
2010-12-28 11:03:10 +08:00
Bukkit/Spigot
ed3dcbdd2b Eventing redone, revision 1
By: durron597 <martin.jared@gmail.com>
2010-12-28 10:48:03 +08:00
Bukkit/Spigot
e364e973c7 Added Location
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-27 02:11:52 +00:00
Bukkit/Spigot
a2d9b84796 Added chunk, world and block interfaces
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 23:22:15 +00:00
Bukkit/Spigot
8f8f4aef90 Moved PlayerQuit to use normal PlayerEvent, dropped Reason param
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 23:21:21 +00:00
Bukkit/Spigot
a3ff0f1177 First two hooks working, updated sample
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 02:20:05 +00:00
Bukkit/Spigot
42ef5c31b7 Register events
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 00:38:11 +00:00
Bukkit/Spigot
acc9067060 All code to call events and delegate back to plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 00:21:00 +00:00
Bukkit/Spigot
130fc2576a What an event!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-25 20:28:11 +00:00
Bukkit/Spigot
0a517194ca Extract interface from PluginManager, move to SimplePluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-25 15:41:56 +00:00
Bukkit/Spigot
fa8a72ea5e Fixed plugin description loading
No longer hardcoding sample plugin, now uses plugins dir

By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 19:05:14 +00:00
Bukkit/Spigot
2aeec23737 Fixed a few bugs getting sample plugin to load
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 18:16:00 +00:00
Bukkit/Spigot
529268213b Fix exception => throwable in catch while loading plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 17:25:07 +00:00
Bukkit/Spigot
0503a134ba Moved a bunch of methods out of PluginLoader to PluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 16:48:58 +00:00
Bukkit/Spigot
a28c9acb1b Refactored Plugin into an interface, make Javaplugin and relevant code to attempt to actually load plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 16:41:51 +00:00
Bukkit/Spigot
e3d491491a Few additions to Plugin for retrieving the Server and PluginLoader responsible for the plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 13:06:44 +00:00
Bukkit/Spigot
118fbe5d87 Pass the Server instance to pluginloaders, changed register method on pluginmanager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 12:55:46 +00:00
Bukkit/Spigot
7cdc2d46c2 Basics of PluginDescriptionFile
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 11:20:20 +00:00
Bukkit/Spigot
284ae0df7f Added Java plugin loader + a plugin manager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 10:31:01 +00:00
Bukkit/Spigot
1df4f74b79 Start the Plugin interfaces
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 01:29:59 +00:00
Bukkit/Spigot
94c43fd0fa Add Player interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-22 15:21:16 +00:00
Bukkit/Spigot
51ec422254 Let's get this project started
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-21 15:32:27 +00:00