9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-23 17:09:22 +00:00
Commit Graph

108 Commits

Author SHA1 Message Date
MrPowerGamerBR
fa1fd9dbb4 Fix some comments 2025-01-09 00:07:39 -03:00
MrPowerGamerBR
8e2077ebe5 Add PlayerPreMoveEvent 2025-01-08 23:08:47 -03:00
MrPowerGamerBR
81aca647ae Add PlayerMoveControllableVehicleEvent
Useful if you want to actually control what the player is moving, because VehicleMoveEvent does not let you cancel nor change the location. Also useful to detect BoatFly hacks.
2025-01-05 00:02:48 -03:00
MrPowerGamerBR
0fd98d64ca Add more helpful NMS changes 2024-12-08 20:32:48 -03:00
MrPowerGamerBR
db8ee6c228 Update to the latest Paper 1.21.3 commit, disable automatic updates because Paper did not release a ver/1.21.3 branch, remove the max height fix patch because this was fixed in Spigot 2024-12-08 20:25:50 -03:00
MrPowerGamerBR
a91c3f2fee Change patch order + rebuild patches 2024-12-01 11:33:10 -03:00
MrPowerGamerBR
017173b2b8 Revert "Only attempt to resync display entities' position when it has actually changed to fix teleport interpolation issues"
This reverts commit dcdb966994.

The patch does work, but I want to see if anyone else on the Paper team has anything to say about not periodically sending pos/rot packets
2024-12-01 11:18:23 -03:00
MrPowerGamerBR
dcdb966994 Only attempt to resync display entities' position when it has actually changed to fix teleport interpolation issues
On display entities, any new Pos/Rot packet causes the teleport duration interpolation to reset

