Commit Graph

  • ca9d523646 moved built in command namespace, fixed EntityItem Tahg 2011-01-17 14:35:42 -05:00
  • c862626c02 Depreceated getCraftEntity() as it has been superceded by getBukkitEntity() Andrew Ardill 2011-01-17 16:26:47 +08:00
  • 6a3b096fb8 Addition 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
  • 431f2f62cf New Entity Classes implementing the new Bukkit interfaces. Andrew Ardill 2011-01-17 16:12:47 +08:00
  • 5209e17e1b Adding 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
  • 5f2c8108b7 Updates 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
  • 3400eafaf1 added handling of powered and storage minecarts Andrew Ardill 2011-01-17 07:34:31 +08:00
  • 2de3e2e7e4 created 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
  • 95cb03b50e Fixed melee knockback/sheep shearing unknown 2011-01-17 09:23:12 +08:00
  • 80a59397cb 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. Erik Broes 2011-01-17 01:55:53 +01:00
  • 0c492912de Updated CraftHumanEntity to refresh the inventory on death, should fix odd behavior around that. Erik Broes 2011-01-17 01:55:18 +01:00
  • 74d746b6c5 Fixed error in CraftInventory.setContents(). sk89q 2011-01-16 13:29:30 -08:00
  • d048167d16 Fixed removeItem implementation Erik Broes 2011-01-16 16:39:05 +01:00
  • 7ea93a1105 Added registration of plugin commands on plugin load. VictorD 2011-01-16 16:35:37 +01:00
  • 78cd77ef71 Implement removeItem(ItemStack...) Erik Broes 2011-01-16 16:09:59 +01:00
  • d85a28e97e Remove some debug messages, again, last time >.> Erik Broes 2011-01-16 14:52:55 +01:00
  • 0ae550a11c Fixed NPE while clearing a slot Erik Broes 2011-01-16 14:34:31 +01:00
  • ceaf94d5bb Implementation of the EntityDamage*Events. Andrew Ardill 2011-01-12 16:48:19 +11:00
  • 807de6ee22 Moved the source block definition higher in BlockFlowing to ensure its accuracy. sk89q 2011-01-15 21:11:26 -08:00
  • 9e65c243e4 Fixed 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
  • c62e387879 Added Block.getRelative(BlockFace). sk89q 2011-01-15 19:33:45 -08:00
  • 5d93ab3e54 Added item-in-hand related API. sk89q 2011-01-15 19:33:28 -08:00
  • 44ae0531e7 Added CraftInventory.setContents(); made CraftInventory.setItem(), CraftInventory.getItem(), and CraftItemStack() damage-aware. sk89q 2011-01-15 14:56:35 -08:00
  • f78b8c12a6 Fixed compilation issues (+small import cleanup in CraftWorld) Dinnerbone 2011-01-15 21:52:43 +00:00
  • 7fd0125db5 Fixed World.dropItemNaturally() not specifying the Y and Z coordinates correctly. sk89q 2011-01-15 13:45:48 -08:00
  • 5dafc601db Moved org.bukkit.Vector to org.bukkit.util. sk89q 2011-01-15 13:44:22 -08:00
  • f6d4979aa2 Added Server.broadcastMessage(). sk89q 2011-01-15 13:40:15 -08:00
  • 4d1c1fe5ed Moved org.bukkit.craftbukkit.Block to org.bukkit.craftbukkit.block.Block Dinnerbone 2011-01-15 21:40:18 +00:00
  • 0db8d5d111 Moved block stuff from org.bukkit to org.bukkit.block Dinnerbone 2011-01-15 21:36:57 +00:00
  • 7877229881 Missed an Entity Dinnerbone 2011-01-15 21:31:59 +00:00
  • 2fe673741c All inventory stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.inventory Dinnerbone 2011-01-15 21:29:17 +00:00
  • 6b9ad41a05 All inventory stuff in org.bukkit moved to org.bukkit.inventory Dinnerbone 2011-01-15 21:27:29 +00:00
  • 9150e8d85d All entity stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.entity Dinnerbone 2011-01-15 21:23:28 +00:00
  • d501bbf1a2 All entity stuff in org.bukkit moved to org.bukkit.entity Dinnerbone 2011-01-15 21:21:05 +00:00
  • 34674e7793 Remove debug stuff, oops Erik Broes 2011-01-15 22:13:24 +01:00
  • 4dc907f2f6 Implemented clear/remove for inventories Erik Broes 2011-01-15 21:55:53 +01:00
  • 8c8f53fd44 Events should be present tense, not paste tense. Erik Broes 2011-01-15 21:26:05 +01:00
  • 2184d240db Changed BlockFace enum to match coding standards Dinnerbone 2011-01-15 20:16:30 +00:00
  • 5aa1bc269d Implemented int getBlockTypeIdAt(int x, int y, int z). Erik Broes 2011-01-15 21:01:49 +01:00
  • dea72d6623 Global ID -> Id rename Erik Broes 2011-01-15 20:53:20 +01:00
  • e4a31ce206 Implemented BlockState MaterialData Dinnerbone 2011-01-15 00:12:55 +00:00
  • 55959488a9 Added kick player speakeasy 2011-01-15 09:19:54 +08:00
  • 0318cfc746 Updated pom once more! proper repo this time :D Erik Broes 2011-01-15 01:24:18 +01:00
  • 81882dea39 Moved to more permanent maven repo Erik Broes 2011-01-15 01:12:53 +01:00
  • 80707c0a23 Various fixes; boats, minecarts, musicblocks Dinnerbone 2011-01-14 21:22:14 +00:00
  • 5cb6edd5a9 Really fixed block placement... Really. Dinnerbone 2011-01-14 20:27:11 +00:00
  • 202e44ab1a Fixed blocks not keeping data on placement Dinnerbone 2011-01-14 19:44:11 +00:00
  • fe4d5db0e0 Fixed levers + buttons Dinnerbone 2011-01-14 16:11:04 +00:00
  • dea7d3a81d Update to Minecraft Server 1.2_01 Dinnerbone 2011-01-14 13:47:47 +00:00
  • 2761b59845 Update to Minecraft Server 1.2 Dinnerbone 2011-01-14 13:31:10 +00:00
  • e6e50ddf9b Fixed Vehicle.eject() not ejecting players properly. sk89q 2011-01-12 22:39:15 -08:00
  • be6cd7ed9c add redstone hooks Tahg 2011-01-12 12:40:42 -05:00
  • 45bac533be Merge branch 'eggThrown' of https://github.com/tkelly910/CraftBukkit into tkelly910-eggThrown Taylor Kelly 2011-01-11 18:55:54 -05:00
  • 9922c69d69 Small whitespace/warning sanitation Erik Broes 2011-01-11 23:11:10 +01:00
  • 6a34f200ae updated EntityEgg Taylor Kelly 2011-01-11 03:44:39 -05:00
  • 22dab8e985 Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s Erik Broes 2011-01-11 09:25:13 +01:00
  • 94bccb6f92 EggThrown Event Taylor Kelly 2011-01-11 03:25:49 -05:00
  • 75654e8db5 Fixed BROKEN spamming Taylor Kelly 2011-01-10 21:05:45 -05:00
  • dda7ca0059 Fixed CraftWorld.spawnArrow() not setting X, Y, Z positions correctly. sk89q 2011-01-10 14:13:44 -08:00
  • 5993b21b88 Fixed file name mismatch :( speakeasy 2011-01-11 05:37:16 +08:00
  • 6a15ae252b Clean up and fix bug in NetworkAcceptThread and NetworkListenThread classes. speakeasy 2011-01-11 05:15:25 +08:00
  • 802a46a709 Added hooks for BlockIgniteEvent speakeasy 2011-01-11 05:07:56 +08:00
  • 136ad76e6a Remember, minimal diffs and *NO TABS* Erik Broes 2011-01-10 09:30:34 +01:00
  • b1ee09f733 Fixed NPE Taylor Kelly 2011-01-09 22:42:50 -05:00
  • 11b114ca16 Revert "Bukkit Timers, now with 100% less github-services branch." Dinnerbone 2011-01-10 03:09:41 +00:00
  • 0a15f98a2e Fixed CIP Taylor Kelly 2011-01-10 11:03:53 +08:00
  • 750cc107ae Fixed NPE Taylor Kelly 2011-01-10 11:00:53 +08:00
  • c6d80df80d Fixed EntityZombie Taylor Kelly 2011-01-10 10:47:39 +08:00
  • e91d523642 Bukkit Timers, now with 100% less github-services branch. thylordroot 2011-01-10 10:10:37 +08:00
  • e5d7a46029 - Taylor Kelly 2011-01-10 09:57:47 +08:00
  • 21e7f1c440 BlockDamagedEvent Taylor Kelly 2011-01-10 09:36:19 +08:00
  • 103d4ee887 EntityCombustEvent Taylor Kelly 2011-01-08 15:40:42 +08:00
  • 814967ddd2 PlayerInventory.getSize should not count armor slots. Erik Broes 2011-01-10 00:41:22 +01:00
  • 4eeceacde7 Fixed some bugs with inventory Erik Broes 2011-01-09 23:41:05 +01:00
  • d3b87965c3 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit Tahg 2011-01-09 15:01:25 -05:00
  • 45c7013116 Added function to get player ip Tahg 2011-01-09 15:01:09 -05:00
  • 3d8263f9f8 Tahg's fix for BlockDoor needs to downcast durron597 2011-01-09 13:15:45 -05:00
  • e8a565e6cf Added 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
  • b72dad0a61 Added compile instructions in README.md Erik Broes 2011-01-03 19:32:42 +01:00
  • db31429871 Another dumb bucket bug. durron597 2011-01-09 03:36:52 -05:00
  • 3e71c0a699 Fixed stupid bug with buckets and signs. durron597 2011-01-09 03:31:37 -05:00
  • fd20876189 Implemented item drops. sk89q 2011-01-08 12:48:45 -08:00
  • e83d9f676d Changed 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
  • eb4b30185f Added BLOCK_INTERACT event durron597 2011-01-08 08:33:54 -05:00
  • fab66092e2 Fixed lack of calling callEvent(event), finished Item Use durron597 2011-01-08 06:18:05 -05:00
  • 65c8df24b6 Partial Player Item, Block RightClick, Block Place durron597 2011-01-08 05:49:42 -05:00
  • f71e2b4ed3 Implemented block.getBiome Dinnerbone 2011-01-08 03:44:29 +00:00
  • 603156ea29 Added World.getName and World.getId Dinnerbone 2011-01-08 02:29:57 +00:00
  • 81f920d927 Added Entity.teleportTo(Entity) Dinnerbone 2011-01-08 02:20:11 +00:00
  • 860e1b762d Fixed block type/data not updating with the world Dinnerbone 2011-01-08 02:03:41 +00:00
  • d374bff8d0 Implemented BlockState.update(boolean), signs should now work, cleaned up some code a little Dinnerbone 2011-01-08 01:22:17 +00:00
  • c9efe94545 Added passenger methods to Vehicle/LivingEntity. sk89q 2011-01-07 16:26:08 -08:00
  • e968096fc7 Changed resolution order in CraftWorld.toCraftEntity() to give CraftMappable precedence. sk89q 2011-01-07 14:06:08 -08:00
  • 6d6668aaeb Implemented 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
  • eb2cc2da4a Moved CraftVehicle.*Velocity() to CraftEntity as velocity is a component of all entities. sk89q 2011-01-07 13:40:16 -08:00
  • 22c2fdeaf0 Implemented 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
  • 592f510228 Moved some minecart flags that don't belong in the event out of the event. sk89q 2011-01-07 12:27:06 -08:00
  • 544bd76b13 Implemented more minecart hooks. sk89q 2011-01-07 12:17:06 -08:00
  • 7722e750ef Updated Minecart/vehicle Bukkit implementation. sk89q 2011-01-07 12:01:37 -08:00
  • 4de1915f6a Added World.toCraftEntity() to convert Minecraft entities to CraftBukkit entities. sk89q 2011-01-07 12:00:44 -08:00