Commit graph

1652 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
78602f07ff Intermittent hang on /stop
By: md_5 <git@md-5.net>
2019-04-27 21:33:07 +10:00
CraftBukkit/Spigot
8f36a64ccd Fix loading secondary worlds
By: md_5 <git@md-5.net>
2019-04-27 20:09:40 +10:00
CraftBukkit/Spigot
e36edd57b4 SPIGOT-4785: Experience etc lost returning from end
By: md_5 <git@md-5.net>
2019-04-27 15:43:04 +10:00
CraftBukkit/Spigot
748c652126 Add some missing goal targets
By: md_5 <git@md-5.net>
2019-04-27 13:57:46 +10:00
CraftBukkit/Spigot
520c838a5c SPIGOT-4753: Add Pose API
By: md_5 <git@md-5.net>
2019-04-27 10:27:05 +10:00
CraftBukkit/Spigot
1e60258bfd SPIGOT-4783: CreatureSpawnEvent causes crash when getting block type
By: md_5 <git@md-5.net>
2019-04-27 10:07:55 +10:00
CraftBukkit/Spigot
3eda70afc8 Remove redundant cast
By: md_5 <git@md-5.net>
2019-04-27 09:26:19 +10:00
CraftBukkit/Spigot
4bdb87aa40 SPIGOT-4774: Entities don't get marked 'invalid' after being removed
By: blablubbabc <lukas@wirsindwir.de>
2019-04-27 09:25:38 +10:00
CraftBukkit/Spigot
cfe7674bc3 SPIGOT-4771: PlayerPortalEvent does not have correct cause when entering nether
By: md_5 <git@md-5.net>
2019-04-26 21:47:21 +10:00
CraftBukkit/Spigot
5bbfcfaed7 SPIGOT-4769: PlayerPortalEvent does not have correct cause when entering end
By: md_5 <git@md-5.net>
2019-04-26 18:03:32 +10:00
CraftBukkit/Spigot
86bf9c1cbc SPIGOT-4767: Fire from lava persists after respawn
By: md_5 <git@md-5.net>
2019-04-26 17:12:45 +10:00
CraftBukkit/Spigot
fb071c3e02 SPIGOT-4768: ChunkUnloadEvent not called
By: md_5 <git@md-5.net>
2019-04-26 16:56:49 +10:00
CraftBukkit/Spigot
69949a48e6 SPIGOT-4760: BlockSpreadEvent for Bamboo growth
By: md_5 <git@md-5.net>
2019-04-26 14:56:59 +10:00
CraftBukkit/Spigot
f8494aa951 Add variant API to MushroomCow
By: md_5 <git@md-5.net>
2019-04-26 14:48:19 +10:00
CraftBukkit/Spigot
1ba83eb294 SPIGOT-4765: WeatherChangeEvent occurs every tick
By: md_5 <git@md-5.net>
2019-04-26 14:42:51 +10:00
CraftBukkit/Spigot
8c88f50d6f Clean diff in PlayerChunkMap
By: md_5 <git@md-5.net>
2019-04-26 13:01:07 +10:00
CraftBukkit/Spigot
9aaff88148 SPIGOT-4757: Server hangs after teleporting
By: md_5 <git@md-5.net>
2019-04-26 09:45:57 +10:00
CraftBukkit/Spigot
0e0ec84923 SPIGOT-4755: Client freeze when joining world
By: md_5 <git@md-5.net>
2019-04-26 09:37:15 +10:00
CraftBukkit/Spigot
519f0e1153 SPIGOT-4758: --server-port argument does not work
By: md_5 <git@md-5.net>
2019-04-26 09:11:47 +10:00
CraftBukkit/Spigot
f011913318 SPIGOT-4737: Bukkit.createWorld causes the server to crash if run after startup
By: md_5 <git@md-5.net>
2019-04-25 15:33:13 +10:00
CraftBukkit/Spigot
c9a23d73a0 Replace ItemTag API with new API that also expands to Tiles and Entities
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-04-25 14:36:46 +10:00
CraftBukkit/Spigot
4198bf7e21 SPIGOT-4741: InventoryHolder no longer returns DoubleChest
By: md_5 <git@md-5.net>
2019-04-25 13:57:18 +10:00
CraftBukkit/Spigot
badc255efc Update to Minecraft 1.14
By: md_5 <git@md-5.net>
2019-04-25 12:00:00 +10:00
CraftBukkit/Spigot
5ea2a0e8e4 Clean diff slightly in MinecraftServer
By: md_5 <git@md-5.net>
2019-04-25 10:14:16 +10:00
CraftBukkit/Spigot
e9b89119e0 SPIGOT-4734: Sign placement fails when looking at grass
By: md_5 <git@md-5.net>
2019-04-25 09:55:41 +10:00
CraftBukkit/Spigot
5fc0b9bc07 SPIGOT-4720: Remove now unnecessary tile fixer
By: md_5 <git@md-5.net>
2019-04-24 10:28:36 +10:00
CraftBukkit/Spigot
7e5fc5e1ba SPIGOT-4722: Cannot get title of player's inventory
By: md_5 <git@md-5.net>
2019-04-24 10:23:12 +10:00
CraftBukkit/Spigot
e9906a5c82 SPIGOT-4717: Fix adding recipes after clearRecipes is called
By: md_5 <git@md-5.net>
2019-04-23 20:53:56 +10:00
CraftBukkit/Spigot
7afe4d02f8 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:30 +10:00
CraftBukkit/Spigot
a0f2b74c8d Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
CraftBukkit/Spigot
93e3d6bec1 SPIGOT-4708: Fix ExactChoice recipes neglecting material
By: md_5 <git@md-5.net>
2019-04-21 10:30:37 +10:00
CraftBukkit/Spigot
dee9a212cf SPIGOT-4677: Add minecraft.admin.command_feedback permission
By: md_5 <git@md-5.net>
2019-04-20 13:24:20 +10:00
CraftBukkit/Spigot
3d88c2acc0 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).

By: blablubbabc <lukas@wirsindwir.de>
2019-04-18 11:56:42 +02:00
CraftBukkit/Spigot
9dbf35c38c SPIGOT-4706: Can't interact with active item
By: md_5 <git@md-5.net>
2019-04-20 12:57:02 +10:00
CraftBukkit/Spigot
c7a6f8f4d5 SPIGOT-4702: Exception when middle clicking certain slots
By: md_5 <git@md-5.net>
2019-04-16 20:49:28 +10:00
CraftBukkit/Spigot
c6d3a7e5c4 SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN
By: md_5 <git@md-5.net>
2019-04-15 20:42:51 +10:00
CraftBukkit/Spigot
6111c0258c SPIGOT-4684: Update persistence of converting zombie villagers
By: md_5 <git@md-5.net>
2019-04-08 20:29:18 +10:00
CraftBukkit/Spigot
23997eddd5 SPIGOT-4678: Fix placing signs in certain circumstances
By: md_5 <git@md-5.net>
2019-03-24 21:34:57 +11:00
CraftBukkit/Spigot
622d30f730 Fix dangerously threaded beacons
By: md_5 <git@md-5.net>
2019-03-17 13:08:25 +11:00
CraftBukkit/Spigot
dcc541a4a0 Mappings Update
By: md_5 <git@md-5.net>
2019-03-17 11:48:53 +11:00
CraftBukkit/Spigot
c232318c9f SPIGOT-4669: Fix PlayerTeleportEvent coordinates for relative teleports
By: md_5 <git@md-5.net>
2019-03-16 15:10:34 +11:00
CraftBukkit/Spigot
7a7e9aa31e SPIGOT-4666: Force parameter in HumanEntity#sleep
Also moved the application of the force parameter inside EntityHuman, to
no longer allow bypassing of very essential checks.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-13 04:48:19 +01:00
CraftBukkit/Spigot
6f19c56acd Fix ExplosionPrimeEvent#setFire not working with EnderCrystals
By: Phoenix616 <mail@moep.tv>
2019-03-09 22:29:09 +01:00
CraftBukkit/Spigot
d8321eeba1 Rebuild patches
By: md_5 <git@md-5.net>
2019-03-06 16:38:02 +11:00
CraftBukkit/Spigot
0f33d638d0 Improve damage handling of dead entities
By: Phoenix616 <mail@moep.tv>
2019-03-06 01:13:47 +01:00
CraftBukkit/Spigot
a6bce7bfb4 SPIGOT-4647: Properly cancel VehicleDamageEvent
By: md_5 <git@md-5.net>
2019-03-05 16:42:23 +11:00
CraftBukkit/Spigot
196d19e95c Use getBukkitEntity for ExplosionPrimeEvent instead of creating new one
By: Phoenix616 <mail@moep.tv>
2019-03-04 16:12:52 +01:00
CraftBukkit/Spigot
d0fdcfcf41 Add love mode API to Animals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-02-27 21:56:25 +00:00
CraftBukkit/Spigot
94a194355b SPIGOT-4638: Give last registered recipe priority
By: md_5 <git@md-5.net>
2019-02-26 11:17:42 +11:00
CraftBukkit/Spigot
0deb5e7d0a SPIGOT-4637: Add source block to BlockPhysicsEvent.
Allows a plugin to lookup the source block of event. For example, a protection plugin may want to determine what caused the physics event to be triggered.

