Commit graph

2229 commits

Author SHA1 Message Date
CraftBukkit/Spigot
e63cab01fc SPIGOT-826: Add method to retrieve entity by UUID
By: Zach Brown <zach.brown@destroystokyo.com>
2017-01-04 21:28:31 -06:00
CraftBukkit/Spigot
0bd65c1b02 SPIGOT-2640: API for multiple passengers per entity
By: md_5 <git@md-5.net>
2017-01-04 10:53:07 +11:00
CraftBukkit/Spigot
abf429e3bb SPIGOT-1915: Fix players seeing their own passengers
By: md_5 <git@md-5.net>
2017-01-04 10:50:02 +11:00
CraftBukkit/Spigot
44f4a83e59 More robust inventory handling
By: md_5 <git@md-5.net>
2017-01-04 10:04:27 +11:00
CraftBukkit/Spigot
a1cc3a4382 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion.
By: md_5 <git@md-5.net>
2017-01-02 16:13:25 +11:00
CraftBukkit/Spigot
86649dea13 Recover spawn egg data from UNSPECIFIC meta.
By: md_5 <git@md-5.net>
2017-01-02 15:29:11 +11:00
CraftBukkit/Spigot
ed9b479bcb Clear effectsToProccess after applying potion effects
By: md_5 <git@md-5.net>
2017-01-02 13:51:16 +11:00
CraftBukkit/Spigot
85a119a172 SPIGOT-2977: Pass setAmount(0) through to wrapped ItemStack.
This class needs to be rewritten with more consistent semantics and alignment with Minecraft losing null, but that is probably a job for 1.12

By: md_5 <git@md-5.net>
2017-01-02 10:04:19 +11:00
CraftBukkit/Spigot
0779610d64 SPIGOT-2969: Shulker box removal not updating comparators
By: md_5 <git@md-5.net>
2016-12-28 14:23:52 +11:00
CraftBukkit/Spigot
93623ce896 SPIGOT-2966: Entirely remove problematic check
By: md_5 <git@md-5.net>
2016-12-28 09:50:40 +11:00
CraftBukkit/Spigot
1f6a5ecc06 SPIGOT-2960: Fire HOTBAR_MOVE_AND_READD in more cases
By: md_5 <git@md-5.net>
2016-12-27 12:14:55 +11:00
CraftBukkit/Spigot
e3b7ad4ef3 SPIGOT-2964: Correct number of shelve sin PrepareEnchantEvent
By: md_5 <git@md-5.net>
2016-12-27 11:53:09 +11:00
CraftBukkit/Spigot
2d5ab1f7b5 SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant
By: md_5 <git@md-5.net>
2016-12-27 09:01:22 +11:00
CraftBukkit/Spigot
14eb034e4b Increase expire time to 7 days
By: md_5 <git@md-5.net>
2016-12-26 09:39:59 +11:00
CraftBukkit/Spigot
6333307ee3 SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value
By: Ryan Michela <deltahat@gmail.com>
2016-12-25 11:26:00 -05:00
CraftBukkit/Spigot
83554f3290 Correct some code.
By: md_5 <git@md-5.net>
2016-12-24 22:52:50 +11:00
CraftBukkit/Spigot
d338127ab9 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK
By: md_5 <git@md-5.net>
2016-12-23 22:39:33 +11:00
CraftBukkit/Spigot
a272470d6f Additional fireworks damage tracking.
By: md_5 <git@md-5.net>
2016-12-23 22:32:40 +11:00
CraftBukkit/Spigot
64b9c40cd7 MC-88491: Fix projectile colliding with shooter
In some situations, a projectile made collide with the entity that shot
it. This occurs because the game sets the ignored entity incorrectly.
Our fix is to ensure that the shooter is the only entity that gets
ignored by the projectile.

By: Zach Brown <zach.brown@destroystokyo.com>
2016-12-22 15:29:23 -06:00
CraftBukkit/Spigot
2b518036f5 SPIGOT-2953: Set damager for fireworks
By: md_5 <git@md-5.net>
2016-12-22 20:26:27 +11:00
CraftBukkit/Spigot
e6b0af2e55 SPIGOT-2944: Just apply filtering to players
By: md_5 <git@md-5.net>
2016-12-22 16:50:24 +11:00
CraftBukkit/Spigot
0c321dd15d Update to Minecraft 1.11.2
By: md_5 <git@md-5.net>
2016-12-21 22:00:00 +11:00
CraftBukkit/Spigot
afecf1c36c SPIGOT-2948: Alter filtering logic
By: md_5 <git@md-5.net>
2016-12-21 17:12:39 +11:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +11:00
CraftBukkit/Spigot
74902a47aa SPIGOT-2936: Simplify WorldBorder diff
By: md_5 <git@md-5.net>
2016-12-19 23:05:39 +11:00
CraftBukkit/Spigot
595c69ab7b SPIGOT-2930: Shift calling of PlayerItemBreakEvent to before break.
By: md_5 <git@md-5.net>
2016-12-18 09:26:36 +11:00
CraftBukkit/Spigot
75f7baf1ad SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.

