Dinnerbone
7369ef7300
Implemented getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity
2011-01-31 01:23:10 +00:00
Dinnerbone
c75e53935f
Renamed ItemStack.set/getDamage to durability, which is now a short
2011-01-31 01:07:38 +00:00
Dinnerbone
1c9e7f9aee
toString!
2011-01-30 22:02:23 +00:00
sk89q
639d3e3f94
Added support for different tree generation types and a callback.
2011-01-30 13:54:43 -08:00
Erik Broes
6c60b54fdf
Optimized blockCache, now only stores blocks asked for
2011-01-30 20:19:56 +01:00
Erik Broes
da00e2e3a9
Fixed rogue chmods
2011-01-30 20:18:15 +01:00
Erik Broes
b2a0c5a2ae
Reworked getEntity; Hi instanceof, bay 16 classes
2011-01-30 16:15:24 +01:00
Erik Broes
df69047324
Port to new mc-dev format.
2011-01-30 13:24:39 +01:00
stevenh
d92376e106
Merge branch 'master' of github.com:Bukkit/CraftBukkit
2011-01-29 21:04:16 +00:00
stevenh
4301a76b31
Updated commands to use CommandSender instead of Player
2011-01-29 21:04:02 +00:00
sk89q
61c37bd369
Added Block.isBlockPowered(), block.isBlockIndirectlyPowered().
2011-01-28 10:25:28 -08:00
Dinnerbone
b6b5a1ef77
server.reload() now reloads plugins
2011-01-28 14:18:49 +00:00
Dinnerbone
c2d9af58fe
Implemented player.performCommand(String)
2011-01-28 09:15:32 +00:00
Taylor Kelly
cab61f169e
onDisable on stop - stephank
2011-01-27 16:15:41 -05:00
Dinnerbone
105a14d6d1
You don't override for interfaces!
2011-01-27 13:26:37 +00:00
sk89q
7a898bdba8
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).
2011-01-26 12:48:37 -08:00
Raphfrk
02a1c24746
added load chunk method
2011-01-25 19:11:04 +08:00
VictorD
3477a86995
Added getBlockReplacedState to BlockPlaceEvent, in case one wants to see what type of block was there previously.
2011-01-24 23:22:28 +01:00
Andrew Ardill
a809e4e6e3
removed all instances of new CraftEntity* where appropriate.
...
Entity.getBukkitEntity() is now used instead.
2011-01-23 23:23:13 +11:00
sk89q
9cd81ddd6d
Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
2011-01-23 00:37:10 -08:00
sk89q
d98c8e2100
Revert "Entity's bukkitEntity field now holds a CraftEntity by default."
...
This reverts commit 7a64e864fc481f001812d78cc4d767872c458706.
2011-01-21 18:35:32 -08:00
sk89q
3931be421e
Entity's bukkitEntity field now holds a CraftEntity by default.
2011-01-21 16:21:19 -08:00
Adam Tanner
2106eeef50
CraftBlock instance getLocation() method.
2011-01-22 00:05:09 +08:00
sk89q
0357c8f936
Added compass setting methods.
2011-01-20 02:10:32 -08:00
Dinnerbone
cbebfbd6da
Implemented server reload
2011-01-20 03:53:43 +00:00
FeepingCreature
0e821e60c9
Implement getSpawnLocation().
2011-01-20 08:58:08 +08:00
Dinnerbone
46e1b54a74
Fixed blockcache being inaccurate
2011-01-20 00:17:44 +00:00
speakeasy
e93061be48
Fix up NPE's in EntityMinecart/CraftVehicle and removed a little un-needed code in EntityArrow
2011-01-20 05:52:36 +08:00
Erik Broes
90c52739c4
Fixed getChunkAt and usage.
2011-01-18 12:38:41 +01:00
VictorD
8088a329cd
Updated plugin commands to allow for aliases and fallback on name collision.
2011-01-18 01:13:45 +01:00
Erik Broes
73d6070d88
Fixed: http://redmine.bukkit.org/issues/204 - fixed armor-slot order.
2011-01-18 00:46:03 +01:00
Tahg
19e98ffc71
fixed exact name matching
2011-01-17 16:55:48 -05:00
Tahg
c20a40a581
fixed health
2011-01-17 16:45:20 -05:00
Tahg
42099e7379
allowed partial name matching
2011-01-17 15:50:37 -05:00
Andrew Ardill
c862626c02
Depreceated getCraftEntity() as it has been superceded by
...
getBukkitEntity()
2011-01-18 00:13:34 +08:00
Andrew Ardill
431f2f62cf
New Entity Classes implementing the new Bukkit interfaces.
2011-01-18 00:13:33 +08:00
Andrew Ardill
5f2c8108b7
Updates to all Entities to use getBukkitEntity() any time an event is
...
raised.
Similar update to CraftVehicle and CraftLivingEntity
2011-01-18 00:13:32 +08:00
Erik Broes
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.
2011-01-17 01:55:53 +01:00
Erik Broes
0c492912de
Updated CraftHumanEntity to refresh the inventory on death, should fix odd behavior around that.
2011-01-17 01:55:18 +01:00
sk89q
74d746b6c5
Fixed error in CraftInventory.setContents().
2011-01-16 13:29:43 -08:00
Erik Broes
d048167d16
Fixed removeItem implementation
2011-01-16 16:39:11 +01:00
VictorD
7ea93a1105
Added registration of plugin commands on plugin load.
2011-01-16 16:35:37 +01:00
Erik Broes
78cd77ef71
Implement removeItem(ItemStack...)
2011-01-16 16:09:59 +01:00
Erik Broes
0ae550a11c
Fixed NPE while clearing a slot
2011-01-16 14:34:31 +01:00
Andrew Ardill
ceaf94d5bb
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.
2011-01-16 14:14:30 +01:00
sk89q
9e65c243e4
Fixed an issue where the block cache became out of date and events were giving erroneous block information.
2011-01-15 21:10:24 -08:00
sk89q
c62e387879
Added Block.getRelative(BlockFace).
2011-01-15 19:33:45 -08:00
sk89q
5d93ab3e54
Added item-in-hand related API.
2011-01-15 19:33:28 -08:00
sk89q
44ae0531e7
Added CraftInventory.setContents(); made CraftInventory.setItem(), CraftInventory.getItem(), and CraftItemStack() damage-aware.
2011-01-15 14:56:35 -08:00
Dinnerbone
f78b8c12a6
Fixed compilation issues (+small import cleanup in CraftWorld)
2011-01-15 21:53:09 +00:00