By: bloodshot <jdroque@gmail.com>
2019-02-24 22:50:05 -05:00
CraftBukkit/Spigot
5c6e6853e3 SPIGOT-4635: Restore shield damage sound
By: md_5 <git@md-5.net>
2019-02-25 18:52:09 +11:00
CraftBukkit/Spigot
13289e0c17 SPIGOT-4619: Incorrect packet order for villager inventories
By: md_5 <git@md-5.net>
2019-02-13 17:02:33 +11:00
CraftBukkit/Spigot
a6ec0de609 Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
Without this change the calculation of fitting items was incorrect, so event.getRemaining() did return 0 when it should not be 0.

By: Brokkonaut <hannos17@gmx.de>
2019-02-12 04:49:24 +01:00
CraftBukkit/Spigot
773e44eee7 SPIGOT-4615: Missing target event for withers
By: md_5 <git@md-5.net>
2019-02-10 10:32:24 +11:00
CraftBukkit/Spigot
64264bdd79 Make AreaEffectCloudApplyEvent cancellable
By: bermudalocket <bermudalckt@gmail.com>
2019-02-07 00:40:41 -05:00
CraftBukkit/Spigot
cda432d64a Don't handle sync packets for kicked players
By: md_5 <git@md-5.net>
2019-02-03 14:23:04 +11:00
CraftBukkit/Spigot
69ea4f2bcd SPIGOT-4602: Cache reflection in decompile error workaround
By: md_5 <git@md-5.net>
2019-02-02 09:57:26 +11:00
CraftBukkit/Spigot
8b6d75b06e SPIGOT-4193: API for selecting entities by strings
By: md_5 <git@md-5.net>
2019-01-31 15:08:25 +11:00
CraftBukkit/Spigot
b8ededbf19 SPIGOT-4597: Make BlockDropItemEvent use a list
By: md_5 <git@md-5.net>
2019-01-30 11:20:39 +11:00
CraftBukkit/Spigot
e5292ad840 Need to update item in hand if fish bucket pickup cancelled
By: md_5 <git@md-5.net>
2019-01-27 15:32:30 +11:00
CraftBukkit/Spigot
eacdff8282 SPIGOT-4591: Must mark itemstacks as dirty in case the handle itself changed
By: md_5 <git@md-5.net>
2019-01-25 20:54:56 +11:00
CraftBukkit/Spigot
9e07e466a9 Fix minecraft.command.selector permission
By: md_5 <git@md-5.net>
2019-01-18 15:59:21 +11:00
CraftBukkit/Spigot
549fd7da45 SPIGOT-4584: Call events for hatching turtle eggs
By: Brokkonaut <hannos17@gmx.de>
2019-01-17 03:02:34 +01:00
CraftBukkit/Spigot
6f596cf9de SPIGOT-4579: Shulker boxes not dropping in creative
By: md_5 <git@md-5.net>
2019-01-14 15:53:54 +11:00
CraftBukkit/Spigot
9782a90283 Fix duplicate iron golem add
By: md_5 <git@md-5.net>
2019-01-11 12:37:43 +11:00
CraftBukkit/Spigot
d8f2a7e7cc Fix a bunch of duplicate EntityCombustEvent calls
By: md_5 <git@md-5.net>
2019-01-11 11:41:32 +11:00
CraftBukkit/Spigot
ab7419bd7d SPIGOT-4571: EntityCombustEvent not firing for phantoms
By: md_5 <git@md-5.net>
2019-01-09 20:38:37 +11:00
CraftBukkit/Spigot
5a915978fa SPIGOT-4570: Add FluidLevelChangeEvent
By: md_5 <git@md-5.net>
2019-01-08 21:23:11 +11:00
CraftBukkit/Spigot
9276e6f396 Fix BlockDropItemEvent for Skulls and Shulker Boxes
By: md_5 <git@md-5.net>
2019-01-07 13:57:35 +11:00
CraftBukkit/Spigot
6ec5377de8 Load default world spawn areas in consistent order
By: md_5 <git@md-5.net>
2019-01-05 17:05:51 +11:00
CraftBukkit/Spigot
cf22e510c4 Fix confusing migration message appearing on fresh server
By: md_5 <git@md-5.net>
2019-01-05 17:03:12 +11:00
CraftBukkit/Spigot
01688ed577 Remove redundant CraftBukkit change for secondary world data
The above loop would always save this data

By: md_5 <git@md-5.net>
2019-01-05 16:41:02 +11:00
CraftBukkit/Spigot
e2d96edfa7 Process conversation input on the main thread.
Fixes BUKKIT-5611.

