 Thinkofname | 24557bc2b37Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/ | Update to Minecraft 1.8For more information please see http://www.spigotmc.org/ | | |
 bendude56 | a4805dbd77d | Allow teleportation of entities on vehicles. Fixes BUKKIT-4210Up until Minecraft version 1.5 it was not possible to teleport entities
within vehicles. With the 1.5 update came the change in the Minecraft
teleportation logic to dismount before teleporting the entity, if
applicable.
This commit ammends the existing CraftBukkit logic for rejecting
teleportation for entities in vehicles to permit the action. Due to this
change, CraftBukkit is now in-line wit... | | BUKKIT-4210 |
 Jerom van der Sar | 80e8f2ab870 | Implement ability to keep items on death via plugins. Adds BUKKIT-5724When a player dies their inventory is normally scattered over the the area
in which they died. Plugins should be able to modify this behaviour by
defining whether or not the player's inventory will be dropped on the ground or waiting for the player when they eventually respawn.
This commit implements the methods included in the Bukkit half for the new
behaviour by acting upon the boolean flag.... | | BUKKIT-5724 |
 Starbuck Johnson | 3626720d537 | Modify the invalid item set to permit command blocks. Fixes BUKKIT-4342When using a "vanilla" Minecraft server using the "pick block" key on a
command block yields the invoker with a command block within their
inventory while in creative mode. Implications of the invalid items set
containing the command block also include having a "ghost" item that
cannot be placed due to it not actually existing.
This commit resolves the problem and brings Craftbukkit closer to ... | | BUKKIT-4342 |
 myiume | 4507cec090a | Fix PlayerFishEvent not correctly cancelling. Fixes BUKKIT-5396Prior to this commit cancelling the PlayerFishEvent would cause various
states of the fishing routine to be incorrectly or wrongly fired. This
incorrect behaviour was due to the miscommunication between the server and
client regarding the fishing state. When the event was cancelled, the
bobber entity was removed and caused the client to incorrectly determine
what the "next state" was to logical... | | BUKKIT-5396 |
Wesley Wolfe | b3e83b00fc5 | Implement deprecated methods.Adds BUKKIT-5752 | | BUKKIT-5752 |
Wesley Wolfe | 1f0c7914449 | Use sensible AssertionError instead of ambiguous RuntimeException | | |
 ase34 | 87f6fa7bc94 | Fix cancelling PlayerDropItemEvent. Fixes BUKKIT-3313Up until this commit the PlayerDropItemEvent, if cancelled, would return
items to the first available slot in the inventory - which is clearly
undesirable as a player and plugin author to deal with.
This commit changes that by ensuring that the item is returned to where
it came from in the player's inventory. This still supports modifying the
drop from the player and will default to "first ava... | | BUKKIT-3313 |
feildmaster | 971329c42b2 | Fix removal of items from Item Frames.Fixes BUKKIT-5736 | | BUKKIT-5736 |
Travis Watkins | 594d7cb8c91 | Don't confuse client with sound coordinates outside view distance. | | |
Wesley Wolfe | c7398b9fdf0 | Provide modifier functions to EntityDamageEvent.Fixes BUKKIT-5688 | | BUKKIT-5688 |
Travis Watkins | 319a9c20eb4 | Handle uniform block ids greater than 127.Fixes BUKKIT-5686 | | BUKKIT-5686 |
Travis Watkins | 13482ac7f63 | Put damage modifiers in Functions for event.Fixes BUKKIT-5681 | | BUKKIT-5681 |
Travis Watkins | dbb5e6e3cd3 | Update CraftBukkit to Minecraft 1.7.10 | | |
Wesley Wolfe | a8628fd645e | Use 4787c23dce0f5ac856d8d398225828971a93a3ff Guava patch for onlinePlayersThis change improves the quality of life for plugin developers using
iterator iteration with side-effects. In the specified Guava patch, the
internal iterator no longer relies on the AbstractList iterator which
iterates by index, and will instead wrap the provided iterator in a
transformer given the Function. | | |
Wesley Wolfe | b602b5efa44 | Implement new getOnlinePlayers.Adds BUKKIt-5668 | | |
 t00thpick1 | 83e934b3bd7 | [Bleeding] Fix checks for non-living entities.Fixes BUKKIT-5667 | | BUKKIT-5667 |
 t00thpick1 | 9099e48e74d | [Bleeding] Ignore damage done by LivingEntity.damage(). Fixes BUKKIT-5666This matches behavior previous to new damage event API of not throwing
