Commit graph

1484 commits

Author SHA1 Message Date
CraftBukkit/Spigot
269b497c90 SPIGOT-6113: Ender Pearls thrown into portals that lead to disabled dimensions crash the server
By: Martoph <sager1018@gmail.com>
2020-08-28 12:28:06 +10:00
CraftBukkit/Spigot
de8eaf9469 SPIGOT-6114: PlayerRespawnEvent player's location changed before event called
By: md_5 <git@md-5.net>
2020-08-28 12:27:08 +10:00
CraftBukkit/Spigot
317d026541 SPIGOT-6115: Items being deleted on pick up with full inventory
By: md_5 <git@md-5.net>
2020-08-28 12:26:24 +10:00
CraftBukkit/Spigot
d5634301f1 SPIGOT-6109: Improve loot handling
By: md_5 <git@md-5.net>
2020-08-27 19:00:36 +10:00
CraftBukkit/Spigot
c49ac166f7 #702: Add Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:27:13 +10:00
CraftBukkit/Spigot
2ab3e90ea5 SPIGOT-6101: Store persist state of entities
By: Brokkonaut <hannos17@gmx.de>
2020-08-26 18:20:58 +10:00
CraftBukkit/Spigot
580014ebbf SPIGOT-6103: Summoning an Eye of Ender throw an Error
By: md_5 <git@md-5.net>
2020-08-26 18:20:19 +10:00
CraftBukkit/Spigot
ce3cd796d5 SPIGOT-6099: PlayerPortalEvent.setTo ignores world for end portal travel
By: md_5 <git@md-5.net>
2020-08-26 18:14:49 +10:00
CraftBukkit/Spigot
0dc71b0b4c SPIGOT-6097: Zoglins not attacking mobs
By: md_5 <git@md-5.net>
2020-08-23 19:14:58 +10:00
CraftBukkit/Spigot
8a80efc01d SPIGOT-974: Add ArmorStand locking API
By: Martoph <sager1018@gmail.com>
2020-08-23 09:53:19 +10:00
CraftBukkit/Spigot
4625e066e8 Also make field volatile
By: md_5 <git@md-5.net>
2020-08-22 18:23:49 +10:00
CraftBukkit/Spigot
513f8d1690 SPIGOT-6094: Error loading datapack functions
By: md_5 <git@md-5.net>
2020-08-22 18:19:25 +10:00
CraftBukkit/Spigot
886d2e1504 SPIGOT-6093: Can't change ItemStack in EntityPickupItemEvent
By: Shane Bee <shanebolenback@me.com>
2020-08-21 18:46:42 +10:00
CraftBukkit/Spigot
634b782744 SPIGOT-6086: Twisting vines growing at top of world crashes server
By: md_5 <git@md-5.net>
2020-08-20 18:48:38 +10:00
CraftBukkit/Spigot
1511bbcc2c SPIGOT-6091: End platform does not generate
By: md_5 <git@md-5.net>
2020-08-20 18:48:20 +10:00
CraftBukkit/Spigot
5d4868ed96 SPIGOT-6075: Snowballs don't destroy Ender Crystals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-17 18:55:38 +10:00
CraftBukkit/Spigot
7879320af0 SPIGOT-6076: Crash when updating blocks in uninitialized chunk sections
By: md_5 <git@md-5.net>
2020-08-16 18:07:42 +10:00
CraftBukkit/Spigot
d44eec6c38 #723: Implement EntitySpellCastEvent for spellcaster illager
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-15 09:12:20 +10:00
CraftBukkit/Spigot
c9673f0556 #724: Re-implement player portal event search radius and creation API
This also fixes that the nether/end portals would be created even if the
event was cancelled as well as that the EntityPortalEvent would be
called for player portal usage which is not according to its API
specification

By: Phoenix616 <max@themoep.de>
2020-08-14 08:26:40 +10:00
CraftBukkit/Spigot
5b931c0da0 Fix nether portal ignition
By: md_5 <git@md-5.net>
2020-08-12 16:40:43 +10:00
CraftBukkit/Spigot
6c307816d0 SPIGOT-6064: world.getBiome() null Error
By: md_5 <git@md-5.net>
2020-08-12 10:50:20 +10:00
CraftBukkit/Spigot
fb04a1aa50 Fix crash growing saplings
By: md_5 <git@md-5.net>
2020-08-12 08:54:53 +10:00
CraftBukkit/Spigot
6a9e00d4b6 Update to Minecraft 1.16.2
By: md_5 <git@md-5.net>
2020-08-12 07:00:00 +10:00
CraftBukkit/Spigot
b2b8fee81f SPIGOT-3020: Fix issue with BlockBreakEvent throwing AssertionError when setting a player's tool to AIR/NULL
By: Shane Bee <shanebolenback@me.com>
2020-08-09 18:42:07 +10:00
CraftBukkit/Spigot
c555653b93 #660: Add support to change block's lid state
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-29 19:41:00 +10:00
CraftBukkit/Spigot
a9f92a7086 SPIGOT-6032: Add best effort target events for new entities
By: md_5 <git@md-5.net>
2020-07-28 19:05:03 +10:00
CraftBukkit/Spigot
f816dd6f41 SPIGOT-6029: RGB Hex colors not respected with custom kick messages
By: md_5 <git@md-5.net>
2020-07-27 20:48:05 +10:00
CraftBukkit/Spigot
2b52833726 SPIGOT-6011: End Gateways do not work on Non-Main End Worlds
By: md_5 <git@md-5.net>
2020-07-22 18:48:16 +10:00
CraftBukkit/Spigot
bf2f8ae9a7 SPIGOT-6015: Small Armor Stand doesn't drop items
By: md_5 <git@md-5.net>
2020-07-22 18:45:52 +10:00
CraftBukkit/Spigot
4724de7678 SPIGOT-5950: Add PrepareSmithingEvent event
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-22 18:21:45 +10:00
CraftBukkit/Spigot
deab30f8b2 SPIGOT-5901: Improve multiworld support
By: md_5 <git@md-5.net>
2020-07-17 08:56:56 +10:00
CraftBukkit/Spigot
f313337709 SPIGOT-5976: Bees do not exit naturally spawned hives
By: md_5 <git@md-5.net>
2020-07-11 09:45:00 +10:00
CraftBukkit/Spigot
b5dd5d4199 SPIGOT-5972: PlayerPortalEvent.setTo() when returning through an End Portal Crashes Server
By: md_5 <git@md-5.net>
2020-07-09 19:11:45 +10:00
CraftBukkit/Spigot
83b1ab97ca SPIGOT-5965: BlockRedstoneEvent.setNewCurrent(0) crashes server
By: md_5 <git@md-5.net>
2020-07-09 09:12:57 +10:00
CraftBukkit/Spigot
666f651058 SPIGOT-5968: Killer rabbits can't be set to the non-killer rabbit behavior
By: md_5 <git@md-5.net>
2020-07-09 09:04:11 +10:00
CraftBukkit/Spigot
0711e168a1 Improve physics code
By: md_5 <git@md-5.net>
2020-07-07 09:35:47 +10:00
CraftBukkit/Spigot
b482319b4b SPIGOT-5951: Projectile#getShooter() returns null
By: md_5 <git@md-5.net>
2020-07-06 17:51:33 +10:00
CraftBukkit/Spigot
cb5bf362be SPIGOT-5948: EntityDropItemEvent does not fire when piglins drop an item
By: md_5 <git@md-5.net>
2020-07-06 09:30:16 +10:00
CraftBukkit/Spigot
ea087050bf Fix crash involving fireballs
By: md_5 <git@md-5.net>
2020-07-06 08:50:27 +10:00
CraftBukkit/Spigot
404d0946d6 Fix end portals in custom ends
By: md_5 <git@md-5.net>
2020-07-05 10:32:31 +10:00
CraftBukkit/Spigot
1640c95e68 SPIGOT-5939: EntityPortalEnterEvent not fired for end portal if end disabled
By: md_5 <git@md-5.net>
2020-07-05 09:00:43 +10:00
CraftBukkit/Spigot
1300c5190c SPIGOT-5940: EntityChangeBlockEvent is not called for villager emptying composter
By: md_5 <git@md-5.net>
2020-07-05 08:53:26 +10:00
CraftBukkit/Spigot
d735284e3c SPIGOT-5936: BlockPlaceEvent does not fire for lily_pad
By: md_5 <git@md-5.net>
2020-07-04 09:02:19 +10:00
CraftBukkit/Spigot
6edd913305 #676: Add PlayerHarvestBlockEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-07-03 15:07:15 +10:00
CraftBukkit/Spigot
e8d9474f7b SPIGOT-5929: Angered zombified piglins do not inherit killed_by_player status
By: md_5 <git@md-5.net>
2020-07-03 10:11:34 +10:00
CraftBukkit/Spigot
bd9f850346 SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn
By: md_5 <git@md-5.net>
2020-07-03 09:54:05 +10:00
CraftBukkit/Spigot
7d66dc54c4 SPIGOT-5867, MC-193339: NPE during shutdown when rcon enabled with no password
By: md_5 <git@md-5.net>
2020-07-03 09:23:33 +10:00
CraftBukkit/Spigot
65e8faf29a #682: Add hasDiscoveredRecipe() and getDiscoveredRecipes()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-02 09:27:18 +10:00
CraftBukkit/Spigot
fbb02f52f2 Improve code formatting
By: md_5 <git@md-5.net>
2020-07-01 14:17:48 +10:00
CraftBukkit/Spigot
d8ea824b93 SPIGOT-5913: MOTD no longer supports new line character
By: md_5 <git@md-5.net>
2020-07-01 14:00:02 +10:00
CraftBukkit/Spigot
df534616e3 SPIGOT-5906: Huge Fungi tree generation
By: md_5 <git@md-5.net>
2020-07-01 09:50:58 +10:00
CraftBukkit/Spigot
13405b5ce1 Fix event for unlucky composts
By: md_5 <git@md-5.net>
2020-07-01 09:36:38 +10:00
CraftBukkit/Spigot
ea9a50356a SPIGOT-5905: Fix hex colours not being allowed in MOTD
Note: this will of course not work properly if a pre 1.16 client attempts to ping your server