While this does not cause issues when you spawn a display entity -> set the interpolation -> teleport after the data has been sent to the client, this DOES cause issues on entities that have lived for >60 ticks, where if you spawn a display with interpolation -> wait ~8 ticks -> teleport it, the end of the teleport will look slow due to the server resyncing the display entity position/rotation
2024-12-01 01:24:33 -03:00
MrPowerGamerBR
6921e607c2 Fix getMaxHeight to be exclusive instead of inclusive to match docs 2024-11-27 02:35:09 -03:00
MrPowerGamerBR
bf268dc7a6 Update Upstream (Paper) 2024-11-26 15:09:52 -03:00
MrPowerGamerBR
586de79281 Fix Parallel World Ticking patch to make worlds ACTUALLY run in parallel 2024-11-25 17:54:37 -03:00
MrPowerGamerBR
24520501a5 Fix crash when using the Blazing Simple Farm Checks due to the registry not existing 2024-11-25 15:44:57 -03:00
MrPowerGamerBR
d1ef82909d Update to Paper 1.21.3 2024-11-25 13:40:25 -03:00
MrPowerGamerBR
de8a5bf4a7 Fix build 2024-10-29 14:46:29 -03:00
MrPowerGamerBR
0fd6b8d393 Shutdown the ServerLevel tickExecutor when the world is unloaded in MinecraftServer
Because it seems that ServerLevel.close() is actually never called, whoops
2024-10-19 14:05:43 -03:00
MrPowerGamerBR
8c40f738c7 Fix merge conflicts 2024-10-01 23:27:54 -03:00
MrPowerGamerBR
5c1ca0d8ef Remove the new patch
Taming villagers is harder than it seems
2024-08-26 00:13:32 -03:00
MrPowerGamerBR
69c85f479a Whoops, fix precondition check 2024-08-25 23:13:50 -03:00
MrPowerGamerBR
6be0b3ed79 This shouldn't be here 2024-08-25 22:46:32 -03:00
MrPowerGamerBR
3aa804fbdc Allow changing the tick rate of mob's "customServerAiStep" 2024-08-25 22:36:20 -03:00
MrPowerGamerBR
4dcc99505a Revert "Show the parallel ticking order in "/mspt""
After thinking about it... this does not make any sense considering that we use a semaphore to control how many worlds tick in parallel.
2024-08-25 19:16:22 -03:00
MrPowerGamerBR
49cafc049a Show the parallel ticking order in "/mspt" 2024-08-25 11:50:20 -03:00
MrPowerGamerBR
6de5e1d3a5 Implement config version upgrades 2024-08-23 16:58:49 -03:00
MrPowerGamerBR
16237e2ec0 Allow throttling hopper checks if the target container is full 2024-08-23 16:36:05 -03:00
MrPowerGamerBR
b7e5e32623 Only check if we are off-main when changing the player's dimension, NOT when changing dimensions to the same world (enderpearls, end gateways, etc)
Fixes #31
2024-08-21 16:08:36 -03:00
MrPowerGamerBR
a0c4610037 Fix player respawn 2024-08-19 17:28:02 -03:00
MrPowerGamerBR
d99ea7afee Once again, bulk renaming gone wrong 2024-08-19 16:28:52 -03:00
MrPowerGamerBR
f5af10d980 Fix build (bulk renaming GONE WRONG, also remove mid chunk ticks due to crashes) 2024-08-19 16:17:03 -03:00
MrPowerGamerBR
e371a3ef2a Update to 1.21.1 2024-08-19 15:58:08 -03:00
MrPowerGamerBR
099860a500 Synchronize free map ID allocations to avoid thread issues when creating maps in multiple threads
This was already fixed in Folia but I forgot to do these changes on SparklyPaper
2024-06-30 00:24:54 -03:00
MrPowerGamerBR
cc80724486 Don't process crafter crafts if the CraftItemRecipeEvent is cancelled 2024-06-25 11:02:08 -03:00
MrPowerGamerBR
1f8b087dff Add CraftItemRecipeEvent
Used when a player OR a crafter block crafts an item, as an alternative to PrepareItemCraftEvent and CraftItemEvent, because both events are not triggered when a item is crafted from a crafter
2024-06-25 02:59:17 -03:00
MrPowerGamerBR
1b3fb6b9aa Allow item version downgrades
The server WON'T convert the item data from a newer version to an older version, so proceed with caution
2024-06-21 18:12:07 -03:00
MrPowerGamerBR
11380a536c Updated Upstream (Paper) 2024-06-21 16:22:45 -03:00
MrPowerGamerBR
a65807bc69 Fix tests again because I'm stupid 2024-06-13 13:19:53 -03:00
MrPowerGamerBR
8252a38f3d Add some SparklyPower-specific patches, update README 2024-06-13 12:18:15 -03:00
MrPowerGamerBR
bf4c9b5b18 Allow setting the packet object in the ClientboundPacketPreDispatchEvent 2024-06-11 02:06:40 -03:00
MrPowerGamerBR
e679b13c01 A bunch of new patches that we need for SparklyPower features 2024-06-10 18:54:03 -03:00
MrPowerGamerBR
404a4945d0 Reset dirty flag when loading maps from the disk
By default, the server will start rewriting all map datas to the disk after loading it, even if the map didn't have any changes

This also slows down world saving a lot if you have a lot of maps
2024-06-05 15:29:03 -03:00
MrPowerGamerBR
0710140816 Whoops 2024-06-04 11:33:53 -03:00
MrPowerGamerBR
95cc305b33 Remove empty diff from the Blazing Simple Farm Checks patch 2024-06-04 11:30:48 -03:00
MrPowerGamerBR
ad88829cde Fix missing namespaces on the SparklyPower Legacy NBT remapper 2024-06-01 11:00:30 -03:00
MrPowerGamerBR
35a6a315fc Remap SparklyPower hacky legacy NBT tags + Branding changes 2024-06-01 01:40:34 -03:00
MrPowerGamerBR
2063f83130 Update to Paper 1.20.6 2024-05-30 20:22:23 -03:00
MrPowerGamerBR
a48bd8375e Fix build 2024-04-20 15:51:02 -03:00
MrPowerGamerBR
d8d1aade1b Whoops 2024-03-20 14:12:47 -03:00
MrPowerGamerBR
89d1082cf2 Move RedstoneWireTurbo instance to be per world instead of sharing a global instance
Fixes #12
2024-03-20 14:08:37 -03:00
MrPowerGamerBR
7a80199414 Update upstream (yay finally)
Not tested in production yet, but soon it will be
2024-02-18 15:02:29 -03:00
MrPowerGamerBR
9be5db7f52 Update Upstream (Paper) 2024-01-03 01:44:34 -03:00
MrPowerGamerBR
5889520bba Disable Nether and End portals for non-player entities
We don't need portals for them on SparklyPower

Fixes #9
2023-12-26 17:19:16 -03:00