Commit Graph

3514 Commits

Author SHA1 Message Date
Zach Brown
059434ce92 SPIGOT-826: Add method to retrieve entity by UUID 2017-01-05 14:54:47 +11:00
md_5
7e19325845 SPIGOT-2640: API for multiple passengers per entity 2017-01-04 10:53:07 +11:00
md_5
ce89845fda SPIGOT-1915: Fix players seeing their own passengers 2017-01-04 10:50:02 +11:00
md_5
63b5f7d338 More robust inventory handling 2017-01-04 10:04:27 +11:00
md_5
613be0d841 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion. 2017-01-02 16:13:25 +11:00
md_5
a6d8fa2eac Recover spawn egg data from UNSPECIFIC meta. 2017-01-02 15:29:11 +11:00
md_5
bf8303f25d Clear effectsToProccess after applying potion effects 2017-01-02 13:51:16 +11:00
md_5
5715b3a6d9 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
2017-01-02 10:04:19 +11:00
md_5
e2a288c863 SPIGOT-2969: Shulker box removal not updating comparators 2016-12-28 14:23:52 +11:00
md_5
70bc70b4ee SPIGOT-2966: Entirely remove problematic check 2016-12-28 09:50:40 +11:00
md_5
f9e044059f SPIGOT-2960: Fire HOTBAR_MOVE_AND_READD in more cases 2016-12-27 12:14:55 +11:00
md_5
056af8b9c2 SPIGOT-2964: Correct number of shelve sin PrepareEnchantEvent 2016-12-27 11:53:09 +11:00
md_5
7c743ff64b SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant 2016-12-27 09:01:22 +11:00
md_5
50acb4477d Increase expire time to 7 days 2016-12-26 09:39:59 +11:00
Ryan Michela
1c7dfaebef SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value 2016-12-26 09:39:03 +11:00
md_5
0fb3f8b47a Correct some code. 2016-12-24 22:52:50 +11:00
md_5
96f03d9065 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK 2016-12-23 22:40:38 +11:00
md_5
746cf0f0d7 Additional fireworks damage tracking. 2016-12-23 22:32:40 +11:00
Zach Brown
622add8458 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.
2016-12-23 16:41:54 +11:00
md_5
e232e1519e SPIGOT-2953: Set damager for fireworks 2016-12-22 20:26:27 +11:00
md_5
13a5b12206 SPIGOT-2944: Just apply filtering to players 2016-12-22 16:50:24 +11:00
md_5
a86731306b Update to Minecraft 1.11.2 2016-12-21 22:00:00 +11:00
md_5
fb50a80d0f SPIGOT-2948: Alter filtering logic 2016-12-21 17:12:39 +11:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
c8ff65136f SPIGOT-2936: Simplify WorldBorder diff 2016-12-19 23:05:39 +11:00
md_5
4602331b1d SPIGOT-2930: Shift calling of PlayerItemBreakEvent to before break. 2016-12-18 09:26:36 +11:00
md_5
7f313269d7 SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.
2016-12-17 14:26:09 +11:00
Lukas Hennig
532457e41d SPIGOT-2923: Added PotionEffectType#getColor() 2016-12-17 09:46:58 +11:00
md_5
217358e845 SPIGOT-2924: Improve handling of Jukeboxes playing nothing. 2016-12-17 09:45:14 +11:00
md_5
0a6a5cb4ad SPIGOT-1036: Add API to manipulate sendTitle timings. 2016-12-16 09:48:14 +11:00
md_5
655d8407ce SPIGOT-2918: Always call EnchantItemEvent 2016-12-14 14:38:55 +11:00
md_5
c6d6844254 SPIGOT-2913: Only one enchantment applied to items 2016-12-13 08:44:50 +11:00
md_5
4f479728ee SPIGOT-2912: Fix enchanting with ID of 0 2016-12-12 09:35:31 +11:00
md_5
c4baa9cdf9 Add getLocation for InventoryEnderChest 2016-12-11 16:41:40 +11:00
md_5
0a81101bd2 Add EnchantmentOffer to PrepareItemEnchantEvent 2016-12-11 11:12:10 +11:00
md_5
7e02867f09 SPIGOT-2242: Handle changed item in PlayerPickupArrowEvent 2016-12-10 12:48:56 +11:00
md_5
aa257534dc SPIGOT-2524: Update inventory for cancelled air right click 2016-12-10 12:36:09 +11:00
md_5
7dfa530395 SPIGOT-2907: Improve EntityResurrectEvent handling 2016-12-10 12:16:14 +11:00
md_5
03c4bf2244 SPIGOT-2908: Correctly spawn LlamaSpit 2016-12-10 12:10:28 +11:00
md_5
622630c823 Clean up BlockFlowing 2016-12-09 12:56:49 +11:00
Brokkonaut
f9eddf3f6e SPIGOT-2886: Call BlockFormEvent when Lava and Water collide 2016-12-09 12:53:15 +11:00
md_5
caf86c88a9 Use CraftEventFactory for BlockFormEvent 2016-12-09 12:45:21 +11:00
md_5
521b64741e Add API to get default value of an Attribute 2016-12-09 12:31:25 +11:00
md_5
0fa1ad23ed SPIGOT-2894: Preserve unreadable spawn egg data in memory 2016-12-07 10:44:57 +11:00
md_5
58bff62b2d 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.
2016-12-06 22:05:58 +11:00
Xor Boole
bfbd868a37 Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.
2016-12-06 21:42:41 +11:00
Matthew
04202c0ace 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.
2016-12-06 21:15:34 +11:00
md_5
9dee10873d SPIGOT-2890: SetBiome not saving changes 2016-12-06 20:46:04 +11:00
Senmori
8c4397207f Implement EntityDeathEvent for ArmorStands 2016-12-06 17:10:33 +11:00
md_5
a710176e46 SPIGOT-2889: Error cancelling creative InventoryClickEvent 2016-12-05 09:07:25 +11:00