By: md_5 <git@md-5.net>
2020-06-30 13:12:26 +10:00
CraftBukkit/Spigot
8757acc978 SPIGOT-5889: Villager using composter should call EntityChangeBlockEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 12:18:39 +10:00
CraftBukkit/Spigot
f5ea9fecec SPIGOT-5899: Hoglins API similar to Piglins
By: md_5 <git@md-5.net>
2020-06-30 12:03:19 +10:00
CraftBukkit/Spigot
cfc8b4ad5e SPIGOT-5887: ClickType doesn't include off hand swaps
By: md_5 <git@md-5.net>
2020-06-30 11:43:15 +10:00
CraftBukkit/Spigot
fe93691df2 SPIGOT-5903: EntityDismountEvent cannot be triggered asynchronously
By: md_5 <git@md-5.net>
2020-06-30 10:55:06 +10:00
CraftBukkit/Spigot
4b15e585af SPIGOT-5884: Tab completions lost on reloadData / minecraft:reload
By: md_5 <git@md-5.net>
2020-06-30 10:51:26 +10:00
CraftBukkit/Spigot
4dc354cef6 SPIGOT-5902: PlayerRespawnEvent places player at spawn before event is called
By: md_5 <git@md-5.net>
2020-06-30 10:35:28 +10:00
CraftBukkit/Spigot
4d5f3cf4e9 SPIGOT-5901: Structures are generated in all worlds based on the setting for the main world
By: md_5 <git@md-5.net>
2020-06-30 10:29:41 +10:00
CraftBukkit/Spigot
455c5d71c4 SPIGOT-5895: PlayerChangedWorldEvent#getFrom is incorrect
By: md_5 <git@md-5.net>
2020-06-30 10:03:46 +10:00
CraftBukkit/Spigot
8b8fc993bd #686: Expand Strider and Steerable entity API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 09:54:28 +10:00
CraftBukkit/Spigot
a78201fc5e SPIGOT-5882: NPE when emptying bucket on already waterlogged blocks
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-29 11:09:50 +10:00
CraftBukkit/Spigot
c19042a233 SPIGOT-5803: Implement the missing methods for the Piglin API.
By: ceezuns <49824660+ceezuns@users.noreply.github.com>
2020-06-29 09:58:04 +10:00
CraftBukkit/Spigot
b1e0569835 SPIGOT-5849: Constantly Raining in World 1.16
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-29 08:25:59 +10:00
CraftBukkit/Spigot
7972777861 SPIGOT-5810, SPIGOT-5835: 'Better' handling of Player.isOnGround
By: md_5 <git@md-5.net>
2020-06-28 10:15:32 +10:00
CraftBukkit/Spigot
7975d3236a SPIGOT-5865: Piglin does not trigger EntityPickupItemEvent
By: md_5 <git@md-5.net>
2020-06-28 09:39:31 +10:00
CraftBukkit/Spigot
e477e8caec SPIGOT-5866: Beehive unknown TargetReason
By: md_5 <git@md-5.net>
2020-06-28 08:56:12 +10:00
CraftBukkit/Spigot
fe0faa152c SPIGOT-5853: DragonBattle#getEndPortalLocation() throws NPE on new world
* Add method to generate the end portal

By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-27 11:09:01 +10:00
CraftBukkit/Spigot
aea139dc1f SPIGOT-5847: BlockFadeEvent cannot be triggered asynchronously from another thread
By: md_5 <git@md-5.net>
2020-06-27 08:41:54 +10:00
CraftBukkit/Spigot
8144dfbd7f Add configuration options for water_ambient spawning
By: md_5 <git@md-5.net>
2020-06-26 18:39:42 +10:00
CraftBukkit/Spigot
4208414e72 Re-add default bukkit datapack
By: md_5 <git@md-5.net>
2020-06-26 12:24:35 +10:00
CraftBukkit/Spigot
e86afc5eb3 SPIGOT-5735: Add EntityEnterLoveModeEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-06-26 11:12:25 +10:00
CraftBukkit/Spigot
83f25730bd #687: Add visibility and fixed API for ItemFrames
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-06-26 10:58:17 +10:00
CraftBukkit/Spigot
48bf20fe24 SPIGOT-5820: Fix migration of Vanilla nether / end
By: md_5 <git@md-5.net>
2020-06-26 09:49:40 +10:00
CraftBukkit/Spigot
6ccde4e6fd SPIGOT-5830: Server crash when campfire lit via dispenser.
Also adds a missing call to BlockIgniteEvent for players igniting campfires with flint and steel.

By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-25 19:01:18 -04:00
CraftBukkit/Spigot
61ff27fa00 Better handling of custom end/nether teleports
By: md_5 <git@md-5.net>
2020-06-26 08:38:18 +10:00
CraftBukkit/Spigot
be27330b16 SPIGOT-5816: PlayerTeleportEvent not called when using netherportals and allow-nether=false
By: md_5 <git@md-5.net>
2020-06-26 08:30:47 +10:00
CraftBukkit/Spigot
292593e180 SPIGOT-5827: Player.getLocale always returns en_us
By: md_5 <git@md-5.net>
2020-06-26 08:06:30 +10:00
CraftBukkit/Spigot
add541e2df SPIGOT-5812: ProjectileHitEvent fires twice if projectile is an Egg
By: md_5 <git@md-5.net>
2020-06-26 08:02:51 +10:00
CraftBukkit/Spigot
ea7b7e1ddd Misc bugfixes to multiworld support
By: md_5 <git@md-5.net>
2020-06-25 17:58:10 +10:00
CraftBukkit/Spigot
097840d174 SPIGOT-5802: Add SmithingRecipe API
By: md_5 <git@md-5.net>
2020-06-25 12:41:55 +10:00
CraftBukkit/Spigot
e7046d2ae1 SPIGOT-5801: End gateways crash server upon enderpearl use through them
By: md_5 <git@md-5.net>
2020-06-25 12:16:41 +10:00
CraftBukkit/Spigot
bafa4625d1 SPIGOT-2106, SPIGOT-3942: Improve collidable API
By: Phoenix616 <mail@moep.tv>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
dc5ebfac9a SPIGOT-5562: Entering a boat triggers VehicleExitEvent
This patch prevents entities from riding a vehicle they're already riding on.
When trying to enter a boat the client will send up to two packets for each hand
causing the server to think they should enter the boat twice, despite the first
interaction being sufficient.