By: riking <rikingcoding@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
d19f284744 Descriptive kick reasons instead of Nope!
By: drXor <mcyoungsota@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
3e70f09bdf SPIGOT-4563: Fix regenerating chunks saved to disk already
By: md_5 <git@md-5.net>
2019-01-03 15:44:06 +11:00
CraftBukkit/Spigot
5aff480181 Add RecipeChoice.ExactChoice API for NBT matches on ingredients
By: md_5 <git@md-5.net>
2019-01-02 15:56:21 +11:00
CraftBukkit/Spigot
1336c4afb9 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:41:31 +11:00
CraftBukkit/Spigot
19795494f3 SPIGOT-4562: reducedDebugInfo not updated on world change
By: md_5 <git@md-5.net>
2019-01-02 10:57:47 +11:00
CraftBukkit/Spigot
d2d0415a74 SPIGOT-4556: Fix plugins closing inventory during drop events
By: md_5 <git@md-5.net>
2018-12-31 10:13:02 +11:00
CraftBukkit/Spigot
92b2d3a400 Replace version constants with methods to prevent compiler inlining
By: md_5 <git@md-5.net>
2018-12-30 16:00:31 +11:00
CraftBukkit/Spigot
aa6ac2b0e2 SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
2018-12-27 12:02:17 +11:00
CraftBukkit/Spigot
b9c01d1768 SPIGOT-1811: Death message not shown on respawn screen
By: md_5 <git@md-5.net>
2018-12-27 11:37:19 +11:00
CraftBukkit/Spigot
6b0b34838e SPIGOT-943: InventoryCloseEvent called on death regardless of open inventory
By: md_5 <git@md-5.net>
2018-12-27 11:36:53 +11:00
CraftBukkit/Spigot
e7b5d8a7cf SPIGOT-794: Call EntityPlaceEvent for Minecart placement
By: md_5 <git@md-5.net>
2018-12-27 10:45:36 +11:00
CraftBukkit/Spigot
d085b4781b Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
2018-12-26 10:40:14 +11:00
CraftBukkit/Spigot
5e4a190d2c Add PlayerItemDamageEvent
By: md_5 <md_5@live.com.au>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
d7e312278d Mappings Update
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
1471b6a942 Reduce copying of positions from block states
By: md_5 <git@md-5.net>
2018-12-22 11:32:11 +11:00
CraftBukkit/Spigot
bcdd4e14ac SPIGOT-4387: Durability looping from cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2018-12-22 11:25:14 +11:00
CraftBukkit/Spigot
9ac4c1601e SPIGOT-4493: Allow burnt out furnaces to remain lit like Vanilla whilst retaining SPIGOT-844 API
By: md_5 <git@md-5.net>
2018-12-22 11:04:31 +11:00
CraftBukkit/Spigot
d6e57b855b SPIGOT-4503: Add API to insert complete ItemStack into Jukebox
By: md_5 <git@md-5.net>
2018-12-22 10:50:57 +11:00
CraftBukkit/Spigot
b33f268413 SPIGOT-4541: Cancelled bucket events require inventory update
By: md_5 <git@md-5.net>
2018-12-22 10:12:16 +11:00
CraftBukkit/Spigot
42831b84cd Add BlockData#getAsString(boolean) to hide unspecified states
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-12-16 18:21:29 -05:00
CraftBukkit/Spigot
7114dbbb9d SPIGOT-4534: Only call event for new chunks
By: md_5 <git@md-5.net>
2018-12-17 21:36:21 +11:00
CraftBukkit/Spigot
0d2bc86153 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN
By: md_5 <git@md-5.net>
2018-12-17 12:30:16 +11:00
CraftBukkit/Spigot
ee3eaaf511 SPIGOT-4527: Fix sponges with waterlogged blocks
By: md_5 <git@md-5.net>
2018-12-13 14:28:34 +11:00
CraftBukkit/Spigot
bbf578d00a SPIGOT-4526: Add conversion time API for Zombie & subclasses
By: md_5 <git@md-5.net>
2018-12-13 14:10:36 +11:00
CraftBukkit/Spigot
83baf22bde Mappings Update
By: md_5 <git@md-5.net>
2018-12-13 11:00:00 +11:00
CraftBukkit/Spigot
8817bc22d9 Fix missing ServerListPingEvent call for legacy pings
By: md_5 <git@md-5.net>
2018-12-12 11:19:31 +11:00
CraftBukkit/Spigot
c388691b53 Remove unnecessary line in BlockMushroom
By: md_5 <git@md-5.net>
2018-12-10 11:14:39 +11:00
CraftBukkit/Spigot
102dee7d4f Mappings Update
By: md_5 <git@md-5.net>
2018-12-06 10:00:00 +11:00
CraftBukkit/Spigot
e9e6bec4e5 Add list of entities to EntityTransformEvent & move die calls
By: nathat890 <nathat890@outlook.com>
2018-12-05 09:51:20 +11:00
CraftBukkit/Spigot
b69f1de549 SPIGOT-4347: Add API to allow storing arbitrary values on ItemStacks
By: Bjarne Koll <LynxPlay101@gmail.com>
2018-12-01 20:26:23 +11:00
CraftBukkit/Spigot
78841baf49 SPIGOT-4511: Trident doesn't lose durability
By: md_5 <git@md-5.net>
2018-12-01 08:18:09 +11:00
CraftBukkit/Spigot
c6b5dde39f SPIGOT-4507: BlockRedstoneEvent current flipped for levers
By: md_5 <git@md-5.net>
2018-11-28 09:09:56 +11:00
CraftBukkit/Spigot
3ea49a159d SPIGOT-4494: Remove fix for SPIGOT-3864, better handled by SPIGOT-3879 fix
By: md_5 <git@md-5.net>
2018-11-20 21:34:15 +11:00
CraftBukkit/Spigot
86353db2aa SPIGOT-4491: Fix InventoryMoveItemEvent causing repeated events
By: md_5 <git@md-5.net>
2018-11-19 20:59:37 +11:00
CraftBukkit/Spigot
c7663abcaa Add Player to BlockCanBuildEvent
By: md_5 <git@md-5.net>
2018-11-18 09:27:46 +11:00
CraftBukkit/Spigot
d625045ee2 Add some missing CreatureSpawnEvent.SpawnReason calls
By: md_5 <git@md-5.net>
2018-11-14 14:17:25 +11:00
CraftBukkit/Spigot
6fd5f1379b SPIGOT-4339: Add EntityTransformEvent
Thanks klugemonkey for some contributions in https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/351/overview

By: nathat890 <nathat890@outlook.com>
2018-11-14 14:10:22 +11:00
CraftBukkit/Spigot
04cffd8092 SPIGOT-4483: Missing EntityInteractEvent call for zombies on eggs
By: md_5 <git@md-5.net>
2018-11-12 19:19:04 +11:00
CraftBukkit/Spigot
696aca057f SPIGOT-4477: Arrows only firing direction of boat
By: md_5 <git@md-5.net>
2018-11-10 20:36:35 +11:00
CraftBukkit/Spigot
0902bb4e34 SPIGOT-4478: NPE during PlayerLoginEvent recipe manipulation
By: md_5 <git@md-5.net>
2018-11-10 20:30:58 +11:00
CraftBukkit/Spigot
3433c5e374 Add API to manipulate boss bar of entities and those created by commands
By: Yannick Lamprecht <yannicklamprecht@live.de>
2018-11-10 20:22:39 +11:00
CraftBukkit/Spigot
6f6c96bd33 SPIGOT-4469: Age API for EndGateway
By: md_5 <git@md-5.net>
2018-11-06 18:12:31 +11:00
CraftBukkit/Spigot
f41299cc66 SPIGOT-4471: Use wall time for zombie drowning & enhance checks
Thanks Zach Brown for outline of issue with drowned zombies.

By: md_5 <git@md-5.net>
2018-11-06 18:03:42 +11:00
CraftBukkit/Spigot
367a09407f SPIGOT-4467: Improve ExpiringMap
By: md_5 <git@md-5.net>
2018-11-04 11:40:15 +11:00
CraftBukkit/Spigot
ed68e3973e SPIGOT-4438: Add choice API to furnace recipes
By: md_5 <git@md-5.net>
2018-11-03 21:04:33 +11:00
CraftBukkit/Spigot
88f0b69603 API to get client side view distance.
By: md_5 <git@md-5.net>
2018-11-02 21:24:14 +11:00
CraftBukkit/Spigot
6c57828988 SPIGOT-4395: Additions to PlayerBedEnterEvent.
Contributions by blablubbabc as well - https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/500/overview

By: Ugleh <troti@ymail.com>
2018-11-02 18:31:00 +11:00
CraftBukkit/Spigot
5ba0644847 SPIGOT-4376: Add draft BlockDropItemEvent
By: AndaBlock <anda.block12345@outlook.de>
2018-10-31 19:55:04 +11:00
CraftBukkit/Spigot
c3d18995c4 SPIGOT-4433: Always generate ProtoChunk
By: md_5 <git@md-5.net>
2018-10-28 11:30:35 +11:00
CraftBukkit/Spigot
d7512e51a2 MC-137353: Don't go crazy on amount of bootstrap threads needed
By: md_5 <git@md-5.net>
2018-10-23 20:34:30 +11:00
CraftBukkit/Spigot
a194267323 Update to Minecraft 1.13.2
By: md_5 <git@md-5.net>
2018-10-23 06:00:00 +11:00
CraftBukkit/Spigot
8768f34d7b Improve minecart spawners
By: md_5 <git@md-5.net>
2018-10-19 20:25:25 +11:00
CraftBukkit/Spigot
66986bd874 Fixed missed diff in PathfinderGoalPanic.
Originally from the MC 1.8 update, broken afterwards and was no longer calling the correct method.

By: blablubbabc <lukas@wirsindwir.de>
2018-10-16 19:10:13 +02:00
CraftBukkit/Spigot
9608d7142d SPIGOT-4428: Update Player CustomName
By: md_5 <git@md-5.net>
2018-10-15 19:21:35 +11:00
CraftBukkit/Spigot
10df7bb1d5 SPIGOT-4368: Tweak fish persistence
By: md_5 <git@md-5.net>
2018-10-07 10:08:58 +11:00
CraftBukkit/Spigot
d41b707a1b Implement maximum repair cost API to AnvilInventory
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-10-05 21:48:54 -04:00
CraftBukkit/Spigot
df9a88905a Make setPersistent also control player saving
By: Ugleh <troti@ymail.com>
2018-10-02 11:41:47 -04:00
CraftBukkit/Spigot
1e3bfc15de SPIGOT-4405: Chunk generation problem
By: md_5 <git@md-5.net>
2018-10-02 23:00:16 +10:00
CraftBukkit/Spigot
6956c45f3a Save server version
By: md_5 <git@md-5.net>
2018-10-02 20:52:57 +10:00
CraftBukkit/Spigot
30980b852c Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-29 19:24:51 -04:00
CraftBukkit/Spigot
d5f782996e SPIGOT-4400: Populators running on existing chunks
By: md_5 <git@md-5.net>
2018-09-27 21:41:24 +10:00
CraftBukkit/Spigot
56743ea614 MC-134115: Fix issues converting tile entities
By: md_5 <git@md-5.net>
2018-09-27 11:11:53 +10:00
CraftBukkit/Spigot
686bbbbc2b SPIGOT-4397: isChunkGenerated API
By: md_5 <git@md-5.net>
2018-09-26 17:19:16 +10:00
CraftBukkit/Spigot
f1c24bbfa2 SPIGOT-4396: Improve vehicle movement
By: Aikar <aikar@aikar.co>
2018-09-26 17:19:16 +10:00
CraftBukkit/Spigot
5d8f320fb0 SPIGOT-4392: Stem updates even if BlockGrowEvent cancelled
By: md_5 <git@md-5.net>
2018-09-25 14:34:05 +10:00
CraftBukkit/Spigot
723cda4048 MC-136886: locate command loads chunks without needing to.
Thanks Aikar for the report

