ca9d523646moved built in command namespace, fixed EntityItem
Tahg
2011-01-17 14:35:42 -05:00
c862626c02Depreceated getCraftEntity() as it has been superceded by getBukkitEntity()
Andrew Ardill
2011-01-17 16:26:47 +08:00
6a3b096fb8Addition of all Entity classes. Each Entity creates a corresponding instance of a Craft Entity, to be used whenever sending instances to an event handler with getBukkitEntity().
Andrew Ardill
2011-01-17 16:17:16 +08:00
431f2f62cfNew Entity Classes implementing the new Bukkit interfaces.
Andrew Ardill
2011-01-17 16:12:47 +08:00
5209e17e1bAdding all Entities into CraftBukkit. These are needed to properly allow for determining class type, in accordance with current practice.
Andrew Ardill
2011-01-17 11:03:19 +08:00
5f2c8108b7Updates to all Entities to use getBukkitEntity() any time an event is raised. Similar update to CraftVehicle and CraftLivingEntity
Andrew Ardill
2011-01-17 08:53:42 +08:00
3400eafaf1added handling of powered and storage minecarts
Andrew Ardill
2011-01-17 07:34:31 +08:00
2de3e2e7e4created getBukkitEntity() in minecraft.server.Entity This returns a protected field that is set in the constructor of each minecraft.server.Entity to a new CraftEntity of some specific type.
Andrew Ardill
2011-01-17 07:03:15 +08:00
80a59397cbUpdated 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.
Erik Broes
2011-01-17 01:55:53 +01:00
0c492912deUpdated CraftHumanEntity to refresh the inventory on death, should fix odd behavior around that.
Erik Broes
2011-01-17 01:55:18 +01:00
74d746b6c5Fixed error in CraftInventory.setContents().
sk89q
2011-01-16 13:29:30 -08:00
d048167d16Fixed removeItem implementation
Erik Broes
2011-01-16 16:39:05 +01:00
7ea93a1105Added registration of plugin commands on plugin load.
VictorD
2011-01-16 16:35:37 +01:00
78cd77ef71Implement removeItem(ItemStack...)
Erik Broes
2011-01-16 16:09:59 +01:00
d85a28e97eRemove some debug messages, again, last time >.>
Erik Broes
2011-01-16 14:52:55 +01:00
0ae550a11cFixed NPE while clearing a slot
Erik Broes
2011-01-16 14:34:31 +01:00
ceaf94d5bbImplementation of the EntityDamage*Events.
Andrew Ardill
2011-01-12 16:48:19 +11:00
807de6ee22Moved the source block definition higher in BlockFlowing to ensure its accuracy.
sk89q
2011-01-15 21:11:26 -08:00
9e65c243e4Fixed an issue where the block cache became out of date and events were giving erroneous block information.
sk89q
2011-01-15 21:10:24 -08:00
45c7013116Added function to get player ip
Tahg
2011-01-09 15:01:09 -05:00
3d8263f9f8Tahg's fix for BlockDoor needs to downcast
durron597
2011-01-09 13:15:45 -05:00
e8a565e6cfAdded getContents() to IInventory and implemented it. Implemented Inventory and PlayerInventory and updated StorageMinecart and Slot. Added getMaxStackSize to CraftItemStack.
Erik Broes
2011-01-09 18:27:46 +01:00
b72dad0a61Added compile instructions in README.md
Erik Broes
2011-01-03 19:32:42 +01:00
e83d9f676dChanged Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
sk89q
2011-01-08 12:24:39 -08:00
860e1b762dFixed block type/data not updating with the world
Dinnerbone
2011-01-08 02:03:41 +00:00
d374bff8d0Implemented BlockState.update(boolean), signs should now work, cleaned up some code a little
Dinnerbone
2011-01-08 01:22:17 +00:00
c9efe94545Added passenger methods to Vehicle/LivingEntity.
sk89q
2011-01-07 16:26:08 -08:00
e968096fc7Changed resolution order in CraftWorld.toCraftEntity() to give CraftMappable precedence.
sk89q
2011-01-07 14:06:08 -08:00
6d6668aaebImplemented World.spawnBoat(), added CraftMappable interface that defines a method to get an org.bukkit.craftbukkit.CraftEntity from implementing net.minecart.server.Entity entities, changed CraftWorld.toCraftEntity() to use this new interface for boats and minecarts.
sk89q
2011-01-07 14:01:37 -08:00
eb2cc2da4aMoved CraftVehicle.*Velocity() to CraftEntity as velocity is a component of all entities.
sk89q
2011-01-07 13:40:16 -08:00
22c2fdeaf0Implemented boat, fixed some event issues with minecarts, and implemented the events for boats that were implemented for minecarts.
sk89q
2011-01-07 13:05:25 -08:00
592f510228Moved some minecart flags that don't belong in the event out of the event.
sk89q
2011-01-07 12:27:06 -08:00
544bd76b13Implemented more minecart hooks.
sk89q
2011-01-07 12:17:06 -08:00