By: SydMontague <sydmontague@phoenix-staffel.de>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
50503fd516 Update to Minecraft 1.16.1
By: md_5 <git@md-5.net>
2020-06-25 10:00:00 +10:00
CraftBukkit/Spigot
5f36fbfcfe SPIGOT-5799: InventoryCloseEvent fires after PlayerQuitEvent
By: md_5 <git@md-5.net>
2020-06-24 09:54:59 +10:00
CraftBukkit/Spigot
fed33ad6d5 SPIGOT-5675, SPIGOT-5798, MC-149563: Fix tracking of entities across dimensions
By: md_5 <git@md-5.net>
2020-06-24 09:21:39 +10:00
CraftBukkit/Spigot
0af0259050 SPIGOT-5797: Zombie(Villagers) Instant Convert based on their lifetime
By: md_5 <git@md-5.net>
2020-06-24 08:52:40 +10:00
CraftBukkit/Spigot
2516f48571 Revert "#675: Fix redirected CommandNodes sometimes not being properly redirected"
This reverts commit 36e3ae4ae6.

By: md_5 <git@md-5.net>
2020-06-18 07:41:02 +10:00
CraftBukkit/Spigot
36e3ae4ae6 #675: Fix redirected CommandNodes sometimes not being properly redirected
By: Matthias Ngeo <matthiasngeo@gmail.com>
2020-06-17 20:04:50 +10:00
CraftBukkit/Spigot
ecdda0bdbc #673: Fix Craftworld#isChunkLoaded
The flag for getChunkAt(int, int, ChunkStatus, boolean)
is actually a flag for whether to bring the underlying
PlayerChunk up to the required ticket level to load the
chunk. So, if the chunk is already at the required level,
but has not yet loaded, the call will actually either
start the load if it has not already been started and
block until completion.

This behaviour is not suitable for just
checking if the chunk is loaded.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-06-06 19:23:46 +10:00
CraftBukkit/Spigot
a1cc6a4683 SPIGOT-4441: Fix serializing Components to and from Legacy
While 9862a0135d might of semi helped being able to save black text
lore, it actually took a fundamental problem with the legacy serialization
code and expanded it to break even more aspects of the server when dealing
with Component to Legacy conversion.

This is causing data loss in Spigot with cases such as setting an item name
to white gets stripped resulting in it being italic.

Additionally, things such as book pages have been returning black formatting
codes for the end of the line even when the user doesn't have colors in the book.

The root issue is that the "Default Color" system is fundamentally wrong.

Components do not and should not care about what element of the game they
are being used by, and that's what the default color system did.

It results in components that if obtained from 1 source such as a Book
where the default / rendered color is black, is then copied to another
source such as an Entity name, the black is carried forward and shown
in the Entity name, when in reality it should have been white.

This commit reverts 9862a0135d and fixes the underlying serialization
issues when it comes to Legacy to and From conversions.

There was quite a number of issues with this code overall, in how
it handles inserting color codes, new line parsing and such.

Books was using mojangs own "getLegacyString" which doesn't match behavior.
We also do not want to use Mojangs method as there is no guarantee they don't
remove that in future.
Plus, everything about books uses the CB implementation anyways, and it should
be consistent (this was mandatory to avoid serialization format changes on old vs new)

These changes as is results in Item Stacks already serialized will not
change contents when they go to component and back, so this won't impact
any existing data.

Newly created books though for example will change behavior in that they
will no longer insert black color codes in the serialized data and will
only represent intentional color changes by the creator of the book.
This will result in cleaner data on them, and books are the only thing
I'm aware of that has a behavioral shift due to the likelyhood of the
default color system kicking in on other parts of the string.

A unit test has been added to verify integrity of serialization to
ensure that any legacy string that is converted into Components will
always re-encode back in the same way when going back to Legacy.

By: Aikar <aikar@aikar.co>
2020-06-01 19:19:42 +10:00
CraftBukkit/Spigot
698e183d45 SPIGOT-5727: GameRule doImmediateRespawn cannot be set per-world
By: ShaneBeee <shanebolenback@me.com>
2020-05-09 15:45:52 +10:00
CraftBukkit/Spigot
fb92d00666 #662: Expose ItemStack and hand used in PlayerShearEntityEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-05-02 17:48:37 +10:00
CraftBukkit/Spigot
c4099fa584 SPIGOT-2304: Implement LootGenerateEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-04-30 19:15:58 +10:00
CraftBukkit/Spigot
0141e701d7 SPIGOT-5566: Doused campfires & fires should call EntityChangeBlockEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-04-29 17:26:40 +10:00
CraftBukkit/Spigot
95a89a0073 #650: Add method to get player's attack cooldown
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-04-23 11:13:40 +10:00
CraftBukkit/Spigot
62583ba081 SPIGOT-5680: isChunkGenerated creates empty region files
By: md_5 <git@md-5.net>
2020-04-22 12:00:50 +10:00
CraftBukkit/Spigot
d76c6104ce SPIGOT-5665: Improve loading spawn egg NBT
By: md_5 <git@md-5.net>
2020-04-10 11:16:58 +10:00
CraftBukkit/Spigot
593102e1fa SPIGOT-5667: Can't add recipe without (vanilla) datapack
By: md_5 <git@md-5.net>
2020-04-10 10:56:00 +10:00
CraftBukkit/Spigot
bd0b71b0a0 SPIGOT-5657: BlockPlaceEvent not cancelling for tripwire hooks
By: md_5 <git@md-5.net>
2020-04-05 17:19:03 +10:00
CraftBukkit/Spigot
b7d5dc8dd0 #645: Allow statistics to be accessed for offline players
By: SydMontague <sydmontague@phoenix-staffel.de>
2020-04-05 15:58:43 +10:00
CraftBukkit/Spigot
deee71fef3 SPIGOT-5650: Lectern.setPage(int) causes a NullPointerException
By: md_5 <git@md-5.net>
2020-04-01 09:30:47 +11:00
CraftBukkit/Spigot
dd80c73690 SPIGOT-5617: setBlockData does not work when NotPlayEvent is called by redstone current
By: md_5 <git@md-5.net>
2020-03-29 16:24:11 +11:00
CraftBukkit/Spigot
a9cc2e304b #642: Add a DragonBattle API to manipulate respawn phases etc
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-03-24 19:53:47 +11:00
CraftBukkit/Spigot
bb7a4a3aa5 #644: Fix ChunkMapDistance#removeAllTicketsFor not propagating ticket level updates
Now call the method used in removeTicket for propagating the change,
so that chunks are guaranteed to unload

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-03-22 20:02:22 +11:00
CraftBukkit/Spigot
9d7e810ee1 SPIGOT-5606: call BlockRedstoneEvent for fence gates
By: Jan Boerman <Janboerman95@gmail.com>
2020-03-15 19:05:50 +11:00
CraftBukkit/Spigot
e6566a0503 SPIGOT-5484: Add more spawn tick settings
By: Phoenix616 <mail@moep.tv>
2020-03-07 18:30:21 +01:00
CraftBukkit/Spigot
5ca0965ff4 #640: Fix chunk load/unload callbacks for chunk load cancellations
When a chunk goes from a ticket level where it is loading a
full chunk to an inactive state (i.e ticket level 33 to
ticket level 45) the full status future will be completed
with a "Right" Either (indicating unloaded). However, this
will also schedule the unload callback immediately.

