Commit Graph

184 Commits

Author SHA1 Message Date
William Blake Galbreath
9c87f5730d Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b1691e7b Remove some Streams usage in Entity Collision
d454bbd5 Implement JellySquid's Entity Collision optimisations patch
8e85f841 Optimize Collision to not load chunks
ceb824db Fix ChunkCache .getXIfLoaded to use the local chunks in the cache
2020-05-09 19:58:46 -05:00
William Blake Galbreath
833bd1cc47 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
f6f9157b Don't toString block unless actually showing the message
b3f0527a Add Spawn Entity SpawnReason API
ec8d7387 MC-183249: Don't generate Carving Masks BitSet unless needed
2d401d2d Improve BlockPosition hashCode/equals
2572bd01 Fix world unload toLowercase - Fixes #3326
dda9680b Optimize brigadier child sorting performance
a71a4ec2 Fix CraftServer.unloadWorld Leak
2020-05-09 13:18:38 -05:00
William Blake Galbreath
3ce3644645 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
f6fc0d4c Don't create region files for chunk checks - mistake on upstream merge
cfed00cf Fix Light Command
2020-05-08 19:00:51 -05:00
William Blake Galbreath
35ab7bfb69 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a6ff84ad Revert Nibble patch, causing issues still
f1a8eb7f Use a finalizer for light packet instead of onPacketDone
03c9bb05 Optimize NibbleArray to use pooled buffers
d0a528b1 Move delayed init down later in tick, improve accuracy of startup time
2020-05-07 10:10:42 -05:00
William Blake Galbreath
e7b1eb157b Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
cc477e6a Force Plugins that use delayed tasks for init back in their place
597263fd Don't skip full player connection tick when dead
e2c23475 Revert loaded entity list (#3304)
fa87db6b Move another NetworkManager util into the inner class (#3303)
841c7d18 Make loaded entity list logic more consistent (#3301)
36f34f01 Updated Upstream (Bukkit/CraftBukkit)
5ca5f131 Rebuild all patches using the new rebuild pattern
1ccff6fa Add villager reputation API
5c0bfffa Speed up rebuilding patches and reduce diff
f37381ea Optimize Network Manager to not need synchronization
8f9df2ed Anti Xray cleanup
878c66f1 No-Tick view distance implementation - Closes #3196
b87743c1 Stop copy-on-write operations for updating light data
97a9c972 Optimize isOutsideRange to use distance maps
b4e629a2 Use distance map to optimise entity tracker / Misc Utils
d80d1517 Optimize Entity Ticking to Loaded Chunks only
31d7686d Add item slot helper methods for various inventories (#3221)
75e1e3b3 Mob Goal API
c7bc393a Revert "Don't flush packet queue off main thread"
1abd2bd2 Don't flush packet queue off main thread
a4ed58a9 Clean up Direct Memory Region Files Fix for different Java versions
55e35019 Set cap on JDK per-thread native byte buffer cache
b5101f4f Cleanup Region Files Direct Memory on close
81e655d7 Optimize Voxel Shape Merging
ed9fc11f Sync position on teleportation
9c326fce Nanothing to see here
3e9fc24b Attempt to fix FastLogin maybe
2020-05-06 20:18:39 -05:00
William Blake Galbreath
4d42781bdd Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
932e97f3 Rename to AsyncPlayerSendSuggestionsEvent to be consistent in naming
0dd19075 AsyncSendPlayerSuggestionsEvent Brigadier Event
a9e20e5f Fix being kicked in survival for block picking - Fixes #3277
4d20537e Expose game version (#3274)
85fb0015 Validate PickItem Packet and kick for invalid - Fixes #3256
5729bc71 Special case Keep Alive packets from Anti Xray
a76b7740 Improved oversized chunk data packet handling
a6f78170 Use Vanilla Bed Search for non players (Villagers)
68fb98b5 Fix 2 plugin specific issues with loot drop and pathfinders
6e41f7b7 Update Activation Range 2.0 with more villager controls
57dd3971 Updated Upstream (Bukkit/CraftBukkit)
2020-05-02 21:01:38 -05:00
William Blake Galbreath
f94d5bfe59 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a6a197b1 Bump API ASM version to follow server
5ab48ad9 Fix commodore (#3264)
87e7ee7e Improve Async Login to avoid firing in middle of Entity Ticking
2020-05-01 14:35:02 -05:00
William Blake Galbreath
a2db5eebbe Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
8ce3dd5f [CI-SKIP] Fix Mojang API Brigadier dep - THIS IS NOT A NEW BUILD
00d760a5 Fix build due to spigot changing the build timestamp process
842e040c Updated Upstream (Bukkit/CraftBukkit/Spigot)
c03260a2 Add getter and setter for villager's numberOfRestocksToday (#3231)
fe366fbe null check tracker for entity metadata update - Fixes #3070
fdf41b74 Implement Brigadier Mojang API
e0ea2e0e Entity Activation Range 2.0! Major improvements to restoring behavior
10396d28 Fix Tracking Range mismatch on Vehicle/Passenger checks
2020-04-28 20:14:57 -05:00
William Blake Galbreath
c0e748c0c1 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
68994c64 Add a config to turn off Optimized TickList #3145
d847d336 Improve blocking players from opening inventories while sleeping
ac4f6b50 Clean up Timings and Async Chunk Configs
fcf89e85 Improve mid tick chunk loading, Fix Oversleep, other improvements
ab36835c Improve random ticking behaviour - Fixes #3181
2020-04-26 16:29:21 -05:00
William Blake Galbreath
8ec7d99ec0 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a6ac47e5 Fix numerous item duplication issues and teleport issues
b7402f11 Add phantom creative and insomniac controls (#3222)
75819fac Fix Potion#toItemStack swapping the extended and upgraded constructor values (#3216)
2020-04-25 15:48:09 -05:00
William Blake Galbreath
d085a5b222 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
cb15cfa4 Improve Async Login so pending connections dont get exposed
f275e9cb Optimize Hoppers - Major Boost - Got2GoFast!
0106485c Improvements to watchdog changes
65934b1f Fix build for last commit. 5am commits are great
3f436029 Don't process watchdog until server has fully started and ticked.
938bd972 Don't fire BlockFade on worldgen threads - Fixes #3208
509a828e Fix loading spawn chunks when async chunks is off
8a91bfd2 Improvements to async login
bf698865 Revert "Re-track players that dismount from other players"
82b98418 Fix some issues with async login as well another source of sync loads
aa241d2b Allow multiple callbacks to schedule for Callback Executor
a2064a41 Add PlayerAttackEntityCooldownResetEvent This event is called when processing a player's attack on an entity right before their attack strength cd is reset, there are no existing events that fire within this period of time so it was impossible to capture the players attack strength via API prior to this commit.
f48d4299 Allow sleeping players to float
eeb2f67d Fix Bed respawn deviating too far from vanilla (#3195)
68a7b9fe Move player to spawn point if spawn in unloaded world
2020-04-24 08:22:02 -05:00
William Blake Galbreath
fc7824b3a8 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
f29c7ebd Improve async login (#3189)
9fd36824 Fix Citizens Player NPC tracking issue - Fixes #3186
0e72de1c Fix Player Tracking issue during join process.
f26362af Load Spawn Chunks Asynchronously and Spiral Out
54f762e2 Load Chunks for Login Asynchronously
f2d1b6e5 Clean up duplicate PlayerInitialSpawnEvent
c2d022d7 Fix Longstanding Broken behavior of PlayerJoinEvent
d0a348b9 Broadcast join messages to console
1ef687a4 Don't crash if player is attempted to be removed from untracked chunk.
c11668ac Make sure the chunk conversion task is executed immediately
26fb7cc3 Fix Chunk Post Processing deadlock risk
2020-04-19 17:06:16 -05:00
William Blake Galbreath
e4a8964a8b Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
ffecc4e2 Revert "Optimize entity list iteration requiring entities be in"
0a4286cc Prevent Fire from loading chunks
07915ea1 Add Player Client Options API (#2883)
bc48a317 Optimize entity list iteration requiring entities be in  loaded chunks
88092fef Optimize ChunkProviderServer's chunk level checking helper methods
01e8ce8d Forced Watchdog Crash support and Improve Async Shutdown
fdb8fe78 Be less strict with vanilla teleport command limits
2020-04-17 15:32:51 -05:00
ChrystiGalbreath
6c4aab0053 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
0f06d380 Restrict vanilla teleport command to within worldborder
24d93aaf Fix Optional null issue - Fixes #3155
eb71c5fa Fix incorect timing of mspt
1ca80434 Optimise entity hard collision checking
b67a4237 Don't run entity collision code if not needed
bd9aa547 Optimise ArraySetSorted#removeIf
78871d07 Make JavaClassLoader thread-safe (Fixes #3137) (#3144)
2020-04-16 20:45:31 -05:00
William Blake Galbreath
1231800fca Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
81706e62 Make the shutdown thread try to shutdown on main
89182450 Prevent opening inventories when frozen
e6d395cc Port 04-Util.patch from Tuinity (#3136)
59453f66 Fix incorrectly loading chunks on a cancelled interact event
bdcc31ca Let invalid positioned entities clean up previous chunk by the chunkCheck
92d2907d Multiple memory and performance optimizations (removing streams)
748e6447 Improve the don't save entities patch per leafs feedback
2020-04-13 19:23:38 -05:00
William Blake Galbreath
2243be4513 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
c096fe19 Port 20w15a Villager AI optimizations
832687de Restore preventing saving bad entities patch to full effect
df8eedee Restore Optimize Pathfinding patch
97b1cc36 Allow shutting down server during a watchdog hang gracefully
06044e24 Async command map building
2020-04-12 17:33:46 -05:00
William Blake Galbreath
193c511fce Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a4f066cc Fix method profiler inbalance introduced in a2a9ffe (#3132)
c65dcad3 Don't delay chunk unloads during entity ticking
bc17ce69 Delay unsafe actions until after entity ticking is done - Fixes #3114
5553e6b3 Disable Sync Events firing Async errors during shutdown
e12c51d9 Use better variable for isStopping() API
586ee2bb Remove patch for MC-111480, fixed in 1.14
09a94215 Remove streams from Mob AI System
bb5c294e Fix Disabling Asynchronous Chunks
089d8356 Implement Chunk Priority / Urgency System for World Gen
fce69af7 Use dedicated thread for main thread blocking chunk loads
588b62e4 Add tick times API and /mspt command (#3102)
11de41c7 Add API MinecraftServer#isStopping (#3129)
942ff3c2 My patches are under MIT (#3130)
2020-04-12 03:45:54 -05:00
William Blake Galbreath
94b1df84a7 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
0ed6da7a Fix issues with 167 causing crashes due to missing chunks - Fixes #3122
2020-04-10 13:47:07 -05:00
William Blake Galbreath
ef94c821f3 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
23ee0a8a Fix issue with 0,0 chunks causing crash
bc8fafb2 Updated Upstream (CraftBukkit/Spigot)
ebbca5ce Drowned is a RangedEntity (fixes API for Drowned to support Ranged)
83b03eee Don't move existing players to world spawn
3b3e38fd Fix issue with loading chunk during ticking chunks issue
78431dca Update test server startup script
2020-04-10 01:43:21 -05:00
William Blake Galbreath
16e780dcdb Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
ab74bb45 Speed up processing of chunk loads and generation
f5dd491f Increase Light Queue Size
9ab69348 Don't load chunks when attempting to unload a chunk
38c62622 Improve Optimize Memory use logic to make iterator safer and fix bad plugins like P2
2020-04-09 19:37:51 -05:00
William Blake Galbreath
a29baddb7d Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
d33ba160 Fix incorrect keyword use on visibleChunksClone
2f343015 Updated Upstream (Bukkit/CraftBukkit)
a65831bd Optimize PlayerChunkMap memory use for visibleChunks
2020-04-08 23:13:56 -05:00
William Blake Galbreath
8f5eb7d006 Updated Upstream ()
Upstream has released updates that appears to apply and compile correctly
2020-04-04 20:32:49 -05:00
William Blake Galbreath
58edeea22a Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
2c37d2eb Restore accidently reverted item in water fix
2020-04-03 03:01:37 -05:00
William Blake Galbreath
ca9802b14f Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
cfaf32cf Dead Player's shouldn't be able to move
16287d01 Don't tick dead players
e4d10a6d Updated Upstream (Bukkit/CraftBukkit)
2020-04-02 20:02:16 -05:00
William Blake Galbreath
1c55069f02 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
c867045d And that's why hand editing patch files in nano is risky.... make it compile
c2d7876a Improve Entities in water activation immunity and let items always move
2020-04-02 03:40:55 -05:00
William Blake Galbreath
e154b96b66 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
1dc7c308 Optimize Collision Chunk lookup and avoid loading far chunks
d5c6dbee Prevent Double PlayerChunkMap adds crashing server
a2a9ffe3 Fix issues with Activation Range causing large chunk lookups.
017297cd Improve entity.getCurrentChunk() and use it for entity.isChunkLoaded()
52cf8906 Remove some old removed 1.14 patches that are never going to be needed (fixed/already applied)
2020-04-02 02:04:15 -05:00
William Blake Galbreath
193b218210 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
979b53a7 Do not allow bee's to load chunks for beehives
13cb8373 Remote Connections shouldn't hold up shutdown
7dac5467 Fix bug in double register fix
87829d83 Remove incorrect IO flush for save-all that doesn't have flush parameter
31e751cb Fix unregistering entities from unloading chunks
bc351f6e Ensure Entity is never double registered
2ec0274b Fix many issues with dupe uuid resolve patch
756da10d (Actually) Don't duplicate velocity entry into hidden-configs
9b3679fb Don't duplicate velocity entry into hidden-configs
28cf6540 Pillager patrol spawn settings and per player options (#2924)
6bf04cd5 Reduce entity tracker updates on move
2020-03-31 19:27:23 -05:00
William Blake Galbreath
27fb33e6dc Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
de5b093c Handle chunk unloading during block tick
be7b4063 performance: Improve Activation Range entity iteration
bacbd880 performance: Many Entity Activation Range Improvements
269394fe Update hidden-configs
2020-03-30 19:31:24 -05:00
William Blake Galbreath
902a3091e2 Remove Tuinity patches (you will be missed) 2020-03-29 15:13:05 -05:00
William Blake Galbreath
129f437d52 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a5553211 Updated Upstream ()
2020-03-27 02:00:47 -05:00
William Blake Galbreath
8e455eb2cf Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
9a7ca3db Updated Upstream (Bukkit/CraftBukkit/Spigot)
2020-03-26 11:07:53 -05:00
William Blake Galbreath
23cd0d9652 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
68ec946c Fix memory leak in TickListServer (#3068)
2020-03-25 19:18:24 -05:00
William Blake Galbreath
7273589372 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
49fdb182 Timings changes (#3044)
2020-03-19 18:12:41 -05:00
William Blake Galbreath
2ccfff0b5c Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
d63075df Pass fireworks through vanished players (#3021)
4d991f19 [CI-SKIP] Rebuild patches
26070a0e Indicate ticking status in entity list command (#2856)
2ff7b480 Optimise Chunk#getFluid (#2860)
c23ebb78 Optimise ticklistserver (#2957)
2020-03-18 23:48:24 -05:00
William Blake Galbreath
64a0e868f2 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
e4602b6d Drop Ignore-Missing-Recipes-in-RecipeBook-to-avoid-data-e.patch
73def107 Update Paperclip
2020-03-17 20:43:32 -05:00
William Blake Galbreath
69d17aafbb Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
0ad8cf73 Call BlockRedstoneEvent for fence gates (#3026)
c8dea96e Prevent blocking on adding a new network manager (#3027)
2020-03-14 16:51:13 -05:00
William Blake Galbreath
65a3567ab4 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
ac2bbf62 Fix NPE on GUI during Windows Lock Screen (#3023)
2020-03-13 17:52:59 -05:00
William Blake Galbreath
3f74442c8b Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
e1281a14 Configurable chance of villager zombie infection (Closes #2501)
2020-03-11 20:28:32 -05:00
William Blake Galbreath
f2e328d295 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
ad708dd3 Add option to allow iron golems to spawn in air (Closes #1965, Closes #1851)
b16fd5c3 Updated Upstream (Bukkit/CraftBukkit/Spigot)
2020-03-10 19:30:18 -05:00
William Blake Galbreath
c7850ac5cb Update Tuinity Patches 2020-03-08 15:35:19 -05:00
William Blake Galbreath
a32448bda1 Merge in Tuinity patches 2020-03-08 12:49:59 -05:00
William Blake Galbreath
c8a65b216f Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
2e44dc1a Updated Upstream (CraftBukkit)
2020-03-07 15:25:59 -06:00
William Blake Galbreath
f8e3bc8c9a Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
2c07231e Validate tripwire hook placement before update
31872198 Fix dead telepotation logger format
2020-03-06 23:01:05 -06:00
William Blake Galbreath
15f9cb1b06 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
7bd0b6ab [CI-SKIP] Add PAPER_TEST_APP_ARGS
2020-03-05 21:56:07 -06:00
William Blake Galbreath
6d873a3a47 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
ccf1d590 Prevent teleporting dead entities (#2803)
2020-03-03 19:42:30 -06:00
William Blake Galbreath
329e588e58 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
5ce1dd48 Add hand to BlockMultiPlaceEvent (fixes #2997) (#2998)
3ad47bcf Reduce chunk range timers
793bae0d Updated Upstream (CraftBukkit)
2020-03-02 19:26:45 -06:00
William Blake Galbreath
024dc406b8 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
4df3dad8 Reduce PlayerNaturallySpawnCreaturesEvent calls
2020-03-01 19:55:49 -06:00
William Blake Galbreath
1681df4e30 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
c0f4b24e Fix random ticks (Fixes #2990) (#2992)
2020-02-27 21:35:09 -06:00
William Blake Galbreath
f2690c9ecc Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b0770059 Updated Upstream (Bukkit/CraftBukkit)
0809d6be [CI-SKIP] fix avoid-hopper-search obfhelper hint type (#2989)
2020-02-26 22:43:48 -06:00
William Blake Galbreath
42e3b91b7b Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
892f479f Fix nullability annotation for Tameable#getOwnerUniqueId (Fixes #2968)
49503ef0 Don't NPE on exporting config with null values (Fixes #2973)
7434b6d7 Fix ProjectilCollideEvent cancellation (Fixes #2953)
e5e4e9f7 Do not send PlayerProfile info before initial server send
2020-02-22 15:37:01 -06:00