Commit Graph

1148 Commits

Author SHA1 Message Date
md_5
7055c93117 SPIGOT-5264: Call event for experience orbs losing their target 2019-08-24 19:06:17 +10:00
md_5
4914117237 SPIGOT-5282: Improve bucket event API 2019-08-23 20:30:16 +10:00
Brokkonaut
7a806a3a41 SPIGOT-5270: Call BlockSpreadEvent when bamboo saplings grow 2019-08-16 05:19:26 +02:00
Brokkonaut
54f4e7f958 SPIGOT-5257: Call EntityBreedEvent for foxes and set the child's spawn reason to BREEDING 2019-08-09 04:34:33 +02:00
md_5
803eaa3169 SPIGOT-5231: ShotAtAngle API for Fireworks 2019-08-02 19:32:10 +10:00
md_5
7881d2ae15 SPIGOT-5237: Horses, pigs do not drop their inventory 2019-08-02 19:13:16 +10:00
md_5
06efc9ec1f Don't accept connections until all plugins have enabled 2019-07-30 20:48:07 +10:00
md_5
da62a66ab7 SPIGOT-5225: World handle isn't closed if world is unloaded without saving 2019-07-29 16:37:48 +10:00
md_5
f0b3fe4359 SPIGOT-5220: Server CPU usage reaches 100% when stdin is null 2019-07-28 08:49:01 +10:00
md_5
c88867e4fc SPIGOT-5208: Reset state on cancelled EntityTransformEvent to prevent event spam 2019-07-26 09:58:18 +10:00
md_5
7f33c6a2f5 SPIGOT-5196: Restore previous version behaviour regarding cancelled BlockBreakEvent 2019-07-23 14:30:12 +10:00
md_5
6a5fc90285 Improve diff in EntityHanging 2019-07-23 13:02:23 +10:00
BlackHole
c98d61bfcd SPIGOT-4712: Allow spawning of upwards or downwards facing item frames
Also use correct block position for spawning hanging entities
2019-07-23 13:02:23 +10:00
BlackHole
db97147724 SPIGOT-5199: Fix NPE if setting the book of the ItemMeta of a lectern 2019-07-23 09:28:41 +10:00
md_5
c03b2befb2 SPIGOT-4975: NPE on WorldGenStronghold When Using Multiple Worlds 2019-07-22 16:03:02 +10:00
md_5
65ea162ce2 Ensure Bukkit data pack is always up to date 2019-07-22 12:34:03 +10:00
md_5
0b107b8de3 MC-157395, SPIGOT-5193: Small armor stands do not drop loot 2019-07-22 12:28:38 +10:00
md_5
6da0abca08 SPIGOT-5195: Player loot table does not drop when keepInventory is on 2019-07-22 12:12:48 +10:00
md_5
8b09d98319 SPIGOT-5190: Superfluous EntityCombustEvent called when using fire aspect sword 2019-07-21 11:45:05 +10:00
md_5
9c887d4d80 SPIGOT-5188: Player loot table drops an additional duplicate loot for each subsequent death 2019-07-20 09:38:18 +10:00
md_5
e73aabd666 Update to Minecraft 1.14.4 2019-07-20 09:00:00 +10:00
Irmo van den Berge
eb2e657871 SPIGOT-5116: Fix concurrent modification exception inside ChunkMapDistance 2019-07-16 10:56:19 +10:00
Irmo van den Berge
989f9b3daa SPIGOT-4849: Fix server crash when accessing chunks during chunk load/unload/populate events 2019-07-16 10:54:41 +10:00
md_5
f554183c3a SPIGOT-5171: Don't fire PlayerTeleportEvent if not actually moving 2019-07-16 10:15:59 +10:00
md_5
2349feb849 SPIGOT-5163: Cancelling PlayerBucketFillEvent visually removes the targeted block 2019-07-13 12:07:15 +10:00
Spottedleaf
572c02b06b MC-155077, SPIGOT-5113: EntityTracker desync 2019-07-10 19:56:53 +10:00
md_5
7ad3a1f468 SPIGOT-5146: BlockDataMeta does not work 2019-07-09 10:47:07 +10:00
md_5
608609835d SPIGOT-5155: Setting EntityExplodeEvent yield to 0 still causes blocks to drop 2019-07-09 10:10:36 +10:00
Spottedleaf
07b5b06d2c Add Plugin Chunk Ticket API
Allows plugins to force certain chunks to be kept loaded for as long as they are enabled.
2019-07-08 12:16:01 +10:00
md_5
fca41573a3 SPIGOT-5136: EntityPortalEvent getting called on interdimensional entity teleports 2019-07-05 10:09:11 +10:00
md_5
604c8bf07e SPIGOT-3102: Add EXPLOSION SpawnReason 2019-07-03 11:10:51 +10:00
md_5
375969a674 Re-add chunk GC for plugin chunk loads 2019-07-03 10:29:02 +10:00
md_5
5815136865 SPIGOT-5123: Snapshot tile entities can end up with a non-null world 2019-07-03 10:22:42 +10:00
md_5
491c848210 SPIGOT-5130: PersistentDataContainer not removing values on TileEntities 2019-07-03 10:17:50 +10:00
md_5
bf32933484 SPIGOT-5133: Throwing items into secondary end world portal causes crash 2019-07-02 10:47:00 +10:00
blablubbabc
7a0f61a6e7 SPIGOT-5122: Skip world#notify if sign has no world. 2019-06-29 19:54:50 +02:00
md_5
c69979247b SPIGOT-5110: Zombies converting to drowned too quickly 2019-06-28 17:37:06 +10:00
md_5
0c57560333 SPIGOT-5101: Raids crash 2019-06-28 16:54:54 +10:00
md_5
e8b39d430a SPIGOT-5103: World.save does not save gamerules 2019-06-25 21:02:13 +10:00
md_5
533290e290 SPIGOT-5100: Console warning from pig zombie targeting 2019-06-23 09:14:01 +10:00
md_5
9af900778d SPIGOT-5097: Bukkit.clearRecipes() no longer working 2019-06-22 18:24:23 +10:00
md_5
38fa220f69 Fix setting game rules via the API 2019-06-21 20:35:22 +10:00
md_5
fe3930ce00 Update to Minecraft 1.14.3-pre4 2019-06-21 20:00:00 +10:00
i509VCB
8003ced585 SPIGOT-5061: Add explode and ignite methods to Creeper 2019-06-17 20:12:42 +10:00
md_5
f2757f95b3 SPIGOT-5071: Player loot tables not triggered 2019-06-16 11:39:33 +10:00
md_5
43431ba65b SPIGOT-5034: FoodLevelChangeEvent add getItem method 2019-06-14 19:41:36 +10:00
md_5
4090d01f6d SPIGOT-5047: Correct slot types for 1.14 inventories 2019-06-13 22:01:16 +10:00
blablubbabc
e8c0836216 SPIGOT-5046: World#getLoadedChunks returning inaccessible cached chunks. 2019-06-13 20:52:56 +10:00
md_5
9e95da121e SPIGOT-5052: PlayerPortalEvent not called when nether is disabled 2019-06-12 18:24:57 +10:00
md_5
28ea3fd105 SPIGOT-5062: end_portal on an non-default end world crashes the server 2019-06-12 18:19:36 +10:00
md_5
4a07dc69d0 SPIGOT-5058: ClassCastException when getting InventoryHolder of lectern when it's destroyed 2019-06-12 18:06:43 +10:00
md_5
411609dc81 SPIGOT-5053: Initialize beacon with stored levels where available 2019-06-10 19:09:51 +10:00
md_5
b1c5fd6817 SPIGOT-5054: Prevent issue with invalid hanging entities 2019-06-10 19:02:32 +10:00
md_5
0309d17dcc Rebuild patches 2019-06-09 08:49:28 +10:00
PurkkaKoodari
b7db6fba12 SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full 2019-06-08 19:48:49 +10:00
md_5
123117bd3a SPIGOT-5038: Inventory.getHolder returns null for wandering traders 2019-06-07 19:36:40 +10:00
md_5
17543ecfd4 SPIGOT-5035: Error Using Virtual Merchant GUI 2019-06-06 20:51:53 +10:00
md_5
bdbdbe4459 SPIGOT-5024: Fox error - Unknown target reason 2019-06-06 20:44:12 +10:00
md_5
043d31deb0 SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles 2019-06-02 19:54:24 +10:00
md_5
fa71719350 Make bukkitEntity private to prevent incorrect usage 2019-06-02 19:49:41 +10:00
md_5
cb3d14c5a7 Update to Minecraft 1.14.2 2019-05-28 06:30:00 +10:00
i509VCB
fcb9f90bf3 SPIGOT-4946: Add VillagerCareerChangeEvent 2019-05-27 12:21:53 +10:00
md_5
a4a2f67946 SPIGOT-4987: Shulkerbox does not save empty slots 2019-05-27 10:01:10 +10:00
md_5
17da34209f Fix reading custom persistent entity data 2019-05-25 11:22:18 +10:00
md_5
8378335737 SPIGOT-4980: Shields will not be put on cooldown when hit with an axe 2019-05-25 11:17:45 +10:00
blablubbabc
8d0f37228d SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events 2019-05-25 10:47:30 +10:00
md_5
3f9f31c3ce SPIGOT-4982: Armor disappearing while breaking the armor stand 2019-05-25 10:45:24 +10:00
md_5
342194e390 SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports 2019-05-21 21:04:45 +10:00
md_5
0e4ca96e47 SPIGOT-4966: Provide access to Entity in PortalCreateEvent 2019-05-21 12:08:19 +10:00
md_5
49e15b4d9a SPIGOT-4964: EntityPickupItemEvent for pandas 2019-05-20 19:54:24 +10:00
md_5
c5e09ceaaa SPIGOT-4961: Cannot open various inventories 2019-05-20 19:46:20 +10:00
Brokkonaut
f498aabe45 SPIGOT-4898: Call EntityChangeBlockEvent / EntityPickupItemEvent for foxes 2019-05-20 19:22:54 +10:00
md_5
d06991d960 SPIGOT-4953: Crafting table inventory returns player location, not block location 2019-05-19 19:17:56 +10:00
md_5
585b2ebdd5 Tweak thresholds for can't keep up message 2019-05-19 12:07:37 +10:00
md_5
91ada5c2bc SPIGOT-4956: EntityTameEvent not triggered when taming a Cat 2019-05-19 12:02:25 +10:00
blablubbabc
9bda413457 SPIGOT-4943: Zombie villager conversion player API.
Also resetting the conversion player when stopping a conversion.
2019-05-18 10:58:58 +10:00
Brokkonaut
5a02707175 SPIGOT-4947: Allow setting the content on a lectern 2019-05-18 10:32:04 +10:00
Brokkonaut
09d00e9f90 SPIGOT-4938: Call EntityPickupItemEvent for dolphins 2019-05-18 10:18:24 +10:00
md_5
02b466ccc7 SPIGOT-4940: Fletcher villager gifts sometimes crash server 2019-05-16 21:10:05 +10:00
md_5
89c52b7b0e Update to Minecraft 1.14.1 2019-05-14 10:00:00 +10:00
md_5
907de3f4ce SPIGOT-4921: Preserve entity compat with Vanilla 2019-05-13 16:50:52 +10:00
md_5
58db403011 SPIGOT-4916: Fix loading legacy structure data 2019-05-12 21:53:54 +10:00
md_5
a46ef53b75 Load custom worlds from correct location 2019-05-12 17:32:41 +10:00
md_5
8ad02cd9c7 SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI 2019-05-12 11:15:48 +10:00
blablubbabc
8879c31485 SPIGOT-4893: Don't reset angry state of wolves without target.
Wolves will 'silently' lose their target when teleporting between
dimensions or the chunk getting reloaded. To reset the angry state in
those cases, the check got moved into the loading method.
2019-05-11 13:11:52 +10:00
Brokkonaut
5c0d3b25e8 SPIGOT-4889: Add PlayerTakeLecternBookEvent 2019-05-11 13:05:11 +10:00
md_5
7d29eb5e5a SPIGOT-4899: Horse inventory title not set 2019-05-10 17:41:05 +10:00
md_5
6ceffb0d2a SPIGOT-4895: Bed doesn't explode in Nether and The End 2019-05-09 08:56:32 +10:00
md_5
ee8818473d SPIGOT-4888: setSleepingIgnored resets the night even when there is no one in a bed 2019-05-08 20:34:41 +10:00
md_5
15e02b4056 SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode 2019-05-08 20:17:45 +10:00
nathat890
b38a3c338c Add BlockShearEntityEvent for Dispensers shearing Sheep 2019-05-08 19:57:44 +10:00
md_5
d20328368c SPIGOT-4882: EntityExplodeEvent appears to fire every tick because of enderdragon 2019-05-07 09:45:13 +10:00
md_5
524facd24e SPIGOT-4881: Worldborder for the End and Nether switch to default after restart 2019-05-07 09:36:36 +10:00
md_5
40484a5fa0 SPIGOT-4875: PlayerChangedWorldEvent does not fire on teleporting via portals 2019-05-06 08:38:29 +10:00
md_5
5f89a0e3c1 SPIGOT-4877: No end platform generated 2019-05-06 08:36:11 +10:00
md_5
8deeeec0ac SPIGOT-4870: Server crashes while charging crossbow 2019-05-05 16:18:29 +10:00
md_5
78616513e8 Rearchitect PortalCreateEvent to provide more information about the portal 2019-05-05 10:51:43 +10:00
Aquazus
e8c929356e SPIGOT-248: PortalCreateEvent not fired when exit portal is created automatically. 2019-05-05 10:33:57 +10:00
md_5
3be0bc1c51 SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot 2019-05-05 09:46:41 +10:00
md_5
8ad64c4f99 SPIGOT-4867: Incorrect dimension ID for nether portal teleports 2019-05-05 09:30:44 +10:00
md_5
4e60dbe7e4 SPIGOT-4868: Server deadlock on /stop command 2019-05-05 09:25:51 +10:00
md_5
68e72f630e SPIGOT-4863: --eraseCache doesn't work 2019-05-04 20:54:32 +10:00
md_5
df82e4f08a SPIGOT-4860: Cancelling InventoryOpenEvent on MerchantInventory prevents re-opening 2019-05-04 20:32:13 +10:00
md_5
84c2f4d1ab SPIGOT-4842: Dummy recipes should not give AIR as result type 2019-05-03 17:41:23 +10:00
md_5
8ddb94da62 SPIGOT-4831: setKeepSpawnInMemory to false does not work 2019-05-02 15:15:53 +10:00
Justin Lawen
fac0eca52b SPIGOT-4838: BlockDispenseEvent not called when shears dispensed from dispenser 2019-05-02 15:05:43 +10:00
md_5
4f420d8274 Revert "SPIGOT-4825: Clearly error on asynchronous tile access"
This reverts commit 5a37f43059.
2019-05-01 08:51:01 +10:00
md_5
5a37f43059 SPIGOT-4825: Clearly error on asynchronous tile access 2019-05-01 06:59:38 +10:00
md_5
bbd66d2046 SPIGOT-4823: Crash picking up arrows 2019-05-01 06:48:56 +10:00
md_5
ea5d868cf9 SPIGOT-4810: Call EntityChangeBlockEvent for Ravager destroying leaves 2019-04-29 18:11:13 +10:00
md_5
5193f762a7 SPIGOT-4803: Fox related APIs 2019-04-28 17:59:12 +10:00
Coleman Yantis
ba2e5e7c74 Add TradeSelectEvent 2019-04-28 12:35:37 +10:00
md_5
3331dade5e SPIGOT-4790: Secondary world data not saved 2019-04-28 11:13:44 +10:00
md_5
f4f32958a8 SPIGOT-4795: EntityPoseChangeEvent called every tick 2019-04-28 10:03:52 +10:00
md_5
5736cdc559 Intermittent hang on /stop 2019-04-27 21:33:07 +10:00
md_5
a875ee4160 Fix loading secondary worlds 2019-04-27 20:09:40 +10:00
md_5
5e0b63c1a0 SPIGOT-4785: Experience etc lost returning from end 2019-04-27 15:43:04 +10:00
md_5
c9fa596b9d Add some missing goal targets 2019-04-27 13:57:46 +10:00
md_5
6606cd88d2 SPIGOT-4753: Add Pose API 2019-04-27 10:27:05 +10:00
md_5
86f149ff77 SPIGOT-4783: CreatureSpawnEvent causes crash when getting block type 2019-04-27 10:07:55 +10:00
md_5
3a8616779a Remove redundant cast 2019-04-27 09:26:19 +10:00
blablubbabc
401641ea6d SPIGOT-4774: Entities don't get marked 'invalid' after being removed 2019-04-27 09:25:53 +10:00
md_5
6de3aa179a SPIGOT-4771: PlayerPortalEvent does not have correct cause when entering nether 2019-04-26 21:47:21 +10:00
md_5
112c84e1e3 SPIGOT-4769: PlayerPortalEvent does not have correct cause when entering end 2019-04-26 18:03:32 +10:00
md_5
f4dc98074c SPIGOT-4767: Fire from lava persists after respawn 2019-04-26 17:12:45 +10:00
md_5
f5285abf2b SPIGOT-4768: ChunkUnloadEvent not called 2019-04-26 16:56:49 +10:00
md_5
735f4ea33e SPIGOT-4760: BlockSpreadEvent for Bamboo growth 2019-04-26 14:56:59 +10:00
md_5
4b9b0f4d5b Add variant API to MushroomCow 2019-04-26 14:48:19 +10:00
md_5
abab38526a SPIGOT-4765: WeatherChangeEvent occurs every tick 2019-04-26 14:42:51 +10:00
md_5
8f2a45bf35 Clean diff in PlayerChunkMap 2019-04-26 13:01:07 +10:00
md_5
b9a2a74105 SPIGOT-4757: Server hangs after teleporting 2019-04-26 09:45:57 +10:00
md_5
3e700e04e9 SPIGOT-4755: Client freeze when joining world 2019-04-26 09:37:15 +10:00
md_5
a9ed334643 SPIGOT-4758: --server-port argument does not work 2019-04-26 09:11:47 +10:00
md_5
e879c447b4 SPIGOT-4737: Bukkit.createWorld causes the server to crash if run after startup 2019-04-25 15:33:13 +10:00
Bjarne Koll
42f88f72b5 Replace ItemTag API with new API that also expands to Tiles and Entities 2019-04-25 14:42:39 +10:00
md_5
724ec10f33 SPIGOT-4741: InventoryHolder no longer returns DoubleChest 2019-04-25 13:57:18 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
2cc992e31a Clean diff slightly in MinecraftServer 2019-04-25 10:14:16 +10:00
md_5
c124606439 SPIGOT-4734: Sign placement fails when looking at grass 2019-04-25 09:55:41 +10:00
md_5
331c43929e SPIGOT-4720: Remove now unnecessary tile fixer 2019-04-24 10:28:36 +10:00
md_5
3ddaf665e2 SPIGOT-4722: Cannot get title of player's inventory 2019-04-24 10:23:12 +10:00
md_5
0ec9b61de9 SPIGOT-4717: Fix adding recipes after clearRecipes is called 2019-04-23 20:53:56 +10:00
md_5
48c4c5ca81 Begin implementation of CheckStyle style checking 2019-04-23 14:00:30 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
md_5
3697519ba5 SPIGOT-4708: Fix ExactChoice recipes neglecting material 2019-04-21 10:30:37 +10:00
md_5
9ead700959 SPIGOT-4677: Add minecraft.admin.command_feedback permission 2019-04-20 13:24:20 +10:00
blablubbabc
c3749a2358 Remove the Damage tag from items when it is 0.
CraftBukkit (and Minecraft as well in some cases, such as when getting
an item from the creative inventory menu) will omit the Damage tag when
it is zero. However, minecraft will add the tag in some situations
nevertheless, such as when loading the ItemStack, or when explictly
setting the item undamaged.

These items (with and without the Damage tag for undamaged items) will
be considered as different by minecraft and CraftBukkit in various
situations, even though they should not. In CraftBukkit these items will
actually only be considered unsimilar if the items' metadata is not
'empty' (if it contains other additional metadata, such as enchantments,
etc.).

If the item's tag is empty after removing the Damage tag, it gets
completely removed. The setRepairCost function was adapted to behave in
the same way (removal of the tag if it becomes empty).
2019-04-20 13:00:41 +10:00
md_5
f74c7b9578 SPIGOT-4706: Can't interact with active item 2019-04-20 13:00:10 +10:00
md_5
51d62deced SPIGOT-4702: Exception when middle clicking certain slots 2019-04-16 20:49:28 +10:00
md_5
be557e69fa SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN 2019-04-15 20:42:51 +10:00