Archiviert
13
0
Commit graph

3318 Commits

Autor SHA1 Nachricht Datum
Jake Potrebic
e90e7829ee
remove unneeded patch (#5641) 2021-05-15 23:42:36 +00:00
Riley Park
d875bacc28
Activate warning by default when people are doing silly things (#5642) 2021-05-15 15:56:38 -07:00
Jake Potrebic
cb896d4710
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5643)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
146a7e4b SPIGOT-5345: Add automatic library support

CraftBukkit Changes:
b1064c69 Remove sisu annotation processor from jar
32e40866 SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
d189f78b # 827: Trigger vanilla dimension advancements in non-main worlds
5bbb4a65 Add plumbing for automatic library support

Spigot Changes:
9fb885e8 Rebuild patches
2021-05-15 22:52:07 +00:00
Shane Freeder
ecbf5a38e5
Revert "Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)"
This reverts commit 20fc4ab700.
2021-05-15 22:10:57 +01:00
Jake Potrebic
20fc4ab700
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5636)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
146a7e4b SPIGOT-5345: Add automatic library support

CraftBukkit Changes:
b1064c69 Remove sisu annotation processor from jar
32e40866 SPIGOT-6189: Persistent data disappears when calling setFacingDirection on an item frame
d189f78b #827: Trigger vanilla dimension advancements in non-main worlds
5bbb4a65 Add plumbing for automatic library support

