13
0
geforkt von Mirrors/Paper

2235 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
aef11bebb7 SPIGOT-5886: Missing BlockData
By: md_5 <git@md-5.net>
2020-06-30 10:01:45 +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
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
f7e7987573 #696: Respect the NotNull annotation of getChargedProjectiles in CraftMetaCrossbow
By: Martoph <sager1018@gmail.com>
2020-06-29 09:09:52 +10:00
CraftBukkit/Spigot
4a0a1f1ead SPIGOT-5868: Blocks do not tick in custom nether / end
By: md_5 <git@md-5.net>
2020-06-28 09:03:51 +10:00
CraftBukkit/Spigot
4d97997a65 SPIGOT-5863: Don't check colour in scoreboard length validation
By: md_5 <git@md-5.net>
2020-06-28 08:58:26 +10:00
CraftBukkit/Spigot
87462b8620 SPIGOT-5856: Soul Campfire BlockState cannot be cast to Campfire
By: md_5 <git@md-5.net>
2020-06-27 17:18:34 +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
24a247fce5 SPIGOT-5845: ChatColor.RESET does not work in ItemMeta to reset italics
By: md_5 <git@md-5.net>
2020-06-27 10:37:33 +10:00
CraftBukkit/Spigot
ffa9c1bc00 SPIGOT-5828: Unlock worlds on unload
By: md_5 <git@md-5.net>
2020-06-27 09:15:14 +10:00
CraftBukkit/Spigot
d709e3ffee SPIGOT-5841: New map colours broken
By: md_5 <git@md-5.net>
2020-06-27 09:05:09 +10:00
CraftBukkit/Spigot
fcfcbd3975 SPIGOT-5836: PotionEffect HEALTH_BOOST never expires
By: md_5 <git@md-5.net>
2020-06-26 19:13:33 +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
b60f49f0ea SPIGOT-5833: Player#setWalkSpeed not working
By: md_5 <git@md-5.net>
2020-06-26 17:56:49 +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
a74fb02e61 #685: Implement support for PersistentDataContainer arrays
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-26 10:49:28 +10:00
CraftBukkit/Spigot
6c951c6abb #671: Implement PersistentDataContainer#getKeys()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-26 10:49:28 +10:00
CraftBukkit/Spigot
5191bece93 SPIGOT-5829: RGB hex colours not supported in several places
By: md_5 <git@md-5.net>
2020-06-26 09:40:21 +10:00
CraftBukkit/Spigot
36434feb10 SPIGOT-5826: Don't store chunk in block states
By: md_5 <git@md-5.net>
2020-06-26 09:34:25 +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
53cfc6428c Shorten build expiry to 1 day
By: md_5 <git@md-5.net>
2020-06-26 07:37:19 +10:00
CraftBukkit/Spigot
4478e7e0d8 SPIGOT-5809: block.getState() wall signs too
By: md_5 <git@md-5.net>
2020-06-25 20:08:32 +10:00
CraftBukkit/Spigot
3933b98a60 Fix 1.16 binary mappings not applying to modern plugins
By: md_5 <git@md-5.net>
2020-06-25 20:03:30 +10:00
CraftBukkit/Spigot
27d67a7a4e SPIGOT-5803: Add Piglin/Zoglin Baby API
By: md_5 <git@md-5.net>
2020-06-25 19:58:27 +10:00
CraftBukkit/Spigot
a955c5cbab SPIGOT-5809: block.getState() instanceof Sign for crimson_sign missed
By: md_5 <git@md-5.net>
2020-06-25 19:42:38 +10:00
CraftBukkit/Spigot
189c2a0e03 SPIGOT-5809: block.getState() instanceof Sign for warped_sign missed
By: md_5 <git@md-5.net>
2020-06-25 19:22:27 +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
6da7d19c96 SPIGOT-5806: Block#getDrops(ItemStack tool) does not work as it should
By: md_5 <git@md-5.net>
2020-06-25 17:04:07 +10:00
CraftBukkit/Spigot
e388fab4fe SPIGOT-5805: NPE when getting an Attribute from a Player
By: md_5 <git@md-5.net>
2020-06-25 13:19:24 +10:00
CraftBukkit/Spigot
ae29605e26 SPIGOT-5804: Cannot launch Entity Firework
By: md_5 <git@md-5.net>
2020-06-25 12:57:58 +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
bafa4625d1 SPIGOT-2106, SPIGOT-3942: Improve collidable API
By: Phoenix616 <mail@moep.tv>
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
3862d2811e SPIGOT-5782: Set Arrow Launched From Crossbow
By: md_5 <git@md-5.net>
2020-06-24 10:05:39 +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
33a09c7f27 Remove outdated build delay.
By: md_5 <git@md-5.net>
2020-06-20 12:50:13 +10:00
CraftBukkit/Spigot
5a47beb9cd SPIGOT-2623: Add EntityEquipment methods to get/set ItemStacks by slot.
By: blablubbabc <lukas@wirsindwir.de>
2020-06-13 20:56:32 +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
3be59d8d05 SPIGOT-5751: Made breakNaturally and getDrops returns the correct item if no argument is given
By: Lars Dormans <lars.dormans@live.nl>
2020-06-03 19:28:13 +10:00
CraftBukkit/Spigot
a1cc6a4683 SPIGOT-4441: Fix serializing Components to and from Legacy
While 9862a0135d0 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 9862a0135d0 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
9862a0135d SPIGOT-5749: ItemMeta serializing to YAML not saving black colour code
By: md_5 <git@md-5.net>
2020-05-26 19:39:03 +10:00
CraftBukkit/Spigot
edf9390114 SPIGOT-5748: Add instant effect potion break to the Effect enum
Conversion from Color to integer for the data of the new enum entry

By: WinX64 <winx64b@hotmail.com>
2020-05-26 19:34:39 +10:00
CraftBukkit/Spigot
809449f545 SPIGOT-5716: Clarify documentation of MultipleFacing
By: md_5 <git@md-5.net>
2020-05-09 16:12:18 +10:00
CraftBukkit/Spigot
a00b0adb43 SPIGOT-5718: Block.BreakBlockNaturally does not reflect tool used
By: md_5 <git@md-5.net>
2020-05-09 16:05:17 +10:00
CraftBukkit/Spigot
53746005d5 #664: Add methods to get/set ItemStacks in EquipmentSlots
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-05-05 19:10:03 +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
b29a5757f9 SPIGOT-5707: PersistentDataHolder not Persistent on API dropped Item
By: md_5 <git@md-5.net>
2020-04-29 17:21:06 +10:00