However, the callback is not immediately executed. This means
the next unload/load callback that needs to be scheduled will
fail. The fix applied is to not schedule a callback if the
chunk is not loaded - if the Either is "right."

Even better, due to how completablefuture works, exceptions
are not printed by default. So the exception thrown by the
callback executor was not printed and the failure
hidden from console. This explains why no-one has tracked this issue.
Now the exception is printed so future failures with the
callback system (if any) can be tracked easier.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2020-03-02 17:19:06 -08:00
CraftBukkit/Spigot
c4c8db5127 Move Bukkit.Aware loading/saving to correct location
By: md_5 <git@md-5.net>
2020-02-21 10:09:47 +11:00
CraftBukkit/Spigot
2a55fc03dd SPIGOT-5311: Add API to get/set item associated with throwable projectiles
By: Lars Dormans <lars.dormans@live.nl>
2020-02-21 09:53:51 +11:00
CraftBukkit/Spigot
39966685a6 Add set/isAware to disable Vanilla AI components of a Mob
By: konsolas <vincentyntang@gmail.com>
2020-02-19 10:50:21 +00:00
CraftBukkit/Spigot
416eb5c343 SPIGOT-5571: Beehive MaxEntities cannot be set back to 3
By: ShaneBee <shanebolenback@me.com>
2020-02-09 19:49:35 -08:00
CraftBukkit/Spigot
6b39c5d083 SPIGOT-5468: Improve Beehive TileEntity API
By: ShaneBee <shanebolenback@me.com>
2020-02-09 10:47:11 +11:00
CraftBukkit/Spigot
ab4f7e3436 MC-135989, SPIGOT-5564: Don't kick players for flight while riptiding
By: konsolas <vincentyntang@gmail.com>
2020-02-07 20:19:24 +11:00
CraftBukkit/Spigot
9adbf6f88b Remove unused seed in CustomChunkGenerator
By: md_5 <git@md-5.net>
2020-02-02 19:32:36 +11:00
CraftBukkit/Spigot
1705694b06 Craftbukkit -> CraftBukkit
By: md_5 <git@md-5.net>
2020-02-02 11:18:17 +11:00
CraftBukkit/Spigot
0b8e05b835 SPIGOT-5559: Add EntityPotionEffectEvent causes for bee, raiders and wither rose
By: ShaneBee <shanebolenback@me.com>
2020-02-02 11:16:01 +11:00
CraftBukkit/Spigot
959b2adc98 SPIGOT-5550: Cancelled ProjectileLaunchEvent still plays sound for eggs
By: md_5 <git@md-5.net>
2020-01-28 16:22:09 +11:00
CraftBukkit/Spigot
443580395d SPIGOT-5538: Using javaw to run GUI prints input error
By: md_5 <git@md-5.net>
2020-01-28 10:36:47 +11:00
CraftBukkit/Spigot
26c35202a0 SPIGOT-5526: Call EntityEnterBlockEvent for bees trying to enter hives
By: BlackHole <black-hole@live.com>
2020-01-22 18:34:03 +01:00
CraftBukkit/Spigot
e0ee6f0a50 SPIGOT-5537: Bee nests generated by growing trees near flower have no bees
By: md_5 <git@md-5.net>
2020-01-28 09:48:28 +11:00
CraftBukkit/Spigot
42e9529365 Change some block == AIR checks to isAir to catch CAVE_AIR
By: md_5 <git@md-5.net>
2020-01-27 10:09:46 +11:00
CraftBukkit/Spigot
6037f360e7 SPIGOT-5542: Cancelling EntityToggleGlideEvent doesn't stop client from gliding
By: md_5 <git@md-5.net>
2020-01-25 11:30:39 +11:00
CraftBukkit/Spigot
1cd6af40ab SPIGOT-5514: VehicleEntityCollisionEvent triggered by passengers
By: Lars Dormans <lars.dormans@live.nl>
2020-01-24 16:48:48 +11:00
CraftBukkit/Spigot
5a7dc86cd2 SPIGOT-5531: Fix --universe option
By: md_5 <git@md-5.net>
2020-01-22 10:36:35 +11:00
CraftBukkit/Spigot
460b4c2803 Strip ANSI colours from ServerGUI
By: md_5 <git@md-5.net>
2020-01-22 09:33:40 +11:00
CraftBukkit/Spigot
77b64e0c78 Update to Minecraft 1.15.2
By: md_5 <git@md-5.net>
2020-01-22 08:00:00 +11:00
CraftBukkit/Spigot
09a2fa4d96 SPIGOT-5526: Call EntityChangeBlockEvent for bees triggering crop growth
By: md_5 <git@md-5.net>
2020-01-21 14:33:44 +11:00
CraftBukkit/Spigot
3a7695e5b1 SPIGOT-5510: VehicleBlockCollisionEvent returns the wrong block
By: md_5 <git@md-5.net>
2020-01-15 15:05:30 +11:00
CraftBukkit/Spigot
bc8ef512e1 #616: Fix exception on entity portal teleport attempt
By: Phoenix616 <mail@moep.tv>
2020-01-14 15:10:30 +01:00
CraftBukkit/Spigot
c738dcb532 SPIGOT-5252: Nether portal fixes and additions
- Fixes PlayerTeleportEvent getting called multiple times and with wrong coordinates
- Implement PlayerPortalEvent and EntityPortalEvent additions