Spigot Changes:
9fb885e8 Rebuild patches
2021-05-15 21:36:15 +01:00
Sceri
20d8812ea5
Fix CraftPotionBrewer cache (#5632) 2021-05-14 22:35:12 +02:00
MeFisto94
cd6ae8816e
Add a "Should Burn in Sunlight" API for Phantoms and Skeletons (#5608) 2021-05-14 13:09:30 +00:00
Jake Potrebic
25edfe58b2
Remove unneeded component conversion for kick msg (#5626) 2021-05-14 12:52:03 +00:00
Jake Potrebic
cec386f66c
Call PortalCreateEvent when players enter the end (#5618) 2021-05-14 12:43:41 +00:00
Jason
453c7f05c7
Add ItemStack#displayName to get the formatted display name of an ItemStack (#5628)
The display name includes formatting such as item hover event, display name (in italics if renamed in anvil), and color based on rarity.

This is what vanilla uses for give command feedback, and when an item is shown in a death message.
2021-05-12 23:16:33 -07:00
Nassim
4efe8b498b
Update Java version warning (#5621) 2021-05-12 15:58:21 +02:00
Jake Potrebic
e0a021ccc6
Add ItemStack#getTranslationKey() (#5616) 2021-05-12 13:12:28 +02:00
Owen1212055
53d71b7179
Add setPotionUseTimeLeft to Witch (#5597) 2021-05-12 09:45:06 +00:00
Jake Potrebic
239935d183
Add Inventory#close (#5610) 2021-05-12 11:39:22 +02:00
Jake Potrebic
29bf6cd416 Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
51e2981b #831: Reload unloaded main worlds correctly
2021-05-12 11:26:31 +02:00
Connor Linfoot
ad45f316cd
Add raw address to AsyncPlayerPreLoginEvent (#5614) 2021-05-12 10:57:54 +02:00
Jason
750049fa2b
Fix incorrect colors in some log messages (#5609)
CraftChatMessage.fromComponent fails to take into account the style of TranslatableComponent args, causing any styling on args to be completely ignored.

Fixing this is relatively simple, however would cause behavior to deviate from upstream. This commit will fix the coloring in messages logged through MinecraftServer.LOGGER by simply using Adventure's legacy text serializer, which properly serializes TranslatableComponents and their arguments. Note that this doesn't do anything about the underlying issue of CraftChatMessage.fromComponent improperly serializing TranslatableComponents.
2021-05-10 20:47:51 -07:00
Alvinn8
c5fa3f0d4c
Add Adventure message to PlayerAdvancementDoneEvent (#5030)
* Add Adventure message to PlayerAdvancementDoneEvent

* Add obfuscation helpers

* Renumber patches
2021-05-10 17:56:36 -07:00
Jake Potrebic
69c09cdb00
Updated Upstream (CraftBukkit) (#5607)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
e1a6197e SPIGOT-5565: Animals still spawn from chunk gen when spawn-animals=false
2021-05-11 00:22:11 +01:00
Owen1212055
b3cc88799f
Add the ability to clear entities from block storage (#5598) 2021-05-10 07:33:39 +00:00
Jake Potrebic
f50171f3bb
Add missing rarity method on ItemStack (#5594) 2021-05-10 07:25:35 +00:00
Jake Potrebic
aeb6e7dd25
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5601) 2021-05-09 21:50:09 +01:00
Gergely Sarkozi
b0a4f353b9
fix cancelling block falling causing client desync (fixes #5386) (#5419) 2021-05-09 21:40:50 +01:00
Jason
29785297b5
Allow for Component suggestion tooltips in AsyncTabCompleteEvent (#5504) 2021-05-07 23:12:03 +00:00
jmp
0aea6c2ff3 Use JsonSerializationContext#serialize instead of recursion for AdventureComponents - fixes #5580 and #5371 2021-05-07 00:49:41 -07:00
Jason
8fcef3c1f6
Return after sending empty commands (#5586) 2021-05-07 00:25:29 +01:00
Shane Freeder
2a67a9e512
Fix missing CraftMetaBook#toBuilder override 2021-05-06 17:37:09 +01:00
HexedHero
48aa061063
Add more Wandering Trader API (#5020) 2021-05-06 16:26:50 +02:00
Shane Freeder
453e983e4b
fix isProxyOnlineMode coverage, don't lookup UUIDs in offline mode (Fixes #2011) 2021-05-05 03:54:42 +01:00
Shane Freeder
81cc4f9280
Send empty commands if tab completion is disabled (Closes #5519)
Because this is a trivial fix to an annoying issue people are annoying
about, but, really, stop punishing your players for your own insecurities.
2021-05-05 03:22:32 +01:00
KennyTV
9ed3e470d9 Keep moveToWorld with old method signature 2021-05-04 12:34:12 +02:00
Aikar
99a66a5838
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
7ea8b96b4 #826: Make dispenser trigger fertilize event
2021-05-03 04:42:29 -04:00
Aikar
976c6d425b
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-05-02 15:37:24 -04:00
HexedHero
51deec726e
Drop unneeded portal patch (#5566) 2021-05-02 19:33:17 +00:00
Aikar
07a18c4579
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
95544a2da SPIGOT-6350: Fix wrong portal block place order
2021-05-02 05:07:27 -04:00
Aikar
840e72091f
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-04-30 10:17:21 -04:00
Spyros (Spyridon) Pagkalos
a33232d4a6
Add beacon activation and deactivation events (#5121) 2021-04-30 10:15:00 -04:00
Nassim
bc7ea673a1
Add internal channel initialization listeners (#5557) 2021-04-30 09:47:45 -04:00
Jake Potrebic
f56989c97d
Add RespawnFlags to PlayerRespawnEvent (#5533) 2021-04-30 09:47:10 +02:00
Jake Potrebic
91ef740292
Updated Upstream (Spigot) (#5550)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Spigot Changes:
4225eac0 SPIGOT-6423: Improve IP forwarding
2021-04-28 00:38:35 +01:00
Jake Potrebic
fdf2a59d59
Updated Upstream (Bukkit/CraftBukkit) (#5549)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
80ece5de Remove old draft API tags
8523fa23 #604: Add Contract annotation to ConfigurationSection
dd8edaa7 #603: Specify what velocity changes in javadocs

CraftBukkit Changes:
0d86921e SPIGOT-6435: send correcting "PacketPlayOutBlockChange" packet on interact for bisected items
2021-04-27 16:51:42 +01:00
HexedHero
809466f2e7
Fix anchor respawn acting as a bed respawn when using the end portal (#5540) 2021-04-25 10:45:34 +02:00
Aikar
d219fd642f
[Auto] Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
6bff9d09 #508: Add PlayerBucketFishEvent

CraftBukkit Changes:
a8d7c94a5 SPIGOT-6434: Smithing Table and Anvil inventories .getType() returns CRAFTING
c5494d195 #683: Add PlayerBucketFishEvent
2021-04-24 18:47:20 -04:00
Jason
db464b099e
Implement methods to convert between Component and Brigadier's Message (#5542) 2021-04-24 18:16:41 -04:00
Jake Potrebic
4047cffca8
Add PlayerBedFailEnterEvent (#4935) 2021-04-24 11:38:08 +00:00
Jake Potrebic
5ed7715916
[CI-SKIP] Remove bad null annotation (#5538) 2021-04-23 21:08:56 +00:00
Jake Potrebic
454a4c78ee
More World API (#3850) 2021-04-23 22:57:13 +02:00
Jake Potrebic
869e023048
Add PlayerDeepSleepEvent (#5525) 2021-04-23 19:27:39 +00:00
Jake Potrebic
fb56fc35ed fix non-dummy objectives not updating 2021-04-23 21:12:36 +02:00
Aikar
dc859a61f0
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-04-23 10:32:13 -04:00
Owen1212055
7d1689f1aa
Add missing checkReachable check for shulker boxes (#5453) 2021-04-23 16:25:57 +02:00
Jake Potrebic
db801cbf3c
Fix PlayerItemHeldEvent firing twice (#5534)
Co-authored by: chickeneer <emcchickeneer@gmail.com>
2021-04-23 15:57:15 +02:00
Gergely Sarkozi
14de2b7959
fix PigZombieAngerEvent cancellation (fixes #5319) (v2) (#5329) 2021-04-23 13:06:36 +00:00
Jake Potrebic
86d684ad19
Add get-set drop chance to EntityEquipment (#5528) 2021-04-23 10:11:28 +00:00
Jake Potrebic
33fb8cf63c
Add consumeFuel to FurnaceBurnEvent (#5532) 2021-04-23 12:04:19 +02:00
Alphaesia
9957f46302
Fix duplicating /give items on item drop cancel (#5536) 2021-04-23 11:36:34 +02:00
Prof-Bloodstone
d94882043d
Fix legacyComposer not using AsyncChatEvent messages (#5509) 2021-04-22 20:28:22 +02:00
sulu5890
053bd82cc2
Don't print spawn load time when not loading spawn (#5467) 2021-04-22 16:54:11 +00:00
Jake Potrebic
a6d78caae6
Add isDeeplySleeping to HumanEntity (#5470) 2021-04-22 16:32:40 +00:00
Jason
711b7a80bf
Expose more Adventure serializers through PaperComponents (#5443) 2021-04-22 14:48:49 +02:00
Owen1212055
3f63bde0cd
Set Area Effect Cloud Rotation (#5462) 2021-04-22 11:43:58 +00:00
Owen1212055
3523f0fda9
Remove useless check on player interact cancellation (#5448)
This removes the BlockFlowerPot check that most likely was used when it was a tile entity.
2021-04-22 11:23:57 +02:00
Riley Park
6574d1aa82
fix #5526 - use correct type when sending message to clients 2021-04-21 18:31:45 -07:00
Shane Freeder
dbfa833ec5
don't throw when loading TE with invalid keys 2021-04-21 20:05:58 +01:00
Spottedleaf
a9525a6f71
Do not schedule poi task for each block write on chunk gen
Most of the time optional == optional1, so we shouldn't
schedule a task for each write.
2021-04-21 20:04:42 +01:00
Aikar
fbae9dbe07
[Auto] Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
2b8fb83f #601: Add Block#isPreferredTool

CraftBukkit Changes:
9db9aeece #823: Add Block#isPreferredTool
2021-04-21 03:42:33 -04:00
Shane Freeder
5e4b88e956
Fix dangling sout 2021-04-18 22:12:09 +01:00
Shane Freeder
23afda1795
basic hostname validation 2021-04-18 21:47:04 +01:00
MiniDigger | Martin
0fb8bdf0e0
Updated Upstream (Bukkit/CraftBukkit) (#5508)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
14883d6b SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API

CraftBukkit Changes:
115244c7 SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
2021-04-18 09:02:48 +00:00
Aikar
88ab784da0
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
28d72c4bd SPIGOT-6428: World.generateTree does not generate bee nests
2021-04-18 03:52:36 -04:00
chickeneer
ca7111d5fe
Fix PlayerItemConsumeEvent cancelling (fixes #4682) (#5383) 2021-04-17 01:54:49 -05:00
Jason
06fb560dc1
Add support for tab completing and highlighting console input from the Brigadier command tree (#5437) 2021-04-17 01:37:51 -05:00
MiniDigger | Martin
0a9b89c7a8
Fix occasional light gen issues for neighbor blocks (#5500)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-04-16 15:55:10 +00:00
Aikar
a08be1ec7c
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
9294ebbf0 SPIGOT-5877: Add support for Vanilla custom dimensions
2021-04-15 20:47:34 -04:00
froobynooby
606cdac609
Update the view distance before scheduling chunk loads (#5269) 2021-04-15 09:51:27 +01:00
Nassim
8756d232c6
Expose server protocol version (#5416) 2021-04-12 17:45:58 +00:00
Shane Freeder
4492bc4cc1
remove l4j class no longer in existence from preload list 2021-04-12 05:16:20 +01:00
Josh Roy
be13705177
Updated Upstream (CraftBukkit) (#5484)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
6b8cd9a7 SPIGOT-6207: forcibly drop the items of a converted zombie villager
2021-04-12 02:03:08 +01:00
Simon Gardling
d560151ecd
Bump mysql-connector-java to 8.0.23 (Fixes #5473) (#5474) 2021-04-11 17:35:46 +00:00
Octavia Togami
61f400f112
Update log4j to 2.11.2 for JDK 9+ compat (#5400) 2021-04-11 18:07:39 +01:00
Jake Potrebic
a981965852 Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
b302317a SPIGOT-5877: Add scaffolding for custom dimensions and biomes
ccccb625 SPIGOT-6417: Add Creeper fuse ticks API

CraftBukkit Changes:
0e26ddb6 SPIGOT-5877: Add scaffolding for custom dimensions and biomes
170d6feb SPIGOT-6417: Add Creeper fuse ticks API
2021-04-11 11:16:40 +02:00
Aikar
3db3aaf393
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
c85efa876 SPIGOT-6414: Use ASM9 API to add support for sealed classes
2021-04-07 04:57:26 -04:00
Aikar
c953e51dd7
[Auto] Updated Upstream (CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
221aed6cf SPIGOT-6413: Server Corruption Changing Blocks in Piston Events
721c4966b SPIGOT-6411: The PlayerEditBookEvent is not called when the player edits a book in the off-hand.
be0e94581 Add mc-dev imports

Spigot Changes:
a25e8ed2 Remove mc-dev imports
2021-04-07 01:17:32 -04:00
Jason
dc529c7a93
Fix PlayerEditBookEvent (#5463) 2021-04-06 01:46:31 +00:00
Professor Bloodstone
a111b13655 Send post ChatEvent messages as MessageType.CHAT
Fixes narrator issue #5450
2021-04-04 22:51:24 +02:00
Aikar
e8889e96a5
[Auto] Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
b530534f0 Remove some outdated PAIL comments
2021-04-04 03:22:27 -04:00
Spottedleaf
211f8e041c
Prevent light queue overfill when no players are online 2021-04-01 16:33:36 +01:00
Aikar
4b78c0b805
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-03-31 02:22:25 -04:00
Gergely Sarkozi
2d9ff13eb7
forced whitelist: use configuable kick message (fixes #5417) (#5418) 2021-03-31 06:15:12 +00:00
Riley Park
000cec2ab2
bug #5432 - post modern event even if legacy event is cancelled
fixes #5432
2021-03-29 19:20:24 -07:00
jmp
6c83bc6e58 Remove from Map by key 2021-03-29 11:56:36 +02:00
Spottedleaf
857852c28a Make sure to remove correct TE during TE tick
See Hydra, March 29th 2021.
2021-03-29 09:14:13 +02:00
Aikar
f7b4abb259
[Auto] Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
15ba9ae7 SPIGOT-6357: Add World#getMinHeight

CraftBukkit Changes:
e9ad7cba9 SPIGOT-6357: Add World#getMinHeight
2021-03-28 04:42:30 -04:00
Leijurv
8b47131da7
Optimize short circuit evaluation of sign check (#5348) 2021-03-26 04:52:46 +00:00
Dmitry Sidorov
1a2fd12a5f
Drop carried item when player has disconnected (#5036) (#5166) 2021-03-26 04:21:24 +00:00
Jason
68af93524c
Use PaperAdventure.PLAIN instead of PlainComponentSerializer.plain() for AdventureComponent#getString (#5414) 2021-03-25 17:01:59 -07:00
Shane Freeder
b90b4f8ad2
Properly apply Sign#isEditable to TEs when calling BlockState#update 2021-03-23 06:46:59 +00:00
Riley Park
de94f64850
Refactor chat message composition (#5396)
fixes #5395
2021-03-21 13:47:13 -07:00
Shane Freeder
ae15e85da4
Updated Upstream (CraftBukkit)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

CraftBukkit Changes:
7eb35643 SPIGOT-6398: Fix crash when bonemealing bamboo and the BlockSpreadEvent is cancelled
2021-03-19 23:27:53 +00:00
Jason
26fe0ac5a8
Only set despawnTimer for Wandering Traders spawned by MobSpawnerTrader (#5391)
Upstream recently broke this when they exposed despawnTimer to API.
2021-03-19 23:19:28 +00:00