Commit Graph

120 Commits

Author SHA1 Message Date
William Blake Galbreath
7503e60580 Tuinity! \o/ 2020-07-01 19:31:44 -05:00
William Blake Galbreath
1a46c4bc6b Update to 1.16.1 2020-06-28 21:51:07 -05:00
William Blake Galbreath
9db91d62a9 Drop Tident#getItemStack() patch in favor of Paper's new Arrow#getItemStack() patch 2020-06-20 21:06:37 -05:00
William Blake Galbreath
ed7b2022b7 Bringing back Tuinity! \o/ 2020-06-20 20:40:30 -05:00
William Blake Galbreath
fdf64880d1 Add PrepareGrindstoneEvent 2020-06-18 23:31:20 -05:00
William Blake Galbreath
7f88f09dd4 Default purpur permissions to false 2020-06-06 00:13:52 -05:00
William Blake Galbreath
c0c212bf48 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
b75eeca0 Boost light task priority to ensure it doesnt hold up chunk loads
3d2bc848 Ensure VillagerTrades doesn't load async - fixes #3495
e470f1ef Add more information to Timing Reports
f4a47db6 Improve Thread Pool usage to allow single threads for single cpu servers
a4fe910f Fix sounds when using worldedit regen command
70ad51a8 Updated Upstream (Bukkit/CraftBukkit)
d7cfa4fa Improve legacy format serialization more
2020-06-05 21:42:48 -05:00
William Blake Galbreath
a032d548bf Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
a8ef0a93 Drop remove leaked chunk patch - causing many issues
ff4ca31f Fix premature unloading of neighbor chunks for world gen
fde81356 Fix Chunks unloading immediately for priority access - Fixes #3461
9980f427 Fix some logic on villager poi max attempts
919ab67a Fix concurrency issue in light engine (Vanilla bug)
0d5ec653 Cleanup async chunks (#3456)
c3c005c9 Updated Upstream (Bukkit/CraftBukkit) (Fixes #3443)
2020-05-29 17:42:32 -05:00
William Blake Galbreath
860c86191a Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
c8028d1c Fix data version check for ItemStack serialization (#3394)
9254a80a Fix race condition reintroduced in Prioritize class loader patch
6f196fe7 Add Raw Byte ItemStack Serialization
df43f828 Allow server startup for those poor people running <1G Xmx
3c9b65ef Fix cases where no-tick < tick view distance
72f89a07 Workaround for Client Lag Spikes (MC-162253)
3f941c0c Add option for console having all permissions
d2ae4658 Add permission for command blocks
9f8ae5cb Prioritise own classes where possible
74466412 Check portal restrictions when entering end gateways
fc9cf84d Fix NPE when temp ip bans expire (#3373)
16bd420d Add missing mob goals for API (#3367)
b5c4e2f6 Ensure no-tick view is not smaller than ticking VD
52564b1f Expand Pathfinding API with more options
dde65481 Fix usage of vanilla goals
7797aebe Drop Leads from nether portals - Fixes #3226
511b6bc2 Reduce MutableInt and Vec3d allocations, use ArrayDeque
84673141 Optimize NibbleArray to use pooled buffers
897dd2c8 Foundational work for Future Memory usage improvements
bb4002d8 Handle CraftPlayer#setSpectatorTarget better
4ae08959 Fix collision checks on spawning hanging entities and null on async chunk loads
c2f8d1ef Protect Bedrock and End Portal/Frames from being destroyed
827cc632 Updated Upstream (Bukkit/CraftBukkit/Spigot)
92f680ed Fix Pathfinding and obscure glitchy buggy 0 tick farms
7a7c4292 Optimize Pathfinder - Remove Streams / Optimized collections
fc917d16 Optimize Hoppers - Major performance improvement
14ad77c6 Fix PotionEffect API Ignoring Icon bug
eb3ce8a2 Fix EntityRaider picking up items when they shouldn't be able
1ea9ada0 Add a TELEPORT ticket when changing dimensions
8e9459ea Fix missing flag pass for isUrgent
7befec44 Potential bed api (#3339)
27945a6b Optimize WorldBorder collision checks and air
55e17a85 Wait for Async Tasks during shutdown
b5905256 Ensure Entity AABB's are never invalid
a054aa6f Properly remove Entities from current chunk
c894ddfd Fix teleporting onto a chunk line
57d6cc01 Send LOGIN protocol packets immediately - Fix disconnect during async prelogin
cd93e54d Don't use our modified chunk checks for collision in world gen
b4003ef1 Allow loading entities current chunk if needed to fix collision checks
e5f64896 Add Urgent API for Async Chunks API and use it for Async Teleport
ad8e59dc Ensure chunks loaded on respawn for suffocation check
2020-05-18 15:22:23 -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
Hugo Planque
a03667bdd0 Merge #26 Move some Goal from Server to Api
We move the Find Crystal and the Orbit Crystal from Purpur-Server to Purpur-API for the those who use the Mob Goal API and this can be useful to give this goal to mob
2020-05-07 09:53:52 -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
be3ee18320 Player invulnerabilities 2020-05-02 21:00:49 -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
KennyTV
d02efdff6b Add PlayerItemCooldownEvent 2020-04-20 09:34:05 -05:00
William Blake Galbreath
df15c09fb1 More anvil controls 2020-04-19 13:05:51 -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
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
94953a334c Remove tick times api (was moved upstream to paper) 2020-04-12 03:51: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
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
891673a2a0 Async recalc perms and command map 2020-04-08 23:03:02 -05:00
William Blake Galbreath
caf7dcb545 Fix ItemStack#damage... again.. 2020-04-06 06:10:19 -05:00
William Blake Galbreath
dd056edcc5 Add more ItemStack convenience stuffs 2020-04-06 05:58:37 -05:00
William Blake Galbreath
c76b42c0eb Fix logic error in ItemStack#damage 2020-04-06 05:13:19 -05:00
William Blake Galbreath
5bdd191529 Fix config names in timing reports 2020-04-01 21:31:16 -05:00
William Blake Galbreath
ae4530423e Close #17 - Add configurable max level for enchantments 2020-04-01 20:19:03 -05:00
William Blake Galbreath
902a3091e2 Remove Tuinity patches (you will be missed) 2020-03-29 15:13:05 -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
d4e8659c65 Remove PlayerItemCooldownEvent (causes crashes) 2020-03-25 19:31:13 -05:00
William Blake Galbreath
86c5a55f46 Update Tuinity patches 2020-03-25 19:29:47 -05:00
William Blake Galbreath
2cc226151b Add BellRingEvent 2020-03-21 19:50:10 -05:00
William Blake Galbreath
5a007dd8ae Add PlayerItemCooldownEvent 2020-03-21 19:16:29 -05:00
William Blake Galbreath
3b5e10df8b Fix chatting while afk not working 2020-03-20 01:43:03 -05:00
William Blake Galbreath
607d909efb Add ItemStack convenience methods for ItemMeta 2020-03-15 21:12:51 -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
aefaadb08f Add tuinity.yml and server.properties to timings config tab 2020-03-08 15:27:59 -05:00
William Blake Galbreath
a32448bda1 Merge in Tuinity patches 2020-03-08 12:49:59 -05: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
a098378494 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
4e0ed1f8 Backport fix for MC-167561 (Fixes #2886, closes#2960)
9946cef8 Updated Upstream (Bukkit/CraftBukkit/Spigot)
2020-02-21 14:15:01 -06:00
William Blake Galbreath
76b5d1cdcf Move timings changes to its own patch 2020-02-18 21:22:51 -06:00
William Blake Galbreath
5edf392119 Fix timings report url 2020-02-17 20:32:05 -06:00
William Blake Galbreath
0179d5196f Fix avg tick times 2020-02-17 20:26:12 -06:00
William Blake Galbreath
d0fa118d91 Fix missing annotations on EntityMoveEvent 2020-02-12 21:31:58 -06:00
William Blake Galbreath
023f7cec60 Rebuild patches 2020-02-12 21:31:30 -06:00
William Blake Galbreath
093091c012 Remove left over jump api patch 2020-02-12 21:25:46 -06:00
William Blake Galbreath
4757060211 Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
df0d7b0d Update upstream CB
6ea3c2cf [CI-SKIP] Rebuild patches
d7bed4cb Heavily optimise random block ticking (#2914)
b66d9ff8 Update upstream CB
ba71c5d6 Stop stripping private use block Unicode from signs
28d9dcfc Entity Jump API (#1587)
9976a768 Fix PlayerNaturallySpawnCreaturesEvent boolean inversion
054e20da Clean up imports on ThrownEggHatchEvent
a8984ccb Add ThrownEggHatchEvent (#1982)
9f24d495 Allow nerfed blazes, endermen to take water damage (#2847)
2020-02-12 21:21:34 -06:00
William Blake Galbreath
e52e23265f Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly

Paper Changes:
f09fed89 Update upstream B/CB
7c1ef0b7 Add option to ignore the java version check in CB
510dfd60 [CI-SKIP] Update build badge in README to use proper job
2020-02-08 20:14:57 -06:00
William Blake Galbreath
cd602cef9a Start hosting our own timing reports 2020-02-08 20:14:15 -06:00