By: Senmori <thesenmori@gmail.com>
2018-09-23 09:41:57 -04:00
CraftBukkit/Spigot
ded48a6734 Add API to locate structures.
By: Senmori <thesenmori@gmail.com>
2018-09-21 08:49:54 -04:00
CraftBukkit/Spigot
1f501261b1 SPIGOT-4385: Clearer error for invalid generator-settings
By: md_5 <git@md-5.net>
2018-09-19 18:32:21 +10:00
CraftBukkit/Spigot
109005b578 Implement BatToggleSleepEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-16 12:57:03 -04:00
CraftBukkit/Spigot
c34465635c SPIGOT-4382: Fix damage_absorbed statistic
By: md_5 <git@md-5.net>
2018-09-17 16:40:35 +10:00
CraftBukkit/Spigot
79c0a37767 SPIGOT-4378: Fix mistakenly included code
By: md_5 <git@md-5.net>
2018-09-16 08:16:03 +10:00
CraftBukkit/Spigot
50c4571708 SPIGOT-4372: LightningStrikeEvent cause API
By: md_5 <git@md-5.net>
2018-09-15 19:16:42 +10:00
CraftBukkit/Spigot
7611585b2e SPIGOT-4371: Trident damaged when event cancelled
By: md_5 <git@md-5.net>
2018-09-15 19:07:03 +10:00
CraftBukkit/Spigot
42cfdd79e7 SPIGOT-4369: Handle cancelled trident event
By: md_5 <git@md-5.net>
2018-09-15 15:31:39 +10:00
CraftBukkit/Spigot
7f1178fda4 SPIGOT-4370: Remove vehicle if its passenger spawn event was cancelled
By: md_5 <git@md-5.net>
2018-09-15 15:20:20 +10:00
CraftBukkit/Spigot
41347a700a SPIGOT-4314: Ability to change item in frame without playing sound
By: simpleauthority <jacob@algorithmjunkie.com>
2018-09-11 00:09:10 -07:00
CraftBukkit/Spigot
5d0094a169 Hoist out synchronisation from ChunkRegionLoader
By: md_5 <git@md-5.net>
2018-09-10 19:13:03 +10:00
CraftBukkit/Spigot
de1ca9f6ed SPIGOT-4361: BlockFadeEvent for regular coral
By: md_5 <git@md-5.net>
2018-09-10 08:30:13 +10:00
CraftBukkit/Spigot
5ac0aa1dbb SPIGOT-4352: MoistureChangeEvent
By: md_5 <git@md-5.net>
2018-09-09 18:53:38 +10:00
CraftBukkit/Spigot
5b823ce70a Add BlockDispenseArmorEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-08 00:15:33 -04:00
CraftBukkit/Spigot
a5d76bcbad Fix bad thread safety in ChunkRegionLoader
By: md_5 <git@md-5.net>
2018-09-09 09:39:23 +10:00
CraftBukkit/Spigot
a3019f4cf0 SPIGOT-4355: Improve cancelling VehicleEnterEvent
By: md_5 <git@md-5.net>
2018-09-09 09:32:11 +10:00
CraftBukkit/Spigot
e548ec8ea7 Add ServerLoadEvent
By: Pante <matthiasngeozhongsim@yahoo.com>
2018-09-08 13:37:15 +10:00
CraftBukkit/Spigot
4e850a9228 Remove vanilla command ambiguity warning
Needless support burden

