3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 15:20:11 +01:00
Commit graph

3465 Commits

Autor SHA1 Nachricht Datum
md_5
b567cb433d
SPIGOT-5910: loadAdvancement does not work 2020-07-01 09:33:50 +10:00
Parker Hawke
d47c47ee59
SPIGOT-5889: Villager using composter should call EntityChangeBlockEvent 2020-06-30 12:18:39 +10:00
md_5
2fe6b4a320
SPIGOT-5899: Hoglins API similar to Piglins 2020-06-30 12:03:24 +10:00
md_5
92cbf65649
SPIGOT-5884: Tab completions lost on reloadData / minecraft:reload 2020-06-30 10:51:26 +10:00
md_5
89c0a5c34d
SPIGOT-5886: Missing BlockData 2020-06-30 10:01:45 +10:00
Parker Hawke
32acc26217
#686: Expand Strider and Steerable entity API 2020-06-30 09:54:28 +10:00
ceezuns
44109b726b
SPIGOT-5803: Implement the missing methods for the Piglin API. 2020-06-29 09:58:04 +10:00
Martoph
cf01fd9d7d
#696: Respect the NotNull annotation of getChargedProjectiles in CraftMetaCrossbow 2020-06-29 09:09:52 +10:00
md_5
7884e07936
SPIGOT-5868: Blocks do not tick in custom nether / end 2020-06-28 09:03:51 +10:00
md_5
2a8482869d
SPIGOT-5863: Don't check colour in scoreboard length validation 2020-06-28 08:58:26 +10:00
md_5
983305bb4a
SPIGOT-5856: Soul Campfire BlockState cannot be cast to Campfire 2020-06-27 17:18:34 +10:00
Parker Hawke
d424351010
SPIGOT-5853: DragonBattle#getEndPortalLocation() throws NPE on new world
* Add method to generate the end portal
2020-06-27 11:09:01 +10:00
md_5
1601ec31e3
SPIGOT-5845: ChatColor.RESET does not work in ItemMeta to reset italics 2020-06-27 10:37:33 +10:00
md_5
71045d3ddb
SPIGOT-5828: Unlock worlds on unload 2020-06-27 09:15:14 +10:00
md_5
dbc347b93f
SPIGOT-5841: New map colours broken 2020-06-27 09:05:09 +10:00
md_5
4ff609e60c
SPIGOT-5836: PotionEffect HEALTH_BOOST never expires 2020-06-26 19:14:15 +10:00
md_5
c99846cc76
Add configuration options for water_ambient spawning 2020-06-26 18:39:42 +10:00
md_5
baadbf3f76
SPIGOT-5833: Player#setWalkSpeed not working 2020-06-26 17:56:49 +10:00
md_5
709b003fee
Re-add default bukkit datapack 2020-06-26 12:24:35 +10:00
DiamondDagger590
d1fb662ec5
SPIGOT-5735: Add EntityEnterLoveModeEvent 2020-06-26 11:12:25 +10:00
SydMontague
a1d23114fa
#687: Add visibility and fixed API for ItemFrames 2020-06-26 10:58:17 +10:00
Parker Hawke
c49b67ac91
#685: Implement support for PersistentDataContainer arrays 2020-06-26 10:49:28 +10:00
Parker Hawke
b900513035
#671: Implement PersistentDataContainer#getKeys() 2020-06-26 10:49:28 +10:00
md_5
174a2ee539
SPIGOT-5829: RGB hex colours not supported in several places 2020-06-26 09:40:21 +10:00
md_5
6b20d04c71
SPIGOT-5826: Don't store chunk in block states 2020-06-26 09:34:25 +10:00
Parker Hawke
6abb4398b9
SPIGOT-5830: Server crash when campfire lit via dispenser.
Also adds a missing call to BlockIgniteEvent for players igniting campfires with flint and steel.
2020-06-26 09:11:36 +10:00
md_5
614fbae9d5
Shorten build expiry to 1 day 2020-06-26 07:37:19 +10:00
md_5
3f0c333870
SPIGOT-5809: block.getState() wall signs too 2020-06-25 20:08:32 +10:00
md_5
68b98b3d24
Fix 1.16 binary mappings not applying to modern plugins 2020-06-25 20:03:30 +10:00
md_5
f7ff58c6c5
SPIGOT-5803: Add Piglin/Zoglin Baby API 2020-06-25 19:58:27 +10:00
md_5
b5db08bea5
SPIGOT-5809: block.getState() instanceof Sign for crimson_sign missed 2020-06-25 19:42:38 +10:00
md_5
9a3bd97f60
SPIGOT-5809: block.getState() instanceof Sign for warped_sign missed 2020-06-25 19:30:42 +10:00
md_5
8dc1da156f
Misc bugfixes to multiworld support 2020-06-25 17:58:10 +10:00
md_5
ca19c2f48e
SPIGOT-5806: Block#getDrops(ItemStack tool) does not work as it should 2020-06-25 17:04:07 +10:00
md_5
38de0b81e2
SPIGOT-5805: NPE when getting an Attribute from a Player 2020-06-25 13:19:51 +10:00
md_5
b136f8430d
SPIGOT-5804: Cannot launch Entity Firework 2020-06-25 12:57:58 +10:00
md_5
76d2add0bb
SPIGOT-5802: Add SmithingRecipe API 2020-06-25 12:41:55 +10:00
Phoenix616
2b00831c95
SPIGOT-2106, SPIGOT-3942: Improve collidable API 2020-06-25 10:00:00 +10:00
md_5
7ea3c040bc
Update to Minecraft 1.16.1 2020-06-25 10:00:00 +10:00
md_5
be6aaf046e SPIGOT-5782: Set Arrow Launched From Crossbow 2020-06-24 10:05:39 +10:00
md_5
833da9c47d SPIGOT-5799: InventoryCloseEvent fires after PlayerQuitEvent 2020-06-24 09:54:59 +10:00
md_5
8ea9b1386b Remove outdated build delay. 2020-06-20 12:50:13 +10:00
blablubbabc
c9d7c16b5f SPIGOT-2623: Add EntityEquipment methods to get/set ItemStacks by slot. 2020-06-13 20:56:32 +10:00
Spottedleaf
fad2494af1 #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.
2020-06-06 19:23:46 +10:00
Lars Dormans
8637ec008d SPIGOT-5751: Made breakNaturally and getDrops returns the correct item if no argument is given 2020-06-03 19:28:13 +10:00
Aikar
1b2830a3b3 SPIGOT-4441: Fix serializing Components to and from Legacy
While cfeef75cd9 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 cfeef75cd9 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.
2020-06-01 19:19:42 +10:00
md_5
cfeef75cd9 SPIGOT-5749: ItemMeta serializing to YAML not saving black colour code 2020-05-26 19:39:03 +10:00
WinX64
eb1b19d979 SPIGOT-5748: Add instant effect potion break to the Effect enum
Conversion from Color to integer for the data of the new enum entry
2020-05-26 19:34:39 +10:00
md_5
d07a78b1f3 SPIGOT-5716: Clarify documentation of MultipleFacing 2020-05-09 16:12:18 +10:00
md_5
46a1386066 SPIGOT-5718: Block.BreakBlockNaturally does not reflect tool used 2020-05-09 16:05:17 +10:00