Commit Graph

3650 Commits

Author SHA1 Message Date
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
Jacob Martin
b64d852496 #326: Convert BlockMeta to handle older serialized items. 2016-12-03 10:58:18 +11:00
md_5
9beb0c9968 SPIGOT-2879: Change order of entity addition for ender pearls 2016-12-03 09:55:36 +11:00
md_5
1d54397474 SPIGOT-911: Add hitBlock to PorjectileHitEvent 2016-12-02 09:38:50 +11:00
md_5
b6ad714e85 SPIGOT-2871: Improve BlockStates + BlockStateMeta 2016-12-02 09:29:33 +11:00
md_5
4d99feddd0 Reduce outdated build delay further. 2016-12-01 10:19:09 +11:00
Xor Boole
eb6c1bf31a Add some expansions to Anvil Inventory API 2016-11-30 16:40:40 +11:00
md_5
6d5a66f00f SPIGOT-2867: Update inventory on cancelled interacts too 2016-11-30 15:33:29 +11:00
md_5
fffaf07113 Fangs degree => radians (and back) 2016-11-30 09:56:09 +11:00
md_5
8d7e4d17e9 Expand definition of isFrozen 2016-11-30 09:16:01 +11:00
md_5
ff324aabe6 SPIGOT-2862: Cannot spawn evoker fangs 2016-11-30 08:37:06 +11:00
md_5
41ade2f291 SPIGOT-2860: Don't create 0 exp orbs when breeding 2016-11-29 15:42:46 +11:00
md_5
1c07d5c78f Add hitEntity to ProjectileHitEvent 2016-11-28 12:47:01 +11:00
md_5
2ba48b4965 SPIGOT-2855: Empty ItemStacks in PlayerDeathEvent drops 2016-11-28 12:34:21 +11:00
md_5
c91ca4a541 Build expiry is now 1 week 2016-11-28 10:19:33 +11:00