By: md_5 <git@md-5.net>
2018-09-07 20:51:57 +10:00
CraftBukkit/Spigot
acaa97ae95 SPIGOT-4350: Expand EntityTeleportEvent to /teleport command
By: md_5 <git@md-5.net>
2018-09-07 20:32:57 +10:00
CraftBukkit/Spigot
dc125a011e SPIGOT-4349: End portal has wrong TeleportCause
By: md_5 <git@md-5.net>
2018-09-07 07:14:59 +10:00
CraftBukkit/Spigot
4f9972bcac SPIGOT-4342: Fix PlayerMoveEvent from pitch/yaw incorrect
By: md_5 <git@md-5.net>
2018-09-04 20:57:55 +10:00
CraftBukkit/Spigot
9debf7e783 BlockSpreadEvent for Kelp
By: md_5 <git@md-5.net>
2018-09-03 08:43:48 +10:00
CraftBukkit/Spigot
21233fa351 SPIGOT-4340: Improve client bug workaround
By: md_5 <git@md-5.net>
2018-09-03 08:00:50 +10:00
CraftBukkit/Spigot
44e4798b95 SPIGOT-4338: breedCause API
By: md_5 <git@md-5.net>
2018-09-01 19:28:12 +10:00
CraftBukkit/Spigot
b4f00b45eb Expand Recipe API to allow multiple Materials per slot
By: md_5 <git@md-5.net>
2018-09-01 11:04:48 +10:00
CraftBukkit/Spigot
d7b09a3270 SPIGOT-4116: Tweak tab complete spam since the client appears to be duplicating packets
By: md_5 <git@md-5.net>
2018-08-29 22:30:16 +10:00
CraftBukkit/Spigot
3c025f960a API to prevent PlayerBedLeaveEvent from changing a player's spawn location
By: Senmori <thesenmori@gmail.com>
2018-08-29 19:06:33 +10:00
CraftBukkit/Spigot
e75b0ca57e SPIGOT-4319: Conduit damage should be a block event
By: md_5 <git@md-5.net>
2018-08-28 21:00:24 +10:00
CraftBukkit/Spigot
844b70144f SPIGOT-4316: Do even less processing when block placement without physics requested
By: md_5 <git@md-5.net>
2018-08-27 18:27:59 +10:00
CraftBukkit/Spigot
891ea11907 SPIGOT-4310: Reset villager career level with trades
By: md_5 <git@md-5.net>
2018-08-27 07:00:56 +10:00
CraftBukkit/Spigot
28431795ae SPIGOT-4302: Use defaults when setting unplaced furnaces
By: md_5 <git@md-5.net>
2018-08-27 06:50:15 +10:00
CraftBukkit/Spigot
caf5eeb6f1 Fix client stall in specific teleportation scenarios
By: md_5 <git@md-5.net>
2018-08-26 19:44:10 +10:00
CraftBukkit/Spigot
fbec5a9647 SPIGOT-4309: Add "forced" display of particles
By: md_5 <git@md-5.net>
2018-08-26 18:26:09 +10:00
CraftBukkit/Spigot
f578d94680 Update to Minecraft 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 12:00:00 +10:00
CraftBukkit/Spigot
61903e962a SPIGOT-4304: Turtle helmet overrides water breathing potion
By: md_5 <git@md-5.net>
2018-08-24 20:56:25 +10:00
CraftBukkit/Spigot
90eefedd86 SPIGOT-4298: Block command sender returns wrong block
By: md_5 <git@md-5.net>
2018-08-22 08:52:17 +10:00
CraftBukkit/Spigot
6a88bd220a SPIGOT-4283: Allow setting recipe groups
By: md_5 <git@md-5.net>
2018-08-17 20:40:54 +10:00
CraftBukkit/Spigot
4a4a8c110b Fix whitespace issue in previous commit
By: md_5 <git@md-5.net>
2018-08-16 20:48:00 +10:00
CraftBukkit/Spigot
d29aaedb8e SPIGOT-4281: Fix looting enchantment
By: md_5 <git@md-5.net>
2018-08-16 20:39:29 +10:00
CraftBukkit/Spigot
0382dd836f SPIGOT-4278: EntityChangeBlockEvent for turtles laying eggs
By: md_5 <git@md-5.net>
2018-08-16 20:27:16 +10:00
CraftBukkit/Spigot
2be33f9cb5 SPIGOT-4279: Move turtle egg interact event
By: md_5 <git@md-5.net>
2018-08-16 20:23:17 +10:00
CraftBukkit/Spigot
67c7e32b8c Fix StructureGrowEvent originating from dispensers
By: md_5 <git@md-5.net>
2018-08-15 18:05:04 +10:00
CraftBukkit/Spigot
39c4334d76 SPIGOT-1936: LootTable API
By: Senmori <thesenmori@gmail.com>
2018-08-12 18:39:51 +10:00
CraftBukkit/Spigot
5a15dcbe2b Correct error in previous patch
By: md_5 <git@md-5.net>
2018-08-10 19:43:15 +10:00
CraftBukkit/Spigot
9513aac9f5 SPIGOT-2719: Comparator and Observer don't trigger BlockRedstoneEvent
By: Amosar <maxi.cass11@gmail.com>
2018-08-09 14:44:57 +02:00
CraftBukkit/Spigot
ae8305bd19 SPIGOT-4245, MC-128441: use target world as teleport destination
By: md_5 <git@md-5.net>
2018-08-08 18:59:20 +10:00
CraftBukkit/Spigot
a41e9fe8a5 Add Unit Tests for geHardness and getBlastResistance
By: Christos Miniotis <chrismin1302@gmail.com>
2018-08-08 04:06:36 +03:00
CraftBukkit/Spigot
3dfdb4a598 SPIGOT-4238: Sometimes buckets are leaky client side when empty event is cancelled
By: md_5 <git@md-5.net>
2018-08-07 21:17:49 +10:00
CraftBukkit/Spigot
42914407a0 SPIGOT-4184: Fix furnaces not matching Vanilla smelt or animations
By: md_5 <git@md-5.net>
2018-08-05 11:21:01 +10:00
CraftBukkit/Spigot
67c4dfaabe SPIGOT-4219: Event for PigZombies angering.
By: md_5 <git@md-5.net>
2018-08-05 10:18:01 +10:00
CraftBukkit/Spigot
45bf489047 Fix gamerules in secondary worlds
By: md_5 <git@md-5.net>
2018-08-03 21:03:21 +10:00
CraftBukkit/Spigot
33f46cbebf SPIGOT-4221: Update surrounding blocks for cancelled break/place
By: md_5 <git@md-5.net>
2018-08-03 11:34:26 +10:00
CraftBukkit/Spigot
3445f8b002 Use CraftBlock.at helper
By: md_5 <git@md-5.net>
2018-08-03 09:59:22 +10:00
CraftBukkit/Spigot
39b7d82633 SPIGOT-4212: EntityInteractEvent when an entity tries to interact with a door
By: Nathan Wolf <nathan@elmakers.com>
2018-08-02 16:18:11 -07:00
CraftBukkit/Spigot
8654bfc80e SPIGOT-4220: Player/Entity interact events when turtle eggs are stepped on
By: Nathan Wolf <nathan@elmakers.com>
2018-08-02 14:24:19 -07:00
CraftBukkit/Spigot
bb6a5d8612 SPIGOT-4199: Riptide related APIs
By: md_5 <git@md-5.net>
2018-08-02 09:38:52 +10:00
CraftBukkit/Spigot
3319c6dd5b SPIGOT-4205: Cancelled damage should not anger pig zombie
By: md_5 <git@md-5.net>
2018-08-01 19:29:24 +10:00
CraftBukkit/Spigot
51e1d686e1 Fix merchant inventories with custom titles
By: blablubbabc <lukas@wirsindwir.de>
2018-08-01 08:49:53 +10:00
CraftBukkit/Spigot
e78c07995c SPIGOT-4198: Pockets of darkness in the air
By: md_5 <git@md-5.net>
2018-07-31 21:11:35 +10:00
CraftBukkit/Spigot
dc7b94233e SPIGOT-4029: Add event for commands being sent to client
By: md_5 <git@md-5.net>
2018-07-31 10:46:09 +10:00
CraftBukkit/Spigot
34e0e9da15 SPIGOT-4194: Call BlockFadeEvent for coral
By: md_5 <git@md-5.net>
2018-07-31 10:17:43 +10:00
CraftBukkit/Spigot
2ede098e4b SPIGOT-3917: Add EntityDropItemEvent
By: Articdive <articdive@gmail.com>
2018-07-31 10:06:06 +10:00
CraftBukkit/Spigot
f45823cade SPIGOT-4192: Fix cancelling dispensers removing water sources
By: md_5 <git@md-5.net>
2018-07-31 09:21:21 +10:00
CraftBukkit/Spigot
a6d591c2ae Fix ancient style event call in PlayerDropItemEvent
By: md_5 <git@md-5.net>
2018-07-30 19:29:03 +10:00
CraftBukkit/Spigot
265c841cb2 Move persist flag check
By: md_5 <git@md-5.net>
2018-07-30 13:25:02 +10:00
CraftBukkit/Spigot
e3f89384f6 SPIGOT-4190: Move ChunkLoadEvent call
By: md_5 <git@md-5.net>
2018-07-30 13:09:04 +10:00
CraftBukkit/Spigot
94950beea7 SPIGOT-227: Add entity persistent flag
Non-persistent entities won't get saved when the chunk saves the entities.
Entities that are passengers of a non-persistent entity won't get saved.
Players won't save their vehicle, if the player is directly or
indirectly riding a non-persistent entity.

By: blablubbabc <lukas@wirsindwir.de>
2018-06-14 19:59:21 +02:00
CraftBukkit/Spigot
888b0dc31b SPIGOT-4185: Bubble columns not working on mobs
By: md_5 <git@md-5.net>
2018-07-30 11:17:26 +10:00
CraftBukkit/Spigot
33719fbb13 SPIGOT-4188: Fish not dispensing from buckets
By: md_5 <git@md-5.net>
2018-07-30 09:43:46 +10:00
CraftBukkit/Spigot
9735d97608 SPIGOT-1714: Draft API for player list header / footer
By: md_5 <git@md-5.net>
2018-07-29 21:30:31 +10:00
CraftBukkit/Spigot
0e2c1a2de9 Give turtle eggs a spawn reason
By: md_5 <git@md-5.net>
2018-07-29 10:50:56 +10:00
CraftBukkit/Spigot
c09fac2858 SPIGOT-4178: Add another BlockPhysicsEvent call site
By: md_5 <git@md-5.net>
2018-07-29 09:37:16 +10:00
CraftBukkit/Spigot
90e0341727 SPIGOT-4166: Fix Tags being corrupted by early access (and not reflecting reloads)
By: md_5 <git@md-5.net>
2018-07-28 14:39:35 +10:00
CraftBukkit/Spigot
609e8025ad SPIGOT-4171: Advancement description not showing
By: md_5 <git@md-5.net>
2018-07-28 10:38:36 +10:00
CraftBukkit/Spigot
a9489dee00 SPIGOT-1588: Fix cancelling mount related events
By: md_5 <git@md-5.net>
2018-07-28 10:10:17 +10:00
CraftBukkit/Spigot
5b98505463 Fix growing large dark oak trees
By: md_5 <git@md-5.net>
2018-07-28 08:41:45 +10:00
CraftBukkit/Spigot
b69070bbe4 Use SpawnReason.NATURAL for Phantom spawning
By: klugemonkey <klugemonkey@spawnchunk.com>
2018-07-27 19:33:36 +10:00
CraftBukkit/Spigot
8b47bdcb5e SPIGOT-4161: Missing BlockDispenseEvent for Waterlogged
By: md_5 <git@md-5.net>
2018-07-27 19:29:47 +10:00
CraftBukkit/Spigot
63ec61fc4a SPIGOT-4160: StructureGrowEvent not triggering for giant trees
By: md_5 <git@md-5.net>
2018-07-27 19:16:12 +10:00
CraftBukkit/Spigot
94d8c51934 Add SpawnReason.DROWNED
By: klugemonkey <klugemonkey@spawnchunk.com>
2018-07-26 05:02:02 -07:00
CraftBukkit/Spigot
7b6e8dded6 SPIGOT-4140, SPIGOT-4157: World generation errors
By: md_5 <git@md-5.net>
2018-07-26 22:11:02 +10:00
CraftBukkit/Spigot
db9b570b83 Add draft BlockFertilizeEvent
By: md_5 <git@md-5.net>
2018-07-26 20:44:09 +10:00
CraftBukkit/Spigot
c3205e4e12 SPIGOT-4137: Fix World.regenerateChunk
By: md_5 <git@md-5.net>
2018-07-25 19:32:06 +10:00
CraftBukkit/Spigot
d803780e25 SPIGOT-4141: Untouched filled maps not saving
By: md_5 <git@md-5.net>
2018-07-25 14:13:17 +10:00
CraftBukkit/Spigot
dffbcaf70d Fix scute dropping
By: md_5 <git@md-5.net>
2018-07-24 22:22:56 +10:00
CraftBukkit/Spigot
c03c42de6c SPIGOT-4119: Incorrect slot type in InventoryClickEvent
By: md_5 <git@md-5.net>
2018-07-24 08:41:15 +10:00
CraftBukkit/Spigot
23e5ec669f SPIGOT-4116: Increase command tab spam threshold
By: md_5 <git@md-5.net>
2018-07-23 18:33:29 +10:00
CraftBukkit/Spigot
f07fb63fb3 SPIGOT-824: SpongeAbsorbEvent
By: Articdive <articdive@gmail.com>
2018-07-23 17:20:52 +10:00
CraftBukkit/Spigot
86711e2d98 SPIGOT-4110: Fix spawning withers
By: md_5 <git@md-5.net>
2018-07-23 11:58:43 +10:00
CraftBukkit/Spigot
1ca1c1cbfd SPIGOT-4109: Wall skulls not dropping
By: md_5 <git@md-5.net>
2018-07-23 10:43:45 +10:00
CraftBukkit/Spigot
9633bcece9 SPIGOT-4106: Fish from buckets despawn
By: md_5 <git@md-5.net>
2018-07-23 10:01:46 +10:00
CraftBukkit/Spigot
d68bc14852 Always return captured tiles from chunks as well.
Missed in 4a691031e7

