Commit graph

174 commits

Author SHA1 Message Date
CraftBukkit/Spigot
4388c95e43 toString!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-30 22:01:53 +00:00
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