By: md_5 <git@md-5.net>
2016-12-17 14:26:09 +11:00
CraftBukkit/Spigot
348449a44a SPIGOT-2923: Added PotionEffectType#getColor()
By: Lukas Hennig <lukas@wirsindwir.de>
2016-12-16 17:22:21 +01:00
CraftBukkit/Spigot
fe586949bf SPIGOT-2924: Improve handling of Jukeboxes playing nothing.
By: md_5 <git@md-5.net>
2016-12-17 09:45:14 +11:00
CraftBukkit/Spigot
d69f49d486 SPIGOT-1036: Add API to manipulate sendTitle timings.
By: md_5 <git@md-5.net>
2016-12-16 09:48:14 +11:00
CraftBukkit/Spigot
694b7ad459 SPIGOT-2918: Always call EnchantItemEvent
By: md_5 <git@md-5.net>
2016-12-14 14:38:55 +11:00
CraftBukkit/Spigot
54e60aee75 SPIGOT-2913: Only one enchantment applied to items
By: md_5 <git@md-5.net>
2016-12-13 08:44:50 +11:00
CraftBukkit/Spigot
d381e7b934 SPIGOT-2912: Fix enchanting with ID of 0
By: md_5 <git@md-5.net>
2016-12-12 09:35:31 +11:00
CraftBukkit/Spigot
a9e3f93ed3 Add getLocation for InventoryEnderChest
By: md_5 <git@md-5.net>
2016-12-11 16:41:40 +11:00
CraftBukkit/Spigot
b5bd9528a0 Add EnchantmentOffer to PrepareItemEnchantEvent
By: md_5 <git@md-5.net>
2016-12-11 11:10:38 +11:00
CraftBukkit/Spigot
25e61b60e4 SPIGOT-2242: Handle changed item in PlayerPickupArrowEvent
By: md_5 <git@md-5.net>
2016-12-10 12:48:56 +11:00
CraftBukkit/Spigot
87d502339e SPIGOT-2524: Update inventory for cancelled air right click
By: md_5 <git@md-5.net>
2016-12-10 12:36:09 +11:00
CraftBukkit/Spigot
8b77464a94 SPIGOT-2907: Improve EntityResurrectEvent handling
By: md_5 <git@md-5.net>
2016-12-10 12:16:14 +11:00
CraftBukkit/Spigot
b4a50e447b SPIGOT-2908: Correctly spawn LlamaSpit
By: md_5 <git@md-5.net>
2016-12-10 12:10:28 +11:00
CraftBukkit/Spigot
05fbc8df18 Clean up BlockFlowing
By: md_5 <git@md-5.net>
2016-12-09 12:56:49 +11:00
CraftBukkit/Spigot
2fa7ac3174 SPIGOT-2886: Call BlockFormEvent when Lava and Water collide
By: Brokkonaut <hannos17@gmx.de>
2016-12-09 12:53:15 +11:00
CraftBukkit/Spigot
9e8988306c Use CraftEventFactory for BlockFormEvent
By: md_5 <git@md-5.net>
2016-12-09 12:45:21 +11:00
CraftBukkit/Spigot
cd5305a554 Add API to get default value of an Attribute
By: md_5 <git@md-5.net>
2016-12-09 12:31:08 +11:00
CraftBukkit/Spigot
597dc19283 SPIGOT-2894: Preserve unreadable spawn egg data in memory
By: md_5 <git@md-5.net>
2016-12-07 10:44:57 +11:00
CraftBukkit/Spigot
00609fd3df SPIGOT-2891: Remove chunks if first check is false
Minecraft does double checking for synchronous generation, but since we generate chunks asynchronously we are required to check the first condition also in case the chunk was loaded between ticks. We leave the other logic to be cleaned up by the loops below.

By: md_5 <git@md-5.net>
2016-12-06 22:05:58 +11:00
CraftBukkit/Spigot
9c16a5f61a Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.

By: Xor Boole <mcyoung@mit.edu>
2016-12-06 21:39:20 +11:00
CraftBukkit/Spigot
dd89db67a5 SPIGOT-1592: Implement ItemMeta for Spawn Eggs
The Minecraft implementation of spawn eggs is able to construct an entity using all data that is present in the save format, however since the Bukkit API has no such way to construct an entity unattached to a world, and it appears creating such a way is a very challenging task, the decision was instead made to add this API now that 1.11 has entities which may not be represented by data values.
In the future it may be possible to implement a more expanded API cognate with this one.

By: Matthew <stteg@hotmail.com>
2016-12-06 21:15:10 +11:00
CraftBukkit/Spigot
e40bffa82a SPIGOT-2890: SetBiome not saving changes
By: md_5 <git@md-5.net>
2016-12-06 20:46:04 +11:00
CraftBukkit/Spigot
db5c1e3e66 Implement EntityDeathEvent for ArmorStands
By: Senmori <thesenmori@gmail.com>
2016-12-03 16:32:13 -05:00
CraftBukkit/Spigot
24fdb26050 SPIGOT-2889: Error cancelling creative InventoryClickEvent
By: md_5 <git@md-5.net>
2016-12-05 09:07:25 +11:00