Fixes replacing tile entities in BlockPlaceEvent (or calling setBlockData on them)

By: md_5 <git@md-5.net>
2018-07-22 19:35:42 +10:00
CraftBukkit/Spigot
1e014acb80 Update to Minecraft 1.13
By: md_5 <git@md-5.net>
2018-07-22 12:00:00 +10:00
CraftBukkit/Spigot
d9cf61f1a8 SPIGOT-4101: Turtle lightning strike causing crash
By: md_5 <git@md-5.net>
2018-07-21 14:55:07 +10:00
CraftBukkit/Spigot
5bc15c40d8 SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads
By: md_5 <git@md-5.net>
2018-07-21 11:20:38 +10:00
CraftBukkit/Spigot
ee4832c2ce Fix cancelling new effect events
By: md_5 <git@md-5.net>
2018-07-21 10:13:45 +10:00
CraftBukkit/Spigot
599e710e04 SPIGOT-4099: Missing BlockFormEvent for concrete powder
By: md_5 <git@md-5.net>
2018-07-21 10:03:08 +10:00
CraftBukkit/Spigot
15a21299da SPIGOT-840, SPIGOT-2522: [Draft] Add EntityPotionEffectChangeEvent
Discussion ongoing in PR #449

By: kaenganxt <kaenganxt@mc-anura.de>
2018-07-20 16:04:37 +10:00
CraftBukkit/Spigot
300a2a1daf SPIGOT-4064: Fix BlockPistonRetractEvent for regular pistons
By: md_5 <git@md-5.net>
2018-07-20 10:59:23 +10:00
CraftBukkit/Spigot
3b128c5dbf SPIGOT-4050: Snow erasing block below it
By: md_5 <git@md-5.net>
2018-07-19 15:44:55 +10:00
CraftBukkit/Spigot
9f6ea503ec Fix issues converting certain chunks
By: md_5 <git@md-5.net>
2018-07-19 14:19:12 +10:00
CraftBukkit/Spigot
1185891544 SPIGOT-4046: Fix selectors in tick functions
By: md_5 <git@md-5.net>
2018-07-19 10:58:31 +10:00
CraftBukkit/Spigot
d74d992961 SPIGOT-4044: Cannot load datapack functions on startup
By: md_5 <git@md-5.net>
2018-07-19 10:48:34 +10:00
CraftBukkit/Spigot
b565374633 SPIGOT-4048: Fish disappear when they cannot be picked up
By: md_5 <git@md-5.net>
2018-07-19 10:37:25 +10:00
CraftBukkit/Spigot
cda2741121 SPIGOT-4049: Books lose NBT data
By: md_5 <git@md-5.net>
2018-07-19 10:12:55 +10:00
CraftBukkit/Spigot
99c2788914 SPIGOT-4042: Fix emptying buckets onto slabs
By: md_5 <git@md-5.net>
2018-07-18 17:48:17 +10:00
CraftBukkit/Spigot
88ee63f959 Fix changes that got lost late in development cycle
By: md_5 <git@md-5.net>
2018-07-18 14:13:20 +10:00
CraftBukkit/Spigot
f50cda3c51 SPIGOT-4028: Improve legacy ItemStack conversion
By: md_5 <git@md-5.net>
2018-07-18 14:01:15 +10:00
CraftBukkit/Spigot
6cfea0f387 Tweak display of command completions when we have none
By: md_5 <git@md-5.net>
2018-07-18 12:23:00 +10:00
CraftBukkit/Spigot
7ff10b3157 Fix missing PlayerResourcePackStatusEvent
By: md_5 <git@md-5.net>
2018-07-18 10:00:43 +10:00
CraftBukkit/Spigot
3cc15177f6 SPIGOT-4034: Fix missed diff affecting canceled InventoryClickEvent
By: md_5 <git@md-5.net>
2018-07-18 09:59:10 +10:00
CraftBukkit/Spigot
e73592b7b5 SPIGOT-3998, MC-133373: Improve attributes
By: md_5 <git@md-5.net>
2018-07-17 21:11:52 +10:00
CraftBukkit/Spigot
11239259a0 SPIGOT-4026: Clicking on command error suggestion should return verbatim input
By: md_5 <git@md-5.net>
2018-07-17 06:49:40 +10:00
CraftBukkit/Spigot
c325d5a0f9 SPIGOT-4025: Fixed missed diff affecting PlayerLocaleChangeEvent
By: md_5 <git@md-5.net>
2018-07-17 06:21:43 +10:00
CraftBukkit/Spigot
8784091115 Command block names are not nullable
By: md_5 <git@md-5.net>
2018-07-16 16:20:46 +10:00
CraftBukkit/Spigot
ff8e4c9c8f Fix MapInitializeEvent firing every tick
By: md_5 <git@md-5.net>
2018-07-16 12:45:01 +10:00
CraftBukkit/Spigot
45bc3007b4 Add ignore-vanilla-permissions option to assist with disabling default commands
By: md_5 <git@md-5.net>
2018-07-16 12:06:06 +10:00
CraftBukkit/Spigot
5d2f9be56c SPIGOT-4015: Make CraftTeam tie into backing prefix/suffix
By: md_5 <git@md-5.net>
2018-07-16 10:20:53 +10:00
CraftBukkit/Spigot
436da0769b SPIGOT-4010: Prefix / suffix compatibility should default to empty string
By: md_5 <git@md-5.net>
2018-07-16 09:09:47 +10:00
CraftBukkit/Spigot
d0932e640c SPIGOT-4006: ICE rather than SNOW forming in some biomes
By: md_5 <git@md-5.net>
2018-07-16 08:53:29 +10:00
CraftBukkit/Spigot
11cdaa50a3 Add EntityToggleSwimEvent and isSwimming / setSwimming API
By: md_5 <git@md-5.net>
2018-07-15 16:17:35 +10:00
CraftBukkit/Spigot
7e0a66fdd5 Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
CraftBukkit/Spigot
59793ae626 SPIGOT-3987: Preserve attributes when writing in books
By: md_5 <git@md-5.net>
2018-07-08 10:25:17 +10:00
CraftBukkit/Spigot
548b662825 SPIGOT-3945: Remove RepairCost tag when cost is 0
By: blablubbabc <lukas@wirsindwir.de>
2018-05-23 16:17:41 +02:00
CraftBukkit/Spigot
bab7fe16a5 Implement Arrow tile methods
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-05-01 15:27:59 -04:00
CraftBukkit/Spigot
e6acb81bea SPIGOT-3899: Only load advancements from primary world
By: md_5 <git@md-5.net>
2018-04-15 10:21:11 +10:00
CraftBukkit/Spigot
10a070d7a2 SPIGOT-3883: Better reloading of pending unload chunks
By: md_5 <git@md-5.net>
2018-04-04 16:12:32 +10:00
CraftBukkit/Spigot
f4e35ccf91 SPIGOT-3882: Extra call site for VehicleEntityCollisionEvent
By: md_5 <git@md-5.net>
2018-04-02 12:55:28 +10:00
CraftBukkit/Spigot
5c81a06a72 SPIGOT-3879: Make end->overworld spawning more consistent with vanilla
By: md_5 <git@md-5.net>
2018-03-30 19:16:53 +11:00
CraftBukkit/Spigot
b8065d1022 SPIGOT-3875: Book selectors not resolving
By: md_5 <git@md-5.net>
2018-03-29 20:34:46 +11:00
CraftBukkit/Spigot
26e73eb61e SPIGOT-3869: More resurrect fixes
By: md_5 <git@md-5.net>
2018-03-24 16:13:17 +11:00
CraftBukkit/Spigot
72f49ebfa1 SPIGOT-3869: Error when forcing EntityResurrectEvent
By: md_5 <git@md-5.net>
2018-03-23 19:40:16 +11:00
CraftBukkit/Spigot
ade15e1627 SPIGOT-3864: Protect against suffocation on world change
By: md_5 <git@md-5.net>
2018-03-22 21:05:34 +11:00
CraftBukkit/Spigot
6c0f3574b1 SPIGOT-3845: Fix spawnRadius on respawn
Thanks senmori for the investigation in PR #431