events for plugin-triggered damage. | | BUKKIT-5666 |
Travis Watkins | 6364f59ac40 | Use compact memory format for uniform chunk section data.Many chunk sections contain parts of their data that are the same for
every block they contain. In these cases we can save memory by saving
a single value instead of an array of 4096 copies of that value. Block light
and block data are most likely to be uniform followed closely by sky light
data. Block ids are far less likely to be uniform but give the largest
saving when they are. Because of t... | | |
 t00thpick1 | 5adbab524d5 | [Bleeding] Set projectile source for reflected fireballs.Fixes BUKKIT-5661 | | BUKKIT-5661 |
 t00thpick1 | 6f21d3ca8fb | [Bleeding] Implement new damage api. Fixes BUKKIT-5326, BUKKIT-3878.This commit centralizes event handling to where damage is actually applied
to the entity to avoid bugs that have resulted from nodamageticks,
modifications to damage after the event has been called, and similar
mishaps. This also implements new API for getting and setting of
modifications made to the damage amount actually applied to the entity.
This is done by storing the change in the damage ... | | 2 Jira issues |
 t00thpick1 | bed3f7f8f54 | [Bleeding] Repair missing diff in Explosion. Fixes BUKKIT-5662The blast protection enchantment dampers explosions, however
the functionality was only added to block explosions, and not
entity explosions. | | BUKKIT-5662 |
Travis Watkins | 5b9950b5f7f | Avoid checking for loaded chunks for lighting and entity ticking.When a chunk is loaded the server tries to ensure it has its initial light
calculations done before sending it to the player. When ticking entities
the server tries to ensure the entity does not walk into an unloaded chunk.
To accomplish these the server checks a one chunk radius around the chunk
to be lit or a two chunk radius around the chunk the entity is in. These
lookups happen every tick ... | | |
Travis Watkins | ea126f98adf | Don't check unload queue before ticking things anymore.In commits 71a238ee and c8591397 we added checks while ticking to ensure
we never ticked anything in a chunk meant to be unloaded. We did this to
prevent these chunks being removed from the unload queue and leaked.
However, this causes a ridiculously large number of lookups on the queue
for a somewhat rare occurance. We also now have the chunk GC which will
take care of these leaked chunks when... | | |
EvilSeph | e6a2feda208 | Updated version to 1.7.9-R0.3-SNAPSHOT for development towards next release. | | |
EvilSeph | 080edc16be0 | Updated version to 1.7.9-R0.2 in pom.xml for Beta. | | |
 Dan Roque | 1b48298d25b | Add special case for handling place event with lilies.Fixes BUKKIT-5641 | | BUKKIT-5641 |
Travis Watkins | 1c13d076afb | Improve ItemStack filtering. | | |
 Nate Mortensen | 47b57e6bcf9 | Some assumptions are better than others. | | |
 Daniel Naylor | 0a45c3ebf79 | Use UUIDs in CraftPlayer equals and hashCode methods.Fixes BUKKIT-5634 | | BUKKIT-5634 |
