Commit graph

223 commits

Author SHA1 Message Date
CraftBukkit/Spigot
b6d877d771 Added support for different tree generation types and a callback.
By: sk89q <the.sk89q@gmail.com>
2011-01-30 13:53:57 -08:00
CraftBukkit/Spigot
71abdb0010 Optimized blockCache, now only stores blocks asked for
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 20:19:56 +01:00
CraftBukkit/Spigot
922b141e94 Fixed rogue chmods
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 20:18:15 +01:00
CraftBukkit/Spigot
f6f082a753 Reworked getEntity; Hi instanceof, bay 16 classes
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 16:15:17 +01:00
CraftBukkit/Spigot
91ef607f11 Updated pom to reference 'second patched version' of the server.
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 13:38:07 +01:00
CraftBukkit/Spigot
6820f5de76 Port to new mc-dev format.
By: Erik Broes <erikbroes@grum.nl>
2011-01-29 22:50:29 +01:00
CraftBukkit/Spigot
785e22677c Merge branch 'master' of github.com:Bukkit/CraftBukkit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:04:16 +00:00
CraftBukkit/Spigot
4dd5046a0d Updated commands to use CommandSender instead of Player
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:04:02 +00:00
CraftBukkit/Spigot
6eb906ae20 Added Block.isBlockPowered(), block.isBlockIndirectlyPowered().
By: sk89q <the.sk89q@gmail.com>
2011-01-28 10:24:53 -08:00
CraftBukkit/Spigot
89b8395123 server.reload() now reloads plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:18:49 +00:00
CraftBukkit/Spigot
991af11e0b Implemented player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 09:15:32 +00:00
CraftBukkit/Spigot
78473d2dd4 onDisable on stop - stephank
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-27 16:15:41 -05:00
CraftBukkit/Spigot
ccf32b63ef You don't override for interfaces!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-27 13:26:37 +00:00
CraftBukkit/Spigot
5e8077112f Added methods to get a list of entities to World. This replies on net.minecraft.server.Entity.bukkitEntity not being null (otherwise it won't be returned).
By: sk89q <the.sk89q@gmail.com>
2011-01-26 12:03:54 -08:00
CraftBukkit/Spigot
182031fe9d added load chunk method
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 04:57:33 +08:00
CraftBukkit/Spigot
b50a636f98 Added getBlockReplacedState to BlockPlaceEvent, in case one wants to see what type of block was there previously.
By: VictorD <victor.danell@gmail.com>
2011-01-24 23:22:28 +01:00
CraftBukkit/Spigot
d85ad792fb removed all instances of new CraftEntity* where appropriate.
Entity.getBukkitEntity() is now used instead.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-23 23:23:13 +11:00
CraftBukkit/Spigot
b49ed260f6 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:10 -08:00
CraftBukkit/Spigot
bde24c6ec9 Revert "Entity's bukkitEntity field now holds a CraftEntity by default."
This reverts commit 7a64e864fc481f001812d78cc4d767872c458706.

By: sk89q <the.sk89q@gmail.com>
2011-01-21 18:35:32 -08:00
CraftBukkit/Spigot
205cd4cf6d Entity's bukkitEntity field now holds a CraftEntity by default.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 16:21:19 -08:00
CraftBukkit/Spigot
55c3d7e57c Expanded .gitignore with some potential build folders and files.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 00:22:52 -08:00
CraftBukkit/Spigot
a7fcd2be48 CraftBlock instance getLocation() method.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:40:31 +08:00
CraftBukkit/Spigot
938a95b533 Modified POM for better Bamboo integration
By: Luke Granger-Brown <github@lukegb.com>
2011-01-20 21:21:30 +00:00
CraftBukkit/Spigot
18b72bc447 Added compass setting methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 02:05:20 -08:00
CraftBukkit/Spigot
554bde3a69 Implemented server reload
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:53:43 +00:00
CraftBukkit/Spigot
fa61eef933 Implement getSpawnLocation().
By: FeepingCreature <default_357-line@yahoo.de>
2011-01-16 07:00:01 +08:00
CraftBukkit/Spigot
faf7e54b22 Fixed blockcache being inaccurate
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 00:16:57 +00:00
CraftBukkit/Spigot
10b548b654 Fix up NPE's in EntityMinecart/CraftVehicle and removed a little un-needed code in EntityArrow
By: speakeasy <mekevin1917@gmail.com>
2011-01-20 05:41:02 +08:00
CraftBukkit/Spigot
52cc6f5bf6 reverted # from server console
By: Tahg <tahgtahv@gmail.com>
2011-01-18 19:42:49 -05:00
CraftBukkit/Spigot
c01cdcb54a Fixed getChunkAt and usage.
By: Erik Broes <erikbroes@grum.nl>
2011-01-18 12:37:01 +01:00
CraftBukkit/Spigot
6e823e9992 Updated plugin commands to allow for aliases and fallback on name collision.
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:13:45 +01:00
CraftBukkit/Spigot
77cff3ea87 Fixed: http://redmine.bukkit.org/issues/204 - fixed armor-slot order.
By: Erik Broes <erikbroes@grum.nl>
2011-01-18 00:46:03 +01:00
CraftBukkit/Spigot
f69c8d2c8a fixed exact name matching
By: Tahg <tahgtahv@gmail.com>
2011-01-17 16:55:48 -05:00
CraftBukkit/Spigot
eeaaea9223 fixed health
By: Tahg <tahgtahv@gmail.com>
2011-01-17 16:45:20 -05:00
CraftBukkit/Spigot
9f88190ab1 allowed partial name matching
By: Tahg <tahgtahv@gmail.com>
2011-01-17 15:50:37 -05:00
CraftBukkit/Spigot
49d67847a7 Depreceated getCraftEntity() as it has been superceded by
getBukkitEntity()

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:26:47 +08:00
CraftBukkit/Spigot
318a071c4c New Entity Classes implementing the new Bukkit interfaces.
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:12:47 +08:00
CraftBukkit/Spigot
ea7442232c Updates to all Entities to use getBukkitEntity() any time an event is
raised.
Similar update to CraftVehicle and CraftLivingEntity

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 08:53:42 +08:00
CraftBukkit/Spigot
c754e7ffc2 Updated CraftInventory to make use of the proper generics in the Inventory interface.
Updated loads of return values to now return actual Craft* objects.
Added a shitton of constructors to CraftItemStack so you can now finally properly make your ItemStacks.

By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:55:53 +01:00
CraftBukkit/Spigot
11d156e65e Updated CraftHumanEntity to refresh the inventory on death, should fix odd behavior around that.
By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:55:18 +01:00
CraftBukkit/Spigot
bbc2093115 Fixed error in CraftInventory.setContents().
By: sk89q <the.sk89q@gmail.com>
2011-01-16 13:29:30 -08:00
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
CraftBukkit/Spigot
37bc03b43a Implemented CHUNK_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 15:54:41 +00:00
CraftBukkit/Spigot
596035458a Implemented Chunk.getWorld()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 14:17:05 +00:00
CraftBukkit/Spigot
87d246c1ae Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-03 20:21:02 -05:00
CraftBukkit/Spigot
21271ef958 Added -w for world directory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 01:19:26 +00:00
CraftBukkit/Spigot
49285bc5b6 Merge branch 'master' of github.com:Bukkit/CraftBukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 00:45:10 +00:00
CraftBukkit/Spigot
fcc27e9e40 Added command-line arguments, forced nogui
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 00:43:23 +00:00
CraftBukkit/Spigot
7e9bfd9d43 Added getHighestBlockYAt
By: FrozenCow <frozencow@gmail.com>
2011-01-04 05:56:09 +08:00
CraftBukkit/Spigot
87883daeb5 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-03 15:48:56 -05:00
CraftBukkit/Spigot
449fb6523a Fixed NPE on Player related methods in CraftServer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 19:41:23 +00:00