By: md_5 <git@md-5.net>
2018-03-07 21:43:33 +11:00
CraftBukkit/Spigot
246e624213 SPIGOT-3829: Apply some speed limits to all entities
By: md_5 <git@md-5.net>
2018-02-19 09:52:00 +11:00
CraftBukkit/Spigot
9355bb0ed9 Expand Structure Block API
By: Senmori <thesenmori@gmail.com>
2018-02-12 10:29:51 +11:00
CraftBukkit/Spigot
4377f7fede SPIGOT-3813: Player.setHealth not reliable in conjunction with attribute API
By: md_5 <git@md-5.net>
2018-02-12 08:59:32 +11:00
CraftBukkit/Spigot
920e1b53d9 SPIGOT-3805: Minecart does not teleport through Nether Portal
By: md_5 <git@md-5.net>
2018-02-09 18:02:53 +11:00
CraftBukkit/Spigot
7453a5a9eb Expand EnderSignal API
By: Senmori <thesenmori@gmail.com>
2018-02-03 17:48:41 +11:00
CraftBukkit/Spigot
c9693edfb0 SPIGOT-3784: Reset horse chests after event
By: md_5 <git@md-5.net>
2018-01-28 09:44:16 +11:00
CraftBukkit/Spigot
6f9c0bf3cb Expand CreatureSpawner API
By: Senmori <thesenmori@gmail.com>
2018-01-24 17:18:25 +11:00
CraftBukkit/Spigot
bf003c508a SPIGOT-3775: ghost player list entry if kicked on join
By: md_5 <git@md-5.net>
2018-01-23 22:49:26 +11:00
CraftBukkit/Spigot
a9afd0a670 Send complete metadata update to joining players
By: md_5 <git@md-5.net>
2018-01-08 19:48:32 +11:00
CraftBukkit/Spigot
c3ccbeb17d CauldronLevelChangeEvent does not use new level
By: md_5 <git@md-5.net>
2018-01-08 13:42:41 +11:00
CraftBukkit/Spigot
b4f6c0ea4a SPIGOT-3735: Missing call to BlockFadeEvent
By: md_5 <git@md-5.net>
2018-01-04 08:57:01 +11:00
CraftBukkit/Spigot
3d805cd0cb SPIGOT-3729: Add AreaEffectClouds to tracker
By: md_5 <git@md-5.net>
2018-01-02 09:35:58 +11:00
CraftBukkit/Spigot
9a972c6f30 SPIGOT-355: API for Villager careers
By: Senmori <thesenmori@gmail.com>
2017-12-31 21:21:03 +11:00
CraftBukkit/Spigot
8560cbd06a SPIGOT-3717: Fix some RCON commands
By: md_5 <git@md-5.net>
2017-12-26 07:28:56 +11:00
CraftBukkit/Spigot
b83b867dbb SPIGOT-3686: Move entity event call earlier in method
By: md_5 <git@md-5.net>
2017-12-09 17:32:19 +11:00
CraftBukkit/Spigot
41e68bf772 Fix missing event call for BlockRedstoneLamp
By: md_5 <git@md-5.net>
2017-12-07 10:59:30 +11:00
CraftBukkit/Spigot
939f54a01e SPIGOT-3674: Take into account max stack size for PlayerDropItemEvent
By: md_5 <git@md-5.net>
2017-12-03 08:55:19 +11:00
CraftBukkit/Spigot
48f3ad297b SPIGOT-3668: Missing EntityToggleGlideEvent in creative mode
By: md_5 <git@md-5.net>
2017-11-28 09:33:40 +11:00
CraftBukkit/Spigot
1256b90fd8 SPIGOT-1505: PlayerItemMendEvent
By: Senmori <thesenmori@gmail.com>
2017-11-21 10:17:31 +11:00
CraftBukkit/Spigot
be94470a9f Fix mismatched setArrowCount method
By: md_5 <git@md-5.net>
2017-11-17 11:03:30 +11:00
CraftBukkit/Spigot
c0ef3e197d Fix dispensing bone meal not having the correct data value
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-02-06 21:59:20 +00:00
CraftBukkit/Spigot
4a0e197bb8 Implement max fuse tick & explosion radius methods to Creeper
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-11-07 07:38:58 -05:00
CraftBukkit/Spigot
3a788673df SPIGOT-3638: Don't process async chat on shutting down server
By: md_5 <git@md-5.net>
2017-11-08 10:36:11 +11:00
CraftBukkit/Spigot
f7d75ce15b SPIGOT-3637: Adjust yaw yet again
By: md_5 <git@md-5.net>
2017-11-07 17:21:38 +11:00
CraftBukkit/Spigot
62c185e909 Fix bad diff
By: md_5 <git@md-5.net>
2017-10-13 21:47:55 +11:00
CraftBukkit/Spigot
30cdbb75b6 SPIGOT-3607: Bad yaw from armorstands treated as living
By: md_5 <git@md-5.net>
2017-10-13 21:36:32 +11:00
CraftBukkit/Spigot
01186b718b SPIGOT-3603: Fix client timing out in scenarios where it sends no packets.
By: md_5 <git@md-5.net>
2017-10-09 18:23:58 +11:00
CraftBukkit/Spigot
dd5c01cf48 SPIGOT-3598: Persist all beacon effects
Regardless of if they are possible in Vanilla by default.

By: blablubbabc <lukas@wirsindwir.de>
2017-10-07 00:27:39 +02:00
CraftBukkit/Spigot
ec331ba7fd Temporarily shift L7 timeout value to L4 value of 30s.
By: md_5 <git@md-5.net>
2017-10-06 20:49:22 +11:00
CraftBukkit/Spigot
70fc6df507 Supress harmless teleport error
By: md_5 <git@md-5.net>
2017-10-01 17:29:03 +11:00
CraftBukkit/Spigot
fee051b1a3 SPIGOT-3571: Packet handling must be synchronous
By: md_5 <git@md-5.net>
2017-09-19 08:00:56 +10:00
CraftBukkit/Spigot
5e3ba4ff73 Update to Minecraft 1.12.2
By: md_5 <git@md-5.net>
2017-09-18 20:00:00 +10:00
CraftBukkit/Spigot
3c5675eaa3 SPIGOT-3513: Correctly set size for freshly spawned Minecarts
By: md_5 <git@md-5.net>
2017-08-16 20:47:23 +10:00
CraftBukkit/Spigot
0d13d3970d Fix a few chunk saving race conditions
* ChunkRegionLoader.c() picks an entry in the save queue, removes that entry from the save queue and then actually writes the entry to the region file. So, between the last two steps, the entry is neither in the save queue nor is it in the region file; if somebody loads the chunk again (with ChunkRegionLoader.loadChunk()) in that gap, they'll get old data. I've delayed the removal until the saving is done.
* ChunkRegionLoader.c() also records the coords of the chunks it's currently saving in this.c. ChunkRegionLoader.a(ChunkCoordIntPair, NBTTagCompound), which adds an entry to the save queue, stops the addition of an entry if its coords are in this.c. Now, I'm guessing that Mojang's intended purpose for this mechanism was to prevent multiple parallel writes for the same chunk. The "stops the addition" bit above should then be something like "block until it's no longer in c"; in fact, the vanilla implementation is "discard the new state of the chunk". I've taken the easy route to solving this, by just making ChunkRegionLoader.c() synchronized (since, in normal use, only the chunk saving thread is in here).

