Commit graph

6253 commits

Author SHA1 Message Date
Nassim Jahnke
cc4e273b07 Updated Upstream (CraftBukkit) (#6504)
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:
5be41fb8 SPIGOT-6720: Fix bed explosion checks
09b99daf SPIGOT-6722: Close entity manager when unloading world
3a9561bf SPIGOT-6686: Changes in MaximumRepairCost for Anvil Rename cause inconsistency
2021-08-27 11:51:18 +02:00
Jake Potrebic
7247c2b0ab Remove unneeded @ throws from team javadocs (#6491) 2021-08-26 12:56:31 -07:00
Jake Potrebic
17600721ea [ci skip] Remove this file that got created somehow (#6489) 2021-08-26 09:49:32 -07:00
Jason Penilla
b0d8230b5a [ci skip] Cleanup diff in Async command map building (#6492) 2021-08-26 11:41:22 -05:00
Nassim Jahnke
5ce32344db Sanitize ResourceLocation error logging (#6495) 2021-08-26 12:25:23 +02:00
Spottedleaf
882fe0543a Log when the async catcher is tripped (#6493)
The chunk system can swallow the exception given it's all
built with completablefuture, so ensure it is at least printed.

Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-08-25 20:35:35 -07:00
Spottedleaf
4355a3ac96 Readd chunk priority patch, including many chunk system fixes from tuinity (#6488) 2021-08-25 19:16:27 -07:00
Jason Penilla
7a51a16318 Vanilla command permission fixes (fixes #6085) (#6490)
Fixes permission checks for vanilla commands which don't have a
requirement, as well as for namespaced vanilla commands.
2021-08-25 17:20:24 -05:00
Jason Penilla
3c13186e4e Use configured no permission message in PaperCommand (#6484) 2021-08-25 15:34:15 -05:00
Nassim Jahnke
502755d55a Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6457)
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:
c9a46ebf #653: Add World#spawn with randomizeData parameter
e49c2e3a Damageable should extend ItemMeta
01ff04f4 SPIGOT-5880, SPIGOT-5567: New ChunkGenerator API
ca5b4b1a SPIGOT-6697: Deprecate generateTree with BlockChangeDelegate as it does not handle tiles

CraftBukkit Changes:
7c8bbcbe SPIGOT-6716: Preserve the order of stored enchantments of enchanted books.
18027d02 #914: Add World#spawn with randomizeData parameter
3cad0316 SPIGOT-6714: Don't fire PlayerBucketEvent when empty
8c6d60cf Fix server crash with BlockPopulator when entities are at a negative chunk border
4f6bcc84 SPIGOT-5880, SPIGOT-5567: New ChunkGenerator API
78d5b35b SPIGOT-6697: Restore generateTree with BlockChangeDelegate behaviour
15792f0d Rebuild patch
c949675e SPIGOT-6713: Cancelling EntityTransformEvent Causes Deceased Slimes To Not Despawn
a955f15c Fix issues with new ChunkGenerator API
a0a37f41 SPIGOT-6630: Replacing an enchantment on an item creates a conflict error

Spigot Changes:
b166a49b Rebuild patches
3c1fc60a SPIGOT-6693: Composters only take in one item at custom hopper speeds
2021-08-25 09:59:26 +02:00
Jake Potrebic
f53cb1b3fe Add BlockBreakBlockEvent (#4989) 2021-08-24 18:42:23 -07:00
Jason Penilla
dd35ae9fec Squash "Clear SyncLoadInfo" into "Add debug for sync chunk loads" and add tab completion for the clear argument (#6483) 2021-08-24 18:45:40 -05:00
Jake Potrebic
73b4c45a4a [ci skip] clean up diff from 1.17 update (#6462) 2021-08-24 16:30:26 -07:00
Jason Penilla
b2800ba2a9 Add GLOW_SQUID and AXOLOTL to WATER_BASED Tag (#6481) 2021-08-24 17:52:10 -05:00
Pedro
6e492e1b1c Fix bed explosions in custom worlds (#6345) 2021-08-24 16:03:58 -04:00
Jake Potrebic
78d3eda3db Fix CB lib relocation (#6454) 2021-08-22 10:22:57 -07:00
Jake Potrebic
7b08aa27ab Add API to change EnderEye target without other nonsense (#6460) 2021-08-22 08:19:42 -07:00
Jake Potrebic
b9871610d1 Prevent NPE when removing enchantment with no ItemMeta (#6459) 2021-08-22 08:13:51 -07:00
Jake Potrebic
9169cf73cc Better docs for PlayerGameModeChangeEvent (#6461) 2021-08-22 08:10:33 -07:00
Maddy Miller
92d1ace250 Fix BlockPistonRetractEvent firing multiple times (#6467) 2021-08-22 23:54:55 +10:00
MiniDigger | Martin
aa487a3e4c Fix Mob Goal Leak (#6394) 2021-08-22 06:19:45 +02:00
Octavia Togami
1291aa829a Replace ThreadLocal with ConcurrentHashMap in CommandSourceStack (#6325)
This object is created so often that it likely creates problems with the
ThreadLocalMap because the weak references can't be cleaned up fast
enough. This has manifest as lag seemingly caused by WorldEdit:
https://github.com/EngineHub/WorldEdit/issues/1668
2021-08-21 20:45:40 -07:00
Mariell Hoversholm
889718222e Add timeout & interval to sysout catcher (#6383) 2021-08-21 17:01:42 +02:00
Bjarne Koll
b868339208 Add deepslate as xray engine 2 replacement default (#6362)
Fixes: #6350
2021-08-21 14:34:58 +00:00
Noah van der Aa
7e5a053742 Respect despawn rate in merge check (#6428) 2021-08-21 16:32:07 +02:00
Jake Potrebic
b3c84b4e7d Add API to send game events (#6444) 2021-08-21 07:26:42 -07:00
petersv5
ebb3c9b96a Fix entities glitching through blocks pushed by pistons (#6308)
Fixes #5189
2021-08-21 16:15:29 +02:00
HexedHero
849bc22bdf Add note about EntityMoveEvent not firing for players (#6406) 2021-08-21 14:53:01 +01:00
Jason Penilla
5fb95dd824 Set AsyncAppender dispatch thread to be a daemon thread (#6424) 2021-08-18 13:47:29 -05:00
Jason Penilla
7c87437f70 [ci skip] Bump paperweight to 1.1.11, update Gradle wrapper script (#6421) 2021-08-18 13:34:52 -05:00
Jason Penilla
6216cdc4c2 Setup dev bundle publishing (#6163) 2021-08-17 17:11:04 -05:00
Shane Freeder
972fbb74c9 Do not fire PlayerBucketFillEvent when no fluid (Fixes #4611) 2021-08-17 15:43:01 +01:00
Jake Potrebic
5da877975c Fix yaw on player spawn (#6409) 2021-08-16 14:46:25 -07:00
Noah van der Aa
f9143cf9ec Don't fire entitymovevent for players. (#6402) 2021-08-15 19:37:42 +02:00
Jake Potrebic
f217b15bbf Fix possible divide by 0 error with cursor updates (#6398) 2021-08-14 10:44:31 -07:00
Shane Freeder
746d5cb8fb Revert "Revert "Remove "Implement-Chunk-Priority-Urgency-System-for-Chunks" (Fixes #5980)""
This reverts commit d2f7432e32.
2021-08-14 15:24:53 +01:00
Shane Freeder
d2f7432e32 Revert "Remove "Implement-Chunk-Priority-Urgency-System-for-Chunks" (Fixes #5980)"
This reverts commit 701cceb170.
2021-08-14 15:22:21 +01:00
Shane Freeder
701cceb170 Remove "Implement-Chunk-Priority-Urgency-System-for-Chunks" (Fixes #5980)
Mojang made some changes to priorities in 1.17 and it seems that these changes
conflict with the changes made in this patch, which in some cases appears to
cause excessive rescheduling of tasks.

This, however, is not confirmed as such but seems to be the behavior that we're
seeing to cause this issue, if mojang has adopted the changes we suggested,
then a good chunk of this patch may be unneeded, but, this needs a much better
look than I'm currently able to do
2021-08-14 14:55:55 +01:00
Jason Penilla
92222b3c9d [ci skip] Add some helper methods to the ObfHelper util class (#6374) 2021-08-14 03:06:17 -07:00
Jason Penilla
f5dd603274 [ci skip] Drop "Fix CME on adding a passenger in CreatureSpawnEvent" (#6384)
This is no longer needed as Entity#passengers is an ImmutableList as of 1.17
2021-08-14 03:01:07 -07:00
Jake Potrebic
b230147e18 Clear bucket NBT after dispense (#6391) 2021-08-14 02:51:03 -07:00
Jake Potrebic
112c19b45e Implement Translatable in appropriate places (#6248) 2021-08-13 21:11:12 -07:00
Jason Penilla
18178d7c9a Add config migration for named entity death logging option (#6390) 2021-08-13 13:24:25 -07:00
Warrior
7b05942bcc Configurable item frame map cursor interval (#6385) 2021-08-13 21:14:44 +02:00
Jake Potrebic
85195961ea Make EntityUnleashEvent cancellable (#4993) 2021-08-13 11:15:43 -07:00
Jake Potrebic
037884fc65 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6379)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2021-08-13 10:08:34 -07:00
Jason Penilla
6b4f50a1cb Fix block drops position losing precision millions of blocks out (#6387) 2021-08-12 21:46:55 -07:00
Andrew Steinborn
6a9023862c Optimize indirect passenger iteration (#6366) 2021-08-12 22:55:41 +00:00
Jake Potrebic
fd585fd5da Add warning to getOfflinePlayers (#6365) 2021-08-12 15:38:25 -07:00
Jason Penilla
1093b2f26a Use AsyncAppender instead of AsyncLoggerContextSelector to keep loggging IO off main thread (#6381) 2021-08-12 10:55:20 -07:00