summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeLines
* Implement unit test for hasGravity(). Adds BUKKIT-3832nitnelave2013-03-20-0/+10
|
* Update CraftBukkit to Minecraft 1.5.1Travis Watkins2013-03-20-220/+296
|
* Really don't filter out -1 data in ItemStack.Travis Watkins2013-03-20-4/+6
|
* Handle filled buckets dispensing up and down. Fixes BUKKIT-3814Travis Watkins2013-03-20-10/+8
|
* Don't filter out -1 data in ItemStack. Fixes BUKKIT-3824Travis Watkins2013-03-20-2/+2
|
* Readd missed diff for minecart container size. Fixes BUKKIT-3826Travis Watkins2013-03-20-1/+1
|
* BlockState for Command Blocks. Adds BUKKIT-3805.Nate Mortensen2013-03-19-1/+51
|
* Validate Server method input. Addresses BUKKIT-3687Edmond Poon2013-03-18-6/+23
| | | | | | | | | | | | CraftServer methods that implement the Server interface will throw an IllegalArgumentException if a method cannot operate on a null input and given a null pointer. This causes methods to fail early and identify that a plugin is responsible for passing in an invalid argument. This will only change the exception thrown, if there originally was a thrown exception. This helps with hunting down legitimate problems with CraftBukkit.
* Only filter data on block items, not all items.Travis Watkins2013-03-18-1/+1
|
* Add /testfor command support to command block. Adds BUKKIT-3813Travis Watkins2013-03-18-2/+23
|
* Only set player weather if a plugin requested it.Travis Watkins2013-03-18-1/+4
| | | | | | | If the server changes the weather it will set the per-player weather variable and future changes will not apply. We should only set this variable when a plugin is requesting per-player weather and not when the server it doing it.
* Implement per-player Weather API. Adds BUKKIT-812T00thpick12013-03-18-2/+38
|
* Implement new cause versions of BlockIgniteEvent. Addresses BUKKIT-3609, ↵Yariv Livay2013-03-18-77/+104
| | | | BUKKIT-3656, BUKKIT-3657
* Implement InventoryPickupItemEvent. Adds BUKKIT-3798Travis Watkins2013-03-18-0/+9
|
* Make CraftMinecartHopper work as InventoryHolder. Adds BUKKIT-3796Michael Limiero2013-03-18-7/+19
|
* Implement Entity.isOnGround(). Adds BUKKIT-3787Chad Waters2013-03-17-0/+4
|
* Use name given to command block instead of "@". Fixes BUKKIT-3803Travis Watkins2013-03-17-1/+1
|
* Implement Hopper block state and inventory methods. Adds BUKKIT-3749Michael Limiero2013-03-17-1/+47
|
* Add missing getOwner method for container minecarts.Travis Watkins2013-03-16-0/+7
|
* Allow special crafting data value on items. Fixes BUKKIT-3780Travis Watkins2013-03-16-0/+6
|
* Handle double trapped chest inventory. Fixes BUKKIT-3772Travis Watkins2013-03-16-4/+13
|
* Fire BlockDispenseEvent for new dispenser behaviors. Fixes BUKKIT-3774Travis Watkins2013-03-16-5/+131
|
* Add new DispenseBehavior files from mc-dev for diff visibility.Travis Watkins2013-03-16-0/+127
|
* Allow data on tool items. Fixes BUKKIT-3773Travis Watkins2013-03-16-1/+1
|
* Comment out vanilla debug message.Travis Watkins2013-03-16-0/+2
|
* Filter negative values for all items.Travis Watkins2013-03-16-4/+2
|
* Filter data for items that shouldn't have it and filter wool.Travis Watkins2013-03-16-1/+14
| | | | | | | | We used to fall Item.filterData() for this but that method is meant for converting item data to block data during placement and does the wrong thing for this case. Instead we just see if the item should have data and if not set it to zero. We also have to filter wool data explicitly because clients crash when given invalid wool data.
* Ignore invalid inventory slots. Fixes BUKKIT-3737Travis Watkins2013-03-16-1/+7
|
* Use Chest block state for trapped chests. Fixes BUKKIT-3762Travis Watkins2013-03-16-0/+1
|
* Don't set health directly, will interfere with scoreboard system.Travis Watkins2013-03-16-2/+2
|
* Limit mob names to 64 chars to avoid client crash. Fixes BUKKIT-3753Travis Watkins2013-03-16-0/+5
|
* Always consume bonemeal when used on a sapling. Fixes BUKKIT-3755Travis Watkins2013-03-16-5/+8
| | | | | | | | In Minecraft 1.5 saplings do not grow with a single use of bonemeal anymore. Our code assumes they will and only takes away bonemeal from the player when the tree grows successfully (not cancelled by a plugin). Instead we now always remove a bonemeal even if a plugin is the reason a tree didn't grow as this matches the vanilla logic more closely.
* Remove duplicate place logic for snow. Fixes BUKKIT-3756Travis Watkins2013-03-16-3/+8
|
* Handle the newly refactored minecarts.Wesley Wolfe2013-03-16-60/+99
|
* Use proper naming convention for boolean methods.Travis Watkins2013-03-15-1/+1
|
* Update CraftBukkit to Minecraft 1.5Travis Watkins2013-03-15-6731/+8471
|
* Fix compilation error with exception namesWesley Wolfe2013-03-02-4/+4
|
* Use the correct CB object for ContainerBrewingStand. Fixes BUKKIT-3357Nate Mortensen2013-03-02-2/+2
|
* Add proper logging for custom channel exceptions.Eimref2013-03-02-7/+20
|
* Implement PlayerItemConsumeEvent. Adds BUKKIT-2349Travis Watkins2013-03-02-0/+28
|
* Close inventory on teleport. FIXES BUKKIT-3021.Andrzej Pomirski2013-02-10-4/+5
|
* Check TravelAgent.findOrCreate(Location) for null; Fixes BUKKIT-3590EdGruberman2013-02-10-0/+3
| | | | | | | If a custom TravelAgent is used and returns null for findOrCreate method a NullPointerException will occur. Conflicts: src/main/java/net/minecraft/server/PlayerList.java
* Set CraftTravelAgent.DEFAULT to a non-null value. Fixes BUKKIT-3578James Clarke2013-02-06-1/+1
| | | | Currently, CraftTravelAgent will call s() on the passed-in WorldServer in order to set DEFAULT. However, s() will always return null at this point, because WorldServer.P will still be null, as it is set after the constructor is called. Instead, we set CraftTravelAgent.DEFAULT to the instance that is being constructed.
* Use entity UUID instead of EntityID for metadata. Fixes BUKKIT-3582feildmaster2013-02-06-2/+3
| | | | | | The entity id is a non-unique, non-persistent value, and will cause entities to lose their respective meta data on chunk unloading, and teleportation.
* Always return a TravelAgent; Fixes BUKKIT-3541EdGruberman2013-02-04-2/+7
| | | | | | | | | | | Recent changes caused PlayerPortalEvent to suddenly return null unexpectedly and could end up in NPEs resulting that did not before. This commit addresses that situation by always ensuring a TravelAgent instance is returned. The TravelAgent for world 0 is returned arbitrarily in an effort to compensate for plugins that are implementation dependent and expect some form of a TravelAgent to be accessible in the event at all times.
* Fix players spawning above portals. Fixes BUKKIT-3542.James Clarke2013-02-04-5/+5
| | | | | | | | | | | | Vanilla does not check for blocks in which the player could suffocate when changing dimension, so portals will happily spawn players in blocks when using a portal under certain circumstances. However, we currently check for these instances and move the player up until they will not suffocate. This means that players can sometimes be taken to above the target portal, making it seem as if a portal was not created. Instead, we now disable this suffocation check when moveToWorld is called from changeDimension, mirroring vanilla behavior more accurately.
* Always use the set exit location for portal events. Fixes BUKKIT-3555.James Clarke2013-02-04-2/+2
|
* Use the result of EntityPortalExitEvent. Fixes BUKKIT-3559.James Clarke2013-02-04-4/+12
|
* Fix NPE when getting bed spawn location.feildmaster2013-01-29-1/+1
|
* Fix contract with Player.getBedSpawnLocation. Fixes BUKKIT-3525feildmaster2013-01-29-2/+7
| | | | | Getting the bed spawn location is supposed to check if the bed is valid, however, it currently did not do so.