By: Phoenix616 <mail@moep.tv>
2020-01-12 01:02:13 +01:00
CraftBukkit/Spigot
420c962ceb SPIGOT-5477: Server not shutting down
By: md_5 <git@md-5.net>
2020-01-12 10:50:22 +11:00
CraftBukkit/Spigot
b2fd1fcbe1 SPIGOT-5504: cancelling InventoryMoveItemEvent on composter doesn't properly cancel
By: md_5 <git@md-5.net>
2020-01-10 09:50:39 +11:00
CraftBukkit/Spigot
d32c77d777 SPIGOT-5502: Fix command block successcount being set to return value rather than actual count
By: md_5 <git@md-5.net>
2020-01-06 13:44:16 +11:00
CraftBukkit/Spigot
419bc4f742 SPIGOT-5500: Lectern cannot be replaced using /setblock and other commands
By: md_5 <git@md-5.net>
2020-01-06 12:12:34 +11:00
CraftBukkit/Spigot
4a6962f0ba MC-151364, SPIGOT-5494: Feeding dolphin hangs if generate-structures=false
By: md_5 <git@md-5.net>
2020-01-03 16:56:58 +11:00
CraftBukkit/Spigot
a14456f170 SPIGOT-5457: Downgrade 'Mismatch in destroy block pos' message to debug
By: md_5 <git@md-5.net>
2019-12-25 10:28:43 +11:00
CraftBukkit/Spigot
69c9b3ee31 SPIGOT-5481: PlayerBedLeaveEvent returns wrong bed location
By: md_5 <git@md-5.net>
2019-12-25 10:11:08 +11:00
CraftBukkit/Spigot
03662947f3 SPIGOT-5482: Structure Block setUsageMode encounters NullpointerException
By: md_5 <git@md-5.net>
2019-12-25 10:09:20 +11:00
CraftBukkit/Spigot
844a14dcad SPIGOT-5478: XP not dropping when a player dies
By: md_5 <git@md-5.net>
2019-12-24 14:07:25 +11:00
CraftBukkit/Spigot
c0a9867b38 SPIGOT-5467: Don't play sound or increase honey level if bee leaving hive is cancelled
By: BlackHole <black-hole@live.com>
2019-12-23 14:25:03 +01:00
CraftBukkit/Spigot
93631bd1f2 SPIGOT-5476: Fix trading empty items
By: md_5 <git@md-5.net>
2019-12-24 10:20:39 +11:00
CraftBukkit/Spigot
36321c9b3c SPIGOT-5474: Just ignore bugged fireball data
By: md_5 <git@md-5.net>
2019-12-23 13:14:11 +11:00
CraftBukkit/Spigot
a813637b22 SPIGOT-5413: Add TrustedPlayer API for foxes
By: md_5 <git@md-5.net>
2019-12-23 12:34:53 +11:00
CraftBukkit/Spigot
379b64e091 SPIGOT-5467: Calm down bees that cannot exit hive
By: md_5 <git@md-5.net>
2019-12-23 12:20:35 +11:00
CraftBukkit/Spigot
6f41e1d3c2 SPIGOT-5472: Spurious warning when using clone command on tile entities
By: md_5 <git@md-5.net>
2019-12-23 11:59:51 +11:00
CraftBukkit/Spigot
0f7b5e8049 Add TimeSkipEvent
By: ShaneBee <shanebolenback@me.com>
2019-12-20 17:06:18 -08:00
CraftBukkit/Spigot
68fb3c06e5 SPIGOT-794: Add boats to EntityPlaceEvent
By: md_5 <git@md-5.net>
2019-12-19 12:53:27 +11:00
CraftBukkit/Spigot
9a1557b65f SPIGOT-5466: Bees still get angry even if damage event cancelled
By: md_5 <git@md-5.net>
2019-12-19 12:25:11 +11:00
CraftBukkit/Spigot
32c57acf3d SPIGOT-5464: Add BEEHIVE SpawnReason for when a bee leaves a beehive
By: ShaneBee <shanebolenback@me.com>
2019-12-18 02:07:49 -08:00
CraftBukkit/Spigot
3dacf34bca SPIGOT-5462: Cancelling EntitySpawnEvent takes Ender Eye from inventory
By: md_5 <git@md-5.net>
2019-12-18 13:07:14 +11:00
CraftBukkit/Spigot
351402accf Update to Minecraft 1.15.1
By: md_5 <git@md-5.net>
2019-12-18 08:00:00 +11:00
CraftBukkit/Spigot
539b896ba6 SPIGOT-5458: Riptide tridents don't lose durability
By: md_5 <git@md-5.net>
2019-12-17 12:22:53 +11:00
CraftBukkit/Spigot
714ff868d1 SPIGOT-5455: Mobs do not ignite due to sun in extra worlds
By: md_5 <git@md-5.net>
2019-12-15 15:33:11 +11:00
CraftBukkit/Spigot
152e0f26b5 SPIGOT-5449: Fix issue with projectiles
By: md_5 <git@md-5.net>
2019-12-13 15:55:19 +11:00
CraftBukkit/Spigot
b456056bb7 SPIGOT-5448: Shulker Boxes collapse empty slots when picked up
By: md_5 <git@md-5.net>
2019-12-13 14:06:25 +11:00
CraftBukkit/Spigot
b3eb396728 SPIGOT-5442: Fix issue with fire charges
By: md_5 <git@md-5.net>
2019-12-12 13:49:56 +11:00
CraftBukkit/Spigot
2667479a6d SPIGOT-5425: Prevent empty/air loot (again?)
By: md_5 <git@md-5.net>
2019-12-11 15:49:53 +11:00
CraftBukkit/Spigot
41210f86bb Fix crash with disabled worlds
By: md_5 <git@md-5.net>
2019-12-11 12:36:03 +11:00
CraftBukkit/Spigot
0e142c7f03 Update to Minecraft 1.15
By: md_5 <git@md-5.net>
2019-12-11 09:00:00 +11:00
CraftBukkit/Spigot
e0f8100bfc SPIGOT-5399: spawn-npcs ignored during world generation
By: md_5 <git@md-5.net>
2019-12-05 11:01:56 +11:00
CraftBukkit/Spigot
5aa1f5b5e8 SPIGOT-5412: Use SpawnReason.NATURAL for wandering traders and trader llamas
By: Brokkonaut <hannos17@gmx.de>
2019-12-04 06:58:22 +01:00
CraftBukkit/Spigot
d63adfb6a0 SPIGOT-5405: Use correct damage source for HangingBreakByEntityEvent
By: Brokkonaut <hannos17@gmx.de>
2019-11-28 06:31:04 +01:00
CraftBukkit/Spigot
47d7b001aa SPIGOT-5395: Call BlockFadeEvent for Scaffolding
By: Brokkonaut <hannos17@gmx.de>
2019-11-14 23:48:57 +01:00
CraftBukkit/Spigot
f2be8b0482 SPIGOT-5378: Fix TileEntity fixer deadlock
Chunk loading logic can make getTileEntity calls, and these can
be off of the main thread (i.e lighting). The TileEntity fixer
makes a getType call, which will block on chunk load. Thus a
deadlock can occur between a lighting thread and the server thread.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-10-20 00:50:26 -07:00
CraftBukkit/Spigot
c0692c1e1b SPIGOT-5375: Add spaces to coordinates from tile fixer
By: md_5 <git@md-5.net>
2019-10-20 08:05:55 +11:00
CraftBukkit/Spigot
fbf89b2c4c SPIGOT-5373: Simultaneous left+right click in creative mode does not work
By: md_5 <git@md-5.net>
2019-10-19 20:09:26 +11:00
CraftBukkit/Spigot
791c4f2d14 SPIGOT-5370: Fix Block#rayTrace considering other blocks.
By: blablubbabc <lukas@wirsindwir.de>
2019-10-18 20:28:06 +02:00
CraftBukkit/Spigot
09af4fbbb3 SPIGOT-5372: Re-add tile entity fixer due to MC-163945
By: md_5 <git@md-5.net>
2019-10-18 19:58:39 +11:00
CraftBukkit/Spigot
a0a9f6007a SPIGOT-5355: Double Chests still open after InventoryOpenEvent cancelled
By: md_5 <git@md-5.net>
2019-10-09 19:51:18 +11:00
CraftBukkit/Spigot
f73b0d238f SPIGOT-5309: Call cancelled EntityDamageEvent when damaging invisible armor stands
By: jojokobi <jhocheneder@gmx.at>
2019-10-05 19:02:38 +02:00
CraftBukkit/Spigot
c3c7488743 SPIGOT-5255: Raid / patrol spawn reasons
By: md_5 <git@md-5.net>
2019-09-07 16:35:09 +10:00
CraftBukkit/Spigot
5c6a8f66c2 SPIGOT-5294: Cancelled EntityPickupItemEvent and PlayerPickupItemEvent alter on-ground stacks
By: md_5 <git@md-5.net>
2019-09-02 13:17:54 +10:00
CraftBukkit/Spigot
147ff6b1e3 SPIGOT-5301: BlockIgniteEvent for campfire + arrow
By: md_5 <git@md-5.net>
2019-09-02 13:14:13 +10:00
CraftBukkit/Spigot
64c4a3290c SPIGOT-5290: Invulnerable and/or Marker armor stand triggers EntityDamageEvent
By: anhcraft <admin@anhcraft.dev>
2019-08-28 18:02:43 +07:00
CraftBukkit/Spigot
5757652da1 SPIGOT-5297: PlayerBedLeaveEvent.getBed() returns player location
By: md_5 <git@md-5.net>
2019-08-30 18:34:24 +10:00
CraftBukkit/Spigot
cfd992a9d4 SPIGOT-5293: Sponge behaviour differs from Vanilla
By: md_5 <git@md-5.net>
2019-08-28 20:10:04 +10:00
CraftBukkit/Spigot
5e5574ba63 SPIGOT-5291: Missing event for ravagers trampling crops
By: md_5 <git@md-5.net>
2019-08-28 20:03:43 +10:00
CraftBukkit/Spigot
8c18f2deaf SPIGOT-5211: Add Raid API
By: anhcraft <admin@anhcraft.dev>
2019-08-12 18:43:10 +07:00
CraftBukkit/Spigot
c2ab89098d SPIGOT-5287: Fix rare CME generating new chunks
By: md_5 <git@md-5.net>
2019-08-26 19:24:09 +10:00
CraftBukkit/Spigot
03fbb7a6df SPIGOT-5265: FireworkExplodeEvent only fired when rockets explode in air
By: md_5 <git@md-5.net>
2019-08-26 18:58:28 +10:00
CraftBukkit/Spigot
ac7ef9d0b5 SPIGOT-5258: TNT Not Moving Players in Creative Mode
By: anhcraft <admin@anhcraft.dev>
2019-08-24 21:43:43 +07:00
CraftBukkit/Spigot
3b24a6cb40 SPIGOT-5263: Chests stay open after InventoryOpenEvent cancelled.
By: md_5 <git@md-5.net>
2019-08-24 20:02:14 +10:00
CraftBukkit/Spigot
f2d17c76a2 SPIGOT-5278: EntityDrowned memory leak
By: md_5 <git@md-5.net>
2019-08-24 19:45:08 +10:00
CraftBukkit/Spigot
70c10a6e82 SPIGOT-5264: Call event for experience orbs losing their target
By: md_5 <git@md-5.net>
2019-08-24 19:06:17 +10:00
CraftBukkit/Spigot
7b8436f8e2 SPIGOT-5282: Improve bucket event API
By: md_5 <git@md-5.net>
2019-08-23 20:30:16 +10:00
CraftBukkit/Spigot
41214370d2 SPIGOT-5270: Call BlockSpreadEvent when bamboo saplings grow
By: Brokkonaut <hannos17@gmx.de>
2019-08-16 05:19:26 +02:00
CraftBukkit/Spigot
b961fbc094 SPIGOT-5257: Call EntityBreedEvent for foxes and set the child's spawn reason to BREEDING
By: Brokkonaut <hannos17@gmx.de>
2019-08-09 04:34:33 +02:00
CraftBukkit/Spigot
c62558a09f SPIGOT-5231: ShotAtAngle API for Fireworks
By: md_5 <git@md-5.net>
2019-08-02 19:32:10 +10:00
CraftBukkit/Spigot
ef099d6feb SPIGOT-5237: Horses, pigs do not drop their inventory
By: md_5 <git@md-5.net>
2019-08-02 19:13:16 +10:00
CraftBukkit/Spigot
cf4533f0a6 Don't accept connections until all plugins have enabled
By: md_5 <git@md-5.net>
2019-07-30 20:45:45 +10:00
CraftBukkit/Spigot
4460d122b3 SPIGOT-5225: World handle isn't closed if world is unloaded without saving
By: md_5 <git@md-5.net>
2019-07-29 16:36:51 +10:00
CraftBukkit/Spigot
481703c1b4 SPIGOT-5220: Server CPU usage reaches 100% when stdin is null
By: md_5 <git@md-5.net>
2019-07-28 08:49:01 +10:00
CraftBukkit/Spigot
48e0a2b15c SPIGOT-5208: Reset state on cancelled EntityTransformEvent to prevent event spam
By: md_5 <git@md-5.net>
2019-07-26 09:58:18 +10:00
CraftBukkit/Spigot
d93875e342 SPIGOT-5196: Restore previous version behaviour regarding cancelled BlockBreakEvent
By: md_5 <git@md-5.net>
2019-07-23 14:24:50 +10:00
CraftBukkit/Spigot
5c0e0740f0 Improve diff in EntityHanging
By: md_5 <git@md-5.net>
2019-07-23 09:34:52 +10:00
CraftBukkit/Spigot
dbe3d40c24 SPIGOT-4712: Allow spawning of upwards or downwards facing item frames
Also use correct block position for spawning hanging entities

