summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
Commit message (Collapse)AuthorAgeLines
* Update CraftBukkit to Minecraft 1.7.2mbax2013-11-30-10788/+13132
|
* Ensure maps are stored only in the main world. Fixes BUKKIT-4872feildmaster2013-10-30-5/+9
|
* Don't share WorldMapCollection. Fixes BUKKIT-4871Wesley Wolfe2013-10-30-1/+1
| | | | | | | | | | WorldMapCollection stores scoreboard, map (item), structure, and village information. Scoreboards are explicitly handled globally, while villages and structures are erroneously shared. This commit separates the WorldMapCollections to not be shared among custom worlds. Maps are special-cased to maintain the previous shared behavior.
* Add auto-save plugin redundancy detection.Wesley Wolfe2013-10-23-1/+10
| | | | | | This change will print a warning when a plugin induces a forced save. A player or console forcing a save (via a command) is ignored for purposes of printing a warning.
* Remove redundant call to worldMaps.a(). Addresses BUKKIT-4828Nate Mortensen2013-10-19-1/+5
| | | | | | | | | The WorldMapCollection object for SecondaryWorldServers(Nether, End) is shared with the main world, so saving it again for each SecondaryWorldServer is redundant. This commit removes the redundant call by checking if the WorldServer is an instanceof SecondaryWorldServer before invoking worldMaps.a().
* Force item data to use a tag name. Fixes BUKKIT-4809feildmaster2013-10-12-2/+7
| | | | | | | The recent Minecraft update rendered the e20e50f85083dc53cb5456254bcf5781ef750daa fix incorrect by adding a compound name to the base tag in some code. This fix changes all uses of tag changes to explicitly use a name.
* Call BlockFadeEvent for fire on inflammable block. Fixes BUKKIT-4835Phil Watson2013-10-09-1/+1
| | | | | This adds a call to fireExtinguished for fire burning out on inflamable blocks, similar to other causes of fire fading.
* Add exception-resilience to reading UUID. Fixes BUKKIT-4833Wesley Wolfe2013-10-06-17/+33
| | | | | | | | | When a "uid.dat" file is corrupt (empty or <16 bytes), WorldNBTStorage will silently fail to read and return null. Non-null behavior is expected everywhere that this value is used. This change will force a random UUID when the previous UUID cannot be read, and getUUID to no longer silently ignore read/write exceptions.
* Initialize hostname on handshake. Fixes BUKKIT-4793Wesley Wolfe2013-09-20-0/+1
| | | | | This restores a lost CraftBukkit diff that initializes the hostname field used during login events.
* Update CraftBukkit to 1.6.4feildmaster2013-09-19-654/+690
|
* 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/+1
|
* 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.
* Fire FoodLevelChangeEvent when eating cake. Fixes BUKKIT-2242T00thpick12013-08-15-1/+11
|
* Add BlockCake for diff visibility.T00thpick12013-08-15-0/+88
|
* Fix missed diff for chat packets. Fixes BUKKIT-4666Wesley Wolfe2013-08-07-9/+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.
* 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.
* 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-4/+67
|
* Add EntityLeash and ItemLeash for diff visibilityT00thpick12013-08-03-0/+171
|
* 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
|
* 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
* 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-5/+45
| | | | | | | | | | | | | | | | | | | | | | | 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
* Correctly fire VehicleExitEvent. Fixes BUKKIT-3761Nate Mortensen2013-07-13-6/+52
| | | | | | | | | | | | This change makes it so that EntityHuman#setPassengerOf(Entity) invokes its parent method when leaving vehicles so that VehicleExitEvent is fired for players leaving vehicles. This change also fixes BUKKIT-2110, making it so VehicleExitEvent correctly handles cancellation. The implementation of VehicleExitEvent completely ignored the cancellation state of the event, making it so that cancelling the event had no effect. Cancelling a VehicleExitEvent now causes the entity to remain inside of the vehicle, with no visual stutter.
* Return inGround when checking Arrow's OnGround state. Fixes BUKKIT-4439EvilSeph2013-07-10-0/+6
|
* Clear attributes on death; mistranslation issue.EvilSeph2013-07-10-1/+1
|
* Implement Horse API. Adds BUKKIT-4424h31ix2013-07-10-15/+51
| | | | | | | | API has been added to interface with Horses and to modify their inventories. Horse entities will now be recognized with the type EntityType.HORSE, and will no longer be UNKNOWN. HorseJumpEvent, EntityDamageEvent, and EntityTameEvent are all correctly fired for horses. This commit fixes BUKKIT-4393.
* Add PathfinderGoalTame for diff visibility.h31ix2013-07-10-0/+63
|
* Correctly set level name for 'world' option. Fixes BUKKIT-4474EvilSeph2013-07-09-1/+1
|
* Ocelots -> Ocelittle. Addresses BUKKIT-4449EvilSeph2013-07-09-3/+6
|
* Update CraftBukkit to 1.6.2mbax2013-07-08-1101/+1145
|
* Removed extra eat call. Fixes BUKKIT-4462EvilSeph2013-07-04-1/+0
|
* Properly clear attributes on remove and death. Fixes BUKKIT-4416EvilSeph2013-07-03-1/+1
|
* Fix scaling for player health. Fixes BUKKIT-4431Wesley Wolfe2013-07-02-2/+2
|
* Fix donkey/mule dupe exploit.EvilSeph2013-07-02-1/+3
|
* Added EntityHorse for diff visibility.EvilSeph2013-07-02-0/+1186
|