13
0
geforkt von Mirrors/Paper
Commit graph

1185 Commits

Autor SHA1 Nachricht Datum
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