Travis Watkins | 38fbe60d468 | Handle null targets in target event.Fixes BUKKIT-5635 | | BUKKIT-5635 |
Nate Mortensen | 3fbf4d3b5f3 | Fix ItemStack state during BlockPlaceEvent.Fixes BUKKIT-5632 | | BUKKIT-5632 |
Travis Watkins | e080bafa58c | Rework mob item dropping on death. Fixes BUKKIT-5625After the changes in d611cff2 we started including a mob's equipment when
calling EntityDeathEvent so plugins can access this data. However, the
changes to enable this triggered a bug that makes skeletons and pig zombies
no longer drop equipment because they handle this differently than the rest.
On top of this we don't handle dropping equipment for mobs that cannot
pick up items in vanilla eve... | | BUKKIT-5625 |
Wesley Wolfe | 4ab4fa5bb1d | Fix polarity of Bat.isAwake() and Bat.setAwake(boolean).Fixes BUKKIT-5624 | | BUKKIT-5624 |
EvilSeph | a1f3d35808a | Updated version to 1.7.9-R0.2-SNAPSHOT for development towards next release. | | |
EvilSeph | 07a54650587 | Updated version to 1.7.9-R0.1 in pom.xml for Beta. | | |
Travis Watkins | 89d5265da69 | Ensure we always log commands and log the right thing.Waiting to log until after PlayerCommandPreprocessEvent makes the server
not log anything if the event is cancelled. It also makes the server log
what a plugin changed the command to instead of what the player actually
tried to run. As the point of the log is to have a record of every command
a player attempts to run these are both not desirable. | | |
Wesley Wolfe | fa1b6ba834f | Update CraftBukkit to use new YamlConfiguration encoding changes | | |
Wesley Wolfe | 8daacb90177 | Implement awake flag for bats.Adds BUKKIT-5606 | | BUKKIT-5606 |
Wesley Wolfe | 730a62c96af | Handle chat packets correctly | | |
Travis Watkins | 65a6e977850 | Handle inventory max stack sizes even better. Fixes BUKKIT-5595In 7e37cf96 we modified the container logic to handle custom max stack
sizes better and ensure the client stays in sync with this scenario. This
had the effect of sending an extra set slot packet for every inventory
click a player did which was not wanted. These extra packets also cause the
client to recalculate recipes which breaks the result slot for custom
recipes. To avoid the extra packets... | | BUKKIT-5595 |
Travis Watkins | 5610337b4fa | Only set skull profile if it is a player skull.Fixes BUKKIT-5605 | | BUKKIT-5605 |
Travis Watkins | 690a908b971 | Avoid using the user cache in skull meta.To handle changes in 1.7.9 we changed skull meta to use GameProfile
instances instead of strings of player names. This reflects what vanilla is
actually storing for skulls now. As skulls still require a name our API was
not changed and we instead look up the rest of the profile information from
the name. The way this was implemented made it so that deserializing a skull
or setting its name pote... | | |
 GJ | 33e472229ef | [Bleeding] Fix stack overflow with Ender Crystals.Fixes BUKKIT-5583 | | BUKKIT-5583 |
 eueln | 2bf22a9c497 | Implement inventory creation by type and title. Fixes BUKKIT-4045With the current API it is possible to create an inventory with a specific
type, but it is not possible to give such an inventory a title other than
the default.
The commit changes that by adding a method to optionally supply the title
for the given inventory type and holder, creating the functionality to
display any supported inventory type with a 32 character length String.
If the inventory... | | BUKKIT-4045 |
 GJ | c3e4767a793 | [Bleeding] Recheck persistence for chicken jockeys each tick.Fixes BUKKIT-5577 | | BUKKIT-5577 |
 GJ | 5195513866d | [Bleeding] Include equipment in EntityDeathEvent loot.Fixes BUKKIT-5566 | | BUKKIT-5566 |
GJ | 76e6277175b | [Bleeding] Allow generation of cocoa trees. | | |
GJ | d91ee7d7ab1 | [Bleeding] Correct issues with MEGA_REDWOOD trees. Fixes BUKKIT-5568In commit 6efeddfe57, TALL_REDWOOD was used instead of the proper TreeType
of MEGA_REDWOOD. Additionally, this fixes an issue in CraftWorld with an
improper boolean flag related to the generation of MEGA_REDWOOD trees. | | BUKKIT-5568 |
 Dan Roque | 576758bc559 | Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-555823 classes have been removed as they are no longer needed using the new
capture logic. This should help quite a bit with future MC updates.
BlockPlaceEvent Refactor
Before calling Item.interactWith, a recording flag is turned on for
setTypeAndData to capture a blockstate for each block that attempts to be set.
When a block place event is cancelled, the recorded blockstate, stack
size, and met... | | BUKKIT-5558 |