By: BlackHole <black-hole@live.com>
2019-07-23 09:38:02 +10:00
CraftBukkit/Spigot
5f859fabc8 SPIGOT-5199: Fix NPE if setting the book of the ItemMeta of a lectern
By: BlackHole <black-hole@live.com>
2019-07-22 23:41:39 +02:00
CraftBukkit/Spigot
a4afbdddcb SPIGOT-4975: NPE on WorldGenStronghold When Using Multiple Worlds
By: md_5 <git@md-5.net>
2019-07-22 16:03:02 +10:00
CraftBukkit/Spigot
c95a561c3b Ensure Bukkit data pack is always up to date
By: md_5 <git@md-5.net>
2019-07-22 12:34:03 +10:00
CraftBukkit/Spigot
1547b12bff MC-157395, SPIGOT-5193: Small armor stands do not drop loot
By: md_5 <git@md-5.net>
2019-07-22 12:28:38 +10:00
CraftBukkit/Spigot
97e2af5d3c SPIGOT-5195: Player loot table does not drop when keepInventory is on
By: md_5 <git@md-5.net>
2019-07-22 12:12:48 +10:00
CraftBukkit/Spigot
8eb196964d SPIGOT-5190: Superfluous EntityCombustEvent called when using fire aspect sword
By: md_5 <git@md-5.net>
2019-07-21 11:45:05 +10:00
CraftBukkit/Spigot
2e2062c8a6 SPIGOT-5188: Player loot table drops an additional duplicate loot for each subsequent death
By: md_5 <git@md-5.net>
2019-07-20 09:38:18 +10:00
CraftBukkit/Spigot
a4b8e8ce68 Update to Minecraft 1.14.4
By: md_5 <git@md-5.net>
2019-07-20 09:00:00 +10:00
CraftBukkit/Spigot
0eaa5ae745 SPIGOT-5116: Fix concurrent modification exception inside ChunkMapDistance
By: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2019-07-13 20:23:41 +02:00
CraftBukkit/Spigot
75c992cac3 SPIGOT-4849: Fix server crash when accessing chunks during chunk load/unload/populate events
By: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2019-07-13 20:19:44 +02:00
CraftBukkit/Spigot
a30fef9d1f SPIGOT-5171: Don't fire PlayerTeleportEvent if not actually moving
By: md_5 <git@md-5.net>
2019-07-16 10:15:59 +10:00
CraftBukkit/Spigot
9ce6ef849c SPIGOT-5163: Cancelling PlayerBucketFillEvent visually removes the targeted block
By: md_5 <git@md-5.net>
2019-07-13 12:07:15 +10:00
CraftBukkit/Spigot
22a969374b MC-155077, SPIGOT-5113: EntityTracker desync
By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-07-10 19:56:39 +10:00
CraftBukkit/Spigot
f3d1e78efe SPIGOT-5146: BlockDataMeta does not work
By: md_5 <git@md-5.net>
2019-07-09 10:47:07 +10:00
CraftBukkit/Spigot
0117fb27e2 SPIGOT-5155: Setting EntityExplodeEvent yield to 0 still causes blocks to drop
By: md_5 <git@md-5.net>
2019-07-09 10:10:36 +10:00
CraftBukkit/Spigot
aedce73dd1 Add Plugin Chunk Ticket API
Allows plugins to force certain chunks to be kept loaded for as long as they are enabled.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-07-08 12:14:16 +10:00
CraftBukkit/Spigot
69da7cce55 SPIGOT-5136: EntityPortalEvent getting called on interdimensional entity teleports
By: md_5 <git@md-5.net>
2019-07-05 10:09:11 +10:00
CraftBukkit/Spigot
1778168cb4 SPIGOT-3102: Add EXPLOSION SpawnReason
By: md_5 <git@md-5.net>
2019-07-03 11:10:51 +10:00
CraftBukkit/Spigot
7ca2721835 Re-add chunk GC for plugin chunk loads
By: md_5 <git@md-5.net>
2019-07-03 10:29:02 +10:00
CraftBukkit/Spigot
05a4221869 SPIGOT-5123: Snapshot tile entities can end up with a non-null world
By: md_5 <git@md-5.net>
2019-07-03 10:22:42 +10:00
CraftBukkit/Spigot
efa1cc7359 SPIGOT-5130: PersistentDataContainer not removing values on TileEntities
By: md_5 <git@md-5.net>
2019-07-03 10:17:50 +10:00
CraftBukkit/Spigot
3d19313465 SPIGOT-5133: Throwing items into secondary end world portal causes crash
By: md_5 <git@md-5.net>
2019-07-02 10:47:00 +10:00
CraftBukkit/Spigot
2667bfc200 SPIGOT-5122: Skip world#notify if sign has no world.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-29 19:54:50 +02:00
CraftBukkit/Spigot
efb16ae1da SPIGOT-5110: Zombies converting to drowned too quickly
By: md_5 <git@md-5.net>
2019-06-28 17:37:06 +10:00
CraftBukkit/Spigot
aa8276bcd1 SPIGOT-5101: Raids crash
By: md_5 <git@md-5.net>
2019-06-28 16:54:54 +10:00
CraftBukkit/Spigot
5add39bbe3 SPIGOT-5103: World.save does not save gamerules
By: md_5 <git@md-5.net>
2019-06-25 21:02:13 +10:00
CraftBukkit/Spigot
8d06a4ef69 SPIGOT-5100: Console warning from pig zombie targeting
By: md_5 <git@md-5.net>
2019-06-23 09:14:01 +10:00
CraftBukkit/Spigot
21a654cdfe SPIGOT-5097: Bukkit.clearRecipes() no longer working
By: md_5 <git@md-5.net>
2019-06-22 18:24:23 +10:00
CraftBukkit/Spigot
3a28cb13b9 Fix setting game rules via the API
By: md_5 <git@md-5.net>
2019-06-21 20:35:22 +10:00
CraftBukkit/Spigot
a8155d2399 Update to Minecraft 1.14.3-pre4
By: md_5 <git@md-5.net>
2019-06-21 20:00:00 +10:00
CraftBukkit/Spigot
b8dc3168ff SPIGOT-5061: Add explode and ignite methods to Creeper
By: i509VCB <null>
2019-06-14 17:21:29 -05:00
CraftBukkit/Spigot
a6bcb557e5 SPIGOT-5071: Player loot tables not triggered
By: md_5 <git@md-5.net>
2019-06-16 11:39:33 +10:00
CraftBukkit/Spigot
c1cc0cddf5 SPIGOT-5034: FoodLevelChangeEvent add getItem method
By: md_5 <git@md-5.net>
2019-06-14 19:41:36 +10:00
CraftBukkit/Spigot
95dbf2457d SPIGOT-5047: Correct slot types for 1.14 inventories
By: md_5 <git@md-5.net>
2019-06-13 21:26:04 +10:00
CraftBukkit/Spigot
961f817b83 SPIGOT-5046: World#getLoadedChunks returning inaccessible cached chunks.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-12 20:05:29 +02:00
CraftBukkit/Spigot
6a96ed3ad8 SPIGOT-5052: PlayerPortalEvent not called when nether is disabled
By: md_5 <git@md-5.net>
2019-06-12 18:24:57 +10:00
CraftBukkit/Spigot
f340eae223 SPIGOT-5062: end_portal on an non-default end world crashes the server
By: md_5 <git@md-5.net>
2019-06-12 18:19:36 +10:00
CraftBukkit/Spigot
8023c6f3e5 SPIGOT-5058: ClassCastException when getting InventoryHolder of lectern when it's destroyed
By: md_5 <git@md-5.net>
2019-06-12 18:06:43 +10:00
CraftBukkit/Spigot
7278b8c206 SPIGOT-5053: Initialize beacon with stored levels where available
By: md_5 <git@md-5.net>
2019-06-10 19:09:51 +10:00
CraftBukkit/Spigot
fcc1ce3351 SPIGOT-5054: Prevent issue with invalid hanging entities
By: md_5 <git@md-5.net>
2019-06-10 19:02:32 +10:00
CraftBukkit/Spigot
c73dca71df Rebuild patches
By: md_5 <git@md-5.net>
2019-06-09 08:49:28 +10:00
CraftBukkit/Spigot
672c7bfa97 SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full
By: PurkkaKoodari <purkka@purkka.codes>
2019-06-06 01:32:32 +03:00
CraftBukkit/Spigot
2fdf052be1 SPIGOT-5038: Inventory.getHolder returns null for wandering traders
By: md_5 <git@md-5.net>
2019-06-07 19:36:40 +10:00
CraftBukkit/Spigot
809dcc249d SPIGOT-5035: Error Using Virtual Merchant GUI
By: md_5 <git@md-5.net>
2019-06-06 20:51:53 +10:00
CraftBukkit/Spigot
55ad5c0352 SPIGOT-5024: Fox error - Unknown target reason
By: md_5 <git@md-5.net>
2019-06-06 20:44:12 +10:00
CraftBukkit/Spigot
a5abba4a51 SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles
By: md_5 <git@md-5.net>
2019-06-02 19:51:26 +10:00
CraftBukkit/Spigot
9db0901922 Make bukkitEntity private to prevent incorrect usage
By: md_5 <git@md-5.net>
2019-06-02 19:49:41 +10:00
CraftBukkit/Spigot
569660215f Update to Minecraft 1.14.2
By: md_5 <git@md-5.net>
2019-05-28 06:30:00 +10:00
CraftBukkit/Spigot
5f2275f40a SPIGOT-4946: Add VillagerCareerChangeEvent
By: i509VCB <null>
2019-05-25 20:58:11 -05:00
CraftBukkit/Spigot
3f2b383463 SPIGOT-4987: Shulkerbox does not save empty slots
By: md_5 <git@md-5.net>
2019-05-27 10:00:56 +10:00
CraftBukkit/Spigot
d1e70b9323 Fix reading custom persistent entity data
By: md_5 <git@md-5.net>
2019-05-25 11:22:18 +10:00
CraftBukkit/Spigot
36817a5614 SPIGOT-4980: Shields will not be put on cooldown when hit with an axe
By: md_5 <git@md-5.net>
2019-05-25 11:17:45 +10:00
CraftBukkit/Spigot
e2b8949bf3 SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events
By: blablubbabc <lukas@wirsindwir.de>
2019-05-16 01:11:20 +02:00
CraftBukkit/Spigot
0e59838abf SPIGOT-4982: Armor disappearing while breaking the armor stand
By: md_5 <git@md-5.net>
2019-05-25 10:45:24 +10:00
CraftBukkit/Spigot
26041887a6 SPIGOT-4970: PlayerTeleportEvent event.setTo() has no effect on portal teleports
By: md_5 <git@md-5.net>
2019-05-21 21:04:45 +10:00
CraftBukkit/Spigot
0bab608be7 SPIGOT-4966: Provide access to Entity in PortalCreateEvent
By: md_5 <git@md-5.net>
2019-05-21 12:08:19 +10:00
CraftBukkit/Spigot
320645a5b8 SPIGOT-4964: EntityPickupItemEvent for pandas
By: md_5 <git@md-5.net>
2019-05-20 19:54:24 +10:00
CraftBukkit/Spigot
82335a22f1 SPIGOT-4961: Cannot open various inventories
By: md_5 <git@md-5.net>
2019-05-20 19:46:20 +10:00
CraftBukkit/Spigot
20c4ae9b42 SPIGOT-4898: Call EntityChangeBlockEvent / EntityPickupItemEvent for foxes
By: Brokkonaut <hannos17@gmx.de>
2019-05-20 03:27:00 +02:00
CraftBukkit/Spigot
8718f03946 SPIGOT-4953: Crafting table inventory returns player location, not block location
By: md_5 <git@md-5.net>
2019-05-19 19:17:56 +10:00
CraftBukkit/Spigot
98155b05fb Tweak thresholds for can't keep up message
By: md_5 <git@md-5.net>
2019-05-19 12:07:37 +10:00
CraftBukkit/Spigot
67a256943e SPIGOT-4956: EntityTameEvent not triggered when taming a Cat
By: md_5 <git@md-5.net>
2019-05-19 12:02:25 +10:00
CraftBukkit/Spigot
f19a688ffc SPIGOT-4943: Zombie villager conversion player API.
Also resetting the conversion player when stopping a conversion.

