Commit Graph

495 Commits

Author SHA1 Message Date
md_5
caf86c88a9 Use CraftEventFactory for BlockFormEvent 2016-12-09 12:45:21 +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
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
b6ad714e85 SPIGOT-2871: Improve BlockStates + BlockStateMeta 2016-12-02 09:29:33 +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
8d7e4d17e9 Expand definition of isFrozen 2016-11-30 09:16:01 +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
0a1e0455e2 SPIGOT-1401: Issues placing blocks adjacent to eachother 2016-11-28 10:13:49 +11:00
md_5
d7cce99f01 Fix possible leaks in vanish API 2016-11-28 10:02:40 +11:00
LukBukkit
27d625184d SPIGOT-2695: Added BrewingStandFuelEvent and added fuel level to the BrewEvent 2016-11-27 10:37:54 +11:00
md_5
78c7614349 SPIGOT-2842: Improve item age handling 2016-11-25 10:31:53 +11:00
md_5
c3d951ddcd Farmland is a pickable block 2016-11-24 21:29:41 +11:00
md_5
281376dfb5 SPIGOT-2833: Tile entities occasionally wiped after placement 2016-11-24 09:30:01 +11:00
md_5
a0d5a841da SPIGOT-2836: ProjectileHitEvent not always firing for FishHook 2016-11-23 22:50:37 +11:00
md_5
c1462a24d8 SPIGOT-2765: Special case entity triggered explosions for HangingBreakEvent 2016-11-23 10:34:08 +11:00
md_5
7691c87df6 SPIGOT-2824: Llama Strength API 2016-11-23 10:27:49 +11:00
md_5
691628ab5c Fix setCarryingChest not resizing horse inventory 2016-11-21 21:58:29 +11:00
Lukas Hennig
0b154b1852 SPIGOT-2272: Add API for virtual Merchants 2016-11-21 15:29:36 +11:00
md_5
ac99d7d474 SPIGOT-2807: Update inventory when attack cancelled 2016-11-20 14:13:21 +11:00
md_5
95436219a5 SPIGOT-2806: Fix PlayerDropItemEvent for disconnected players 2016-11-20 10:19:22 +11:00
LukBukkit
221508dce3 Fix cancelling PlayerEditBookEvent 2016-11-20 09:33:22 +11:00
md_5
eed13ca548 SPIGOT-2800: Can only smelt 63 stack 2016-11-19 21:14:46 +11:00
momothereal
89e6712cde Add additional APIs for Evoker / EvokerFangs 2016-11-19 18:53:57 +11:00
md_5
ead445ec99 Attempt to sync damage up again - golden apples this time 2016-11-19 14:53:19 +11:00
md_5
32048c4690 SPIGOT-2795: InventoryClickEvent issues 2016-11-19 13:51:10 +11:00
Senmori
26377b763b Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-19 13:40:06 +11:00
md_5
f15e07b1a9 SPIGOT-2793: Revert Nameable changes 2016-11-19 03:10:04 +11:00
md_5
8095a750e7 SPIGOT-2790: Remove negative item ID filtering again 2016-11-18 15:25:43 +11:00
Senmori
5e51afde49 Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-18 11:28:49 +11:00
md_5
0c3bb76487 SPIGOT-2777: Mobs not being angered by snowballs 2016-11-18 10:57:53 +11:00
md_5
a0269d8e72 SPIGOT-2784: Fix Withers not being built 2016-11-18 09:20:14 +11:00
md_5
129efc132a SPIGOT-2771: Safely execute command block commands 2016-11-18 08:54:22 +11:00
md_5
2dd38f2dc4 SPIGOT-2785: Wrong effect ID for wither sounds 2016-11-18 08:41:21 +11:00
md_5
a951a88398 SPIGOT-2770: Can Place Structure Blocks Even When Not Op 2016-11-17 21:01:15 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
2e39de698d SPIGOT-1903, MC-98153: Portal Location Sync Issues 2016-10-23 14:00:35 +11:00
md_5
d86d282f63 SPIGOT-2738: Revert SPIGOT-1903 fix
Reverted from commit 8e5e90d5eb
2016-10-23 12:45:43 +11:00
md_5
8e5e90d5eb SPIGOT-1903: Only issue player location update after tick
Previously after a player tick, the player's location would be reset back to the location which they had prior to the tick, only to be (hopefully) corrected at a later point, after the client had attempted (and failed) to acknowledge the location change.
2016-10-19 20:43:47 +11:00
Pokechu22
e20928f7da SPIGOT-2726: Fix duplicate UUID check not always running
World.addEntity(Entity entity) calls addEntity(entity, SpawnReason.DEFAULT), which contains the code that was originally in addEntity (and some event code).

However, WorldServer previously only had addEntity(Entity entity), so if addEntity(Entity entity, SpawnReason spawnreason) was called directly, the UUID check that's found in it (the call to 'i') is skipped.  This happens, among other places, in ChunkRegionLoader.spawnEntity (which /summon uses).

I fixed this by making WorldServer override the SpawnReason version, rather than the regular version.  This is safe to do because the World version calls the SpawnReason version - it's not necessary to do the same thing in WorldServer.
2016-10-16 19:42:23 +11:00
md_5
b5fb9a1cd7 SPIGOT-2686: Vehicles cannot collide with air 2016-10-12 19:47:14 +11:00
md_5
744e1a177a Fix looting enchant using wrong variable 2016-10-10 17:02:49 +11:00
md_5
70aace0312 SPIGOT-2694: Update other half of door on BlockBreakEvent 2016-10-10 16:58:14 +11:00
md_5
270a3a66ce SPIGOT-2717: /execute over RCON 2016-10-09 14:00:04 +11:00
Ryan Michela
1cce906e11 MC-54738: Fix ocean biome spikes due to minHeight sign inversion. 2016-10-08 19:22:59 +11:00