summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Updated version to 1.6.2-R1.0 in pom.xml for RB.EvilSeph2013-09-10-1/+1
|
* Update for 1.6.2_01 renames.EvilSeph2013-09-10-1/+1
|
* Fix villager death soundfeildmaster2013-09-10-1/+1
|
* Add missing villager sounds. Addresses BUKKIT-4756feildmaster2013-09-10-0/+6
|
* Use correct spawn reason for Zombie reinforcements. Fixes BUKKIT-4744EvilSeph2013-09-10-1/+1
|
* Remove unnecessary error logging. Fixes BUKKIT-4406EvilSeph2013-09-10-1/+1
|
* Provide a tab completion handler for JLine. Adds BUKKIT-4168Phillip Schichtel2013-09-10-0/+48
|
* Add support for custom Hopper inventories. Fixes BUKKIT-4722FrozenBrain2013-09-10-0/+30
| | | | | | | | | | | | | Opening a hopper inventory created by Server.createInventory will currently have no effect as proper handling code is missing in CraftEntityHuman for hopper inventories that aren't associated with a tile entity or minecart. Initialization logic for hoppers is also missing from CraftContainer, which is necessary for the opening of custom hopper inventories. This commit fixes the two aforementioned by adding proper handling to CraftHumanEntity for opening inventories not associated with a tile entity, and by adding initialization logic for hoppers to CraftContainer.
* Update and add new sound mappings. Fixes BUKKIT-4756feildmaster2013-09-10-160/+204
|
* Correct location of fire from lightning strikes. Fixes BUKKIT-4707Brokkonaut2013-09-10-1/+1
| | | | | | | | | Previously fires spawned by lightning strikes were in the wrong locations. This introduced the possibility of having blocks replaced when they should not be. EntityLightning now uses the correct locations as defined to spawn the fires when needed.
* Properly set persistence flag for bred animals. Fixes BUKKIT-4751feildmaster2013-09-10-0/+5
|
* Check that a vehicle is a Vehicle before casting. Fixes BUKKIT-4749Nate Mortensen2013-09-09-1/+1
| | | | | | | | | | When an entity is being moved as the passenger of an entity from one entity to another, a VehicleExitEvent is fired, but it is assumed that the current entity is a Vehicle. However, entities can be passengers of more than just Vehicles, which causes a ClassCastException to be thrown. This commit fixes the issue by checking that the current entity's vehicle's bukkitEntity is an instance of Vehicle before casting it to Vehicle.
* Fix improperly initialized usernamesWesley Wolfe2013-09-02-0/+3
|
* Set current recipe to null when a recipe isn't found. Fixes BUKKIT-2311T00thpick12013-08-28-0/+1
| | | | | This commit restores the diff from 84dbc21aa71b96fd1d2ea40d624b536309118cde that has since been lost.
* Add source encoding to the maven compiler plugin.Wesley Wolfe2013-08-28-0/+1
| | | | | | | This change adds the source encoding to the maven compiler plugin, which will strictly enforce build consistency on multiple platforms and address possible compilation issues on some of the source files. The source encoding unintuitively is system-specified by default.
* Return correct hasLineOfSight value for players. Fixes BUKKIT-4634Roger Baumgartner2013-08-26-1/+1
| | | | | | | Prior to this change when a plugin called Player.hasLineOfSite() the method would always return false because EntityHuman does not extend EntityInsentient. This commit changes that by explicitly checking for line of sight between two entities and returning that value.
* Fire FoodLevelChangeEvent when eating cake. Fixes BUKKIT-2242T00thpick12013-08-15-1/+11
|
* Add BlockCake for diff visibility.T00thpick12013-08-15-0/+88
|
* Make ItemFactoryTest.java platform agnostic. Fixes BUKKIT-4695Wesley Wolfe2013-08-14-4/+6
| | | | | | | Maven paths that include spaces (and possible other characters) get improperly translated when using a file handle from a URL. This changes the unit test to open a stream directly from the URL, providing proper file resolution on multiple platforms.
* Return instance of CraftInventoryBeacon for Beacons. Fixes BUKKIT-4521T00thpick12013-08-07-2/+2
|
* Fix missed diff for chat packets. Fixes BUKKIT-4666Wesley Wolfe2013-08-07-33/+1
| | | | | | | | This commit removes chat wrapping. It is no longer needed, as clients properly render lines with line breaks. This commit also changes an outgoing chat message to use the vanilla behavior for indicating a client cannot chat with commands-only setting.
* Wrap plugin.getDefaultWorldGenerator in try-catch. Fixes BUKKIT-4116riking2013-08-07-3/+7
| | | | | | If a plugin generates an exception when returning a world generator, the server will crash. This change adds a try-catch block to keep the server from crashing on plugin defined world generators.
* Fix javac workaround in ItemStackTestWesley Wolfe2013-08-06-13/+10
|
* Add BukkitObjectIOStream tests on top of ItemMeta testsWesley Wolfe2013-08-06-9/+76
|
* Validate title for custom inventories. Fixes BUKKIT-4616, BUKKIT-4663Wesley Wolfe2013-08-06-0/+3
| | | | | | | | | Custom inventories currently do not validate the titles provided. Null values cause NPEs when writing packets. Values longer than 32 characters disconnect clients. This change throws and IllegalArgumentException for null titles or titles longer than 32 characters.
* Use correct spawn reason for Villagers Breeding. Fixes BUKKIT-4113T00thpick12013-08-06-1/+1
|
* Add PathfinderGoalMakeLove for diff visibilityT00thpick12013-08-06-0/+90
|
* Call unleash event for non-sitting animals. Fixes BUKKIT-4658T00thpick12013-08-06-1/+3
| | | | | | The unleash event is only called for animals that are sitting - ones that receive no movement vector. This adds the missing event call for non-sitting animals.
* Updated version to 1.6.2-R0.2-SNAPSHOT for development towards next release.EvilSeph2013-08-04-1/+1
|
* Updated version to 1.6.2-R0.1 in pom.xml for Beta.EvilSeph2013-08-03-1/+1
|
* Fix off by 1 error for spawn protection. Fixes BUKKIT-4154Jonatan Noponen2013-08-03-1/+1
|
* Fix mistranslation in isPlayerCreated() for IronGolems. Fixes BUKKIT-4543Kai Dederichs2013-08-03-1/+1
|
* Update players when coming into view of vehicle. Fixes BUKKIT-4628Wesley Wolfe2013-08-03-0/+6
| | | | | | | | | When only considering trackers from player perspective, attach entity packet could be sent before a packet for a respective vehicle is in view and will, in turn, be ignored. This adds another notification when the vehicle comes into view to cover all cases.
* Implement Leash API. Adds BUKKIT-4459, BUKKIT-4583T00thpick12013-08-03-14/+156
|
* Add EntityLeash and ItemLeash for diff visibilityT00thpick12013-08-03-0/+171
|
* Ignore null sound by contract. Fixes BUKKIT-4641Wesley Wolfe2013-08-02-0/+3
|
* Indicate help is a command. Fixes BUKKIT-4642Wesley Wolfe2013-08-02-1/+5
|
* Revert to 1.5 despawning behaviour for Ocelots and Wolves. Fixes BUKKIT-4449EvilSeph2013-08-02-8/+5
|
* Add timeout for Panic goal. Fixes BUKKIT-4531EvilSeph2013-08-02-0/+6
|
* Add PathfinderGoalPanic for diff visibility.EvilSeph2013-08-02-0/+41
|
* Add raw sound string playSound method. Adds BUKKIT-2443h31ix2013-08-02-1/+5
| | | | A method has been added to Player which allows the server to send a sound string to the client. Assuming the client has the specified sound, it will be played. This is needed by the implementation of the /playsound command.
* Restore diff missed in 4176258a836062b22ac46919aefa5cc36fae78f2Wesley Wolfe2013-08-01-0/+4
|
* Revert "Correct vehicle movement issues." Fixes BUKKIT-4565Wesley Wolfe2013-07-29-11/+3
| | | | | | | This reverts commit 3d906d134417cfeefe7f71b916fee4d105e7650f. Conflicts: src/main/java/net/minecraft/server/EntityTrackerEntry.java
* Fix NBT token for attribute names. Addresses BUKKIT-4483Wesley Wolfe2013-07-28-1/+7
|
* Store item attributes. Addresses BUKKIT-4523Wesley Wolfe2013-07-27-1/+134
|
* Restore CraftBukkit diff in ItemDye. Fixes BUKKIT-4493T00thpick12013-07-25-1/+1
| | | | Change ItemDye to pass the EntityHuman for StructureGrowEvent again.
* Store owning Horse in horse inventory. Fixes BUKKIT-4586Wesley Wolfe2013-07-25-3/+8
|
* Fix CraftBukkit diffsWesley Wolfe2013-07-23-3/+3
|
* Check interactable items before event. Fixes BUKKIT-4576Wesley Wolfe2013-07-23-10/+16
| | | | | | | Items that cause entities to change state, including tags, chest, and leashes, do not update the client properly following the firing of PlayerInteractEntityEvent. This change makes the item checks occur before the event fires, to concur with the client's assumptions.
* Add API to control scaled health. Adds BUKKIT-4590T00thpick12013-07-23-11/+106
| | | | | | | | | | | | | | | | | | | | | | | This commit implements the ability to set the scale of hearts that the client renders. When the Packet44UpdateAttributes packet is sent, the max health attribute is replaced with a scaled version, to preserve the scaled health illusion clientside. In order to accurately display the scaled health for players, a true health is stored within CraftPlayer, and the datawatcher now stores the scaled health. The getHealth() method for players still returns their true health. Changed setHealth() within EntityLiving to appropriately handle health for instances of EntityPlayer. Inlined a call to setHealth(getMaxHealth()) within the EntityLiving constructor to work around CraftEntity instantiation. Additionally fixes the health values sent when eating food within FoodMetaData and ItemFood, which previously sent the unscaled health; this commit alters them to send the properly scaled health. Additionally fixes BUKKIT-4535, BUKKIT-4536, and BUKKIT-4127