By: blablubbabc <lukas@wirsindwir.de>
2019-05-17 14:08:33 +02:00
CraftBukkit/Spigot
d2cbe48459 SPIGOT-4947: Allow setting the content on a lectern
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 20:03:36 +02:00
CraftBukkit/Spigot
4d27af3c76 SPIGOT-4938: Call EntityPickupItemEvent for dolphins
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 23:19:52 +02:00
CraftBukkit/Spigot
6b35a00cff SPIGOT-4940: Fletcher villager gifts sometimes crash server
By: md_5 <git@md-5.net>
2019-05-16 21:10:05 +10:00
CraftBukkit/Spigot
788fd7eedc Update to Minecraft 1.14.1
By: md_5 <git@md-5.net>
2019-05-14 10:00:00 +10:00
CraftBukkit/Spigot
37370c79d4 SPIGOT-4921: Preserve entity compat with Vanilla
By: md_5 <git@md-5.net>
2019-05-13 16:50:52 +10:00
CraftBukkit/Spigot
962fa8e8a6 SPIGOT-4916: Fix loading legacy structure data
By: md_5 <git@md-5.net>
2019-05-12 21:53:54 +10:00
CraftBukkit/Spigot
41043ef48b Load custom worlds from correct location
By: md_5 <git@md-5.net>
2019-05-12 16:59:21 +10:00
CraftBukkit/Spigot
b407bebd8d SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI
By: md_5 <git@md-5.net>
2019-05-12 11:15:48 +10:00
CraftBukkit/Spigot
8b207fdf78 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.
By: blablubbabc <lukas@wirsindwir.de>
2019-05-08 02:18:05 +02:00
CraftBukkit/Spigot
32d5f0cca3 SPIGOT-4889: Add PlayerTakeLecternBookEvent
By: Brokkonaut <hannos17@gmx.de>
2019-05-07 17:15:32 +02:00
CraftBukkit/Spigot
65f0df94c4 SPIGOT-4899: Horse inventory title not set
By: md_5 <git@md-5.net>
2019-05-10 17:41:05 +10:00
CraftBukkit/Spigot
5cda52e6a9 SPIGOT-4895: Bed doesn't explode in Nether and The End
By: md_5 <git@md-5.net>
2019-05-09 08:56:32 +10:00
CraftBukkit/Spigot
2c86ecd099 SPIGOT-4888: setSleepingIgnored resets the night even when there is no one in a bed
By: md_5 <git@md-5.net>
2019-05-08 20:34:41 +10:00
CraftBukkit/Spigot
dd2f46e32e SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode
By: md_5 <git@md-5.net>
2019-05-08 20:17:45 +10:00
CraftBukkit/Spigot
7a93a50d32 Add BlockShearEntityEvent for Dispensers shearing Sheep
By: nathat890 <nathat890@outlook.com>
2019-05-07 16:50:57 +01:00
CraftBukkit/Spigot
7dd4483ca3 SPIGOT-4882: EntityExplodeEvent appears to fire every tick because of enderdragon
By: md_5 <git@md-5.net>
2019-05-07 09:45:13 +10:00
CraftBukkit/Spigot
35aa62b5f6 SPIGOT-4881: Worldborder for the End and Nether switch to default after restart
By: md_5 <git@md-5.net>
2019-05-07 09:36:36 +10:00
CraftBukkit/Spigot
55f1b1bec1 SPIGOT-4875: PlayerChangedWorldEvent does not fire on teleporting via portals
By: md_5 <git@md-5.net>
2019-05-06 08:38:29 +10:00
CraftBukkit/Spigot
8c48e82d0c SPIGOT-4877: No end platform generated
By: md_5 <git@md-5.net>
2019-05-06 08:36:11 +10:00
CraftBukkit/Spigot
8f5f07be27 SPIGOT-4870: Server crashes while charging crossbow
By: md_5 <git@md-5.net>
2019-05-05 16:18:29 +10:00
CraftBukkit/Spigot
2beeb67ce0 Rearchitect PortalCreateEvent to provide more information about the portal
By: md_5 <git@md-5.net>
2019-05-05 10:51:43 +10:00
CraftBukkit/Spigot
8c6028095a SPIGOT-248: PortalCreateEvent not fired when exit portal is created automatically.
By: Aquazus <me@aquazus.fr>
2019-05-04 14:51:54 +02:00
CraftBukkit/Spigot
0ddb44f00c SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot
By: md_5 <git@md-5.net>
2019-05-05 09:46:41 +10:00
CraftBukkit/Spigot
8399005c46 SPIGOT-4867: Incorrect dimension ID for nether portal teleports
By: md_5 <git@md-5.net>
2019-05-05 09:30:44 +10:00
CraftBukkit/Spigot
f3d2f9c5c0 SPIGOT-4868: Server deadlock on /stop command
By: md_5 <git@md-5.net>
2019-05-05 09:25:51 +10:00
CraftBukkit/Spigot
5a40b00a62 SPIGOT-4863: --eraseCache doesn't work
By: md_5 <git@md-5.net>
2019-05-04 20:54:32 +10:00
CraftBukkit/Spigot
59a3833b02 SPIGOT-4860: Cancelling InventoryOpenEvent on MerchantInventory prevents re-opening
By: md_5 <git@md-5.net>
2019-05-04 20:32:13 +10:00
CraftBukkit/Spigot
fb7dd08846 SPIGOT-4842: Dummy recipes should not give AIR as result type
By: md_5 <git@md-5.net>
2019-05-03 17:41:23 +10:00
CraftBukkit/Spigot
d90f2f4bfd SPIGOT-4831: setKeepSpawnInMemory to false does not work
By: md_5 <git@md-5.net>
2019-05-02 15:15:53 +10:00
CraftBukkit/Spigot
5ae50e9d74 SPIGOT-4838: BlockDispenseEvent not called when shears dispensed from dispenser
By: Justin Lawen <justin@lesserhydra.com>
2019-05-01 15:18:14 -05:00
CraftBukkit/Spigot
cef8c2f357 Revert "SPIGOT-4825: Clearly error on asynchronous tile access"
This reverts commit ff6da11426.