By: Geoff Crossland <gcrossland+bukkit@gmail.com>
2017-08-11 17:27:33 +10:00
CraftBukkit/Spigot
fa26f3f501 SPIGOT-3497: Cancelled EntityPortalEvent leads to incorrect behaviour
By: md_5 <git@md-5.net>
2017-08-08 20:35:29 +10:00
CraftBukkit/Spigot
fafbd8532d SPIGOT-3496, MC-92282: Set mob type of mob-spawner reverts after single spawn wave.
Fixes CreatureSpawner.setSpawnedType and a vanilla issue related to
setting the mob type of a mob-spawner via spawn_egg.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-08 04:46:59 +02:00
CraftBukkit/Spigot
89b3d6e8a6 SPIGOT-3491: Add option to bypass permissions in advancements
By: md_5 <git@md-5.net>
2017-08-06 09:07:24 +10:00
CraftBukkit/Spigot
8844b9ade9 Improvements to BlockStates
* Actually capture all the data of TileEntities. This is done by creating a copy of the TileEntity. The methods of BlockState which currently directly access the TileEntity reference will modify the data of that TileEntity-snapshot instead.
* With the call to BlockState.update, the captured TileEntity data gets applied to the current TileEntity in the world.
* Methods which trigger block specific actions will use the current TileEntity from the world.
* CraftBlockState does not hand out the wrapped or the snapshot TileEntity directly. Instead, it provides an applyTo method to copy the data to a given TileEntity and a method to directly get a copy of the TileEntity NBT data represented by the BlockState. CraftMetaBlockState was updated to make use of that.
* Added #getSnapshotInventory() to bukkit which allows modifiying the captured inventory snapshots of containers.
* Tried to clarify which methods only work if the BlockState is placed, which methods require the block in the world to still be of the same type (methods which trigger actions), and that .getInventory() directly modifies the inventory of the block in the world if the BlockState is placed and becomes invalid if the block type is changed.

Backwards compatibility

* If the BlockState acts as InventoryHolder, getInventory() will still return the inventory directly backed by the TileEntity in the world (like before), and not the snapshot inventory. This compromise should reduce the potential of these changes to break existing plugins, or craftbukkit's own use of BlockState.
* The snapshot's inventory can be accessed by a new method getSnapshotInventory()
* In case the BlockState is not placed (if it was retrieved from the MetaBlockState of an item), the getInventory() method will however return the snapshot inventory. So that when the BlockState gets applied back to the item, the inventory changes are properly included.
* With the changes to CraftMetaBlockState it is no longer required to call the update method before passing a modified BlockState to the CraftMetaBlockState. For backwards compatibility the update method will simply return true for a non-placed BlockState, without actually doing anything.

Impact on plugins
* Restoring blocks now actually works as expected, properly restoring the TileEntity data, reglardless if the block changed its type in the meantime.
* Plugins are now consistently required to call the update method in order to apply changes to blocks. Though, regarding the Javadoc they should have been required to do so anyways.
* New feature: Plugins can take and modify inventory snapshots.
* Breaking change: If a plugin gets the BlockState of a block in the world, modifies the inventory returned by .getInventory(), and then tries to use the same BlockState to apply the TileEntity data to an ItemStack block meta, the ItemStack will use the snapshot inventory, disregarding the changes made to the inventory returned by .getInventory(). This is the compromise of .getInventory() returning the inventory directly backed by the TileEntity in the world.

Other fixes related to BlockState:
* TileEntityContainer#getLocation() will run into a NPE if the TileEntity is non-placed (ex. when getting the BlockState from a CraftMetaBlockState).
* Beacon.getEntitiesInRange() would previously throw a NPE if called for a non-placed BlockState. It was changed to now require to be placed and use the current TileEntity in the world. If the TileEntity in the world is no longer a beacon, it will return an empty list.
* EndGateway now supports setting and getting the exit location even for non-placed EndGateways (inside BlockStateMeta) by using / returning a location with world being null.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-05 14:37:19 +10:00
CraftBukkit/Spigot
0f46337664 SPIGOT-3492: Ensure player functionality uses their specific scoreboard
By: md_5 <git@md-5.net>
2017-08-05 09:15:52 +10:00
CraftBukkit/Spigot
0cda4f9617 Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
2017-08-03 23:00:00 +10:00
CraftBukkit/Spigot
19850b49b5 SPIGOT-3486: Missing check in redstone placement
By: md_5 <git@md-5.net>
2017-08-03 08:31:29 +10:00
CraftBukkit/Spigot
6f93c6c962 SPIGOT-3487: Llama doesn't drop chest
By: md_5 <git@md-5.net>
2017-08-03 08:21:05 +10:00
CraftBukkit/Spigot
ead7545014 SPIGOT-3482: ProjectileHitEvent for shulker bullet and llama spit
By: md_5 <git@md-5.net>
2017-08-02 18:05:28 +10:00
CraftBukkit/Spigot
f313e2f969 SPIGOT-3456: Expand calling of ServerCommandEvent
Existing usage preserved by checking sender.

By: md_5 <git@md-5.net>
2017-07-28 18:10:38 +10:00
CraftBukkit/Spigot
75cdf75d3d SPIGOT-3403: Add an EntityPickupItemEvent
By: md_5 <git@md-5.net>
2017-07-28 17:47:59 +10:00
CraftBukkit/Spigot
4ed8997ca1 SPIGOT-3463: Spurious item drops from event
By: md_5 <git@md-5.net>
2017-07-28 17:23:39 +10:00
CraftBukkit/Spigot
aba05b661c SPIGOT-3461: Standardise plugin load timing
By: md_5 <git@md-5.net>
2017-07-26 13:20:29 +10:00
CraftBukkit/Spigot
f4e233550c SPIGOT-3432: Add playNote support for new sounds
By: md_5 <git@md-5.net>
2017-07-24 17:41:08 +10:00
CraftBukkit/Spigot
cdcb11b8ae SPIGOT-3440: Non player entities should not make new portals
By: md_5 <git@md-5.net>
2017-07-22 16:40:10 +10:00
CraftBukkit/Spigot
8bafc76ff2 SPIGOT-3433: Improve AreaEffectCloud#getSource
By: md_5 <git@md-5.net>
2017-07-22 09:51:22 +10:00
CraftBukkit/Spigot
e2d75dccb4 Fix memory leak in PlayerList
By: md_5 <git@md-5.net>
2017-07-17 09:55:47 +10:00
CraftBukkit/Spigot
7145fd4941 SPIGOT-3417: Event for shearing snowman
By: md_5 <git@md-5.net>
2017-07-15 09:53:22 +10:00
CraftBukkit/Spigot
e626522be7 SPIGOT-3407: Set damager for evoker fangs
By: md_5 <git@md-5.net>
2017-07-08 22:40:54 +10:00
CraftBukkit/Spigot
a7130c67fd SPIGOT-3382: Ensure players can pickup stuff
By: md_5 <git@md-5.net>
2017-06-26 11:21:38 +10:00
CraftBukkit/Spigot
13bcc894ec SPIGOT-3377: Fix subspace bubble advancement
By: md_5 <git@md-5.net>
2017-06-26 10:16:54 +10:00
CraftBukkit/Spigot
71404da149 SPIGOT-3379: Generalise canPickupItems to other entities.
By: md_5 <git@md-5.net>
2017-06-26 08:34:52 +10:00
CraftBukkit/Spigot
d62c91e3a6 SPIGOT-3376: Fix nested functions
By: md_5 <git@md-5.net>
2017-06-26 08:27:25 +10:00
CraftBukkit/Spigot
4d6887228e SPIGOT-3373: Fix /execute in gameloop functions
By: md_5 <git@md-5.net>
2017-06-25 09:46:19 +10:00
CraftBukkit/Spigot
622d0477c5 SPIGOT-3324: Improve tameable damage handling
By: md_5 <git@md-5.net>
2017-06-24 10:01:46 +10:00