By: md_5 <git@md-5.net>
2019-05-01 08:51:01 +10:00
CraftBukkit/Spigot
ff6da11426 SPIGOT-4825: Clearly error on asynchronous tile access
By: md_5 <git@md-5.net>
2019-05-01 06:59:38 +10:00
CraftBukkit/Spigot
1596138194 SPIGOT-4823: Crash picking up arrows
By: md_5 <git@md-5.net>
2019-05-01 06:48:56 +10:00
CraftBukkit/Spigot
a318ed1949 SPIGOT-4810: Call EntityChangeBlockEvent for Ravager destroying leaves
By: md_5 <git@md-5.net>
2019-04-29 18:11:13 +10:00
CraftBukkit/Spigot
4d73820fbb SPIGOT-4803: Fox related APIs
By: md_5 <git@md-5.net>
2019-04-28 17:59:12 +10:00
CraftBukkit/Spigot
b84b23c451 Add TradeSelectEvent
By: Coleman Yantis <diamonddagger590@gmail.com>
2019-04-28 12:35:28 +10:00
CraftBukkit/Spigot
c7281b2159 SPIGOT-4790: Secondary world data not saved
By: md_5 <git@md-5.net>
2019-04-28 11:13:44 +10:00
CraftBukkit/Spigot
58401ba73d SPIGOT-4795: EntityPoseChangeEvent called every tick
By: md_5 <git@md-5.net>
2019-04-28 10:03:52 +10:00