Commit Graph

451 Commits

Author SHA1 Message Date
KennyTV
d183d76c47
Remove platform bulk chunk transformers 2021-05-02 10:12:37 +02:00
KennyTV
44e928d53c
Update copyright scopes 2021-04-30 19:05:07 +02:00
KennyTV
89127cad8a
If possible, user Paper internal injection method 2021-04-29 23:32:13 +02:00
KennyTV
ab93e0877c
Rename platform task implementations 2021-04-29 17:46:29 +02:00
KennyTV
96b5051c75
Use primitive long in task methods 2021-04-29 17:31:16 +02:00
KennyTV
cad358322d
Rename outgoing->clientbound, incoming->serverbound
Via can both be used on servers and clients, making a direction like "incoming" ambiguous
2021-04-28 16:30:34 +02:00
KennyTV
a2b3906c9e
Move bossbar to new legacy package, since it only works on <1.9
The newly created LegacyViaAPI is safe to use, but should hold methods that cannot be universally used on every version
2021-04-28 11:10:16 +02:00
KennyTV
95e20677fd
Clean up ProtocolPipeline
The filter functionality isn't something that's likely to be used again, so move out its usage and only check on <1.9 servers
2021-04-27 15:59:06 +02:00
KennyTV
f1c8d271b1
Reformat imports
The package rename wasn't done through refactoring but through simple replaces to not make git choke on diffs
2021-04-27 13:42:36 +02:00
KennyTV
318c49cf30
More interfaces, keep ProtocolRegistry.SERVER_PROTOCOL legacy api 2021-04-27 13:25:18 +02:00
KennyTV
30d122e7fa
Create some fancy interfaces 2021-04-26 23:01:55 +02:00
KennyTV
49d386063d
Add ProtocolVersion to legacy api 2021-04-26 21:45:27 +02:00
KennyTV
deec4b521e
Move some packages and classes around 2021-04-26 21:27:59 +02:00
KennyTV
a25a5634de
Change package/imports in classes and build configs 2021-04-26 20:52:34 +02:00
KennyTV
a3b1ce817e
Repackage to com.viaversion
This process will be split into multiple commits for git not to choke on.
2021-04-26 20:46:30 +02:00
KennyTV
ad0842c107
Bump version to 4.0.0, remove ProtocolRegistry
The bump was overdue given the breakages that have happened
2021-04-23 22:48:08 +02:00
KennyTV
144c24c276
Move packet tracking methods out of UserConnectionn 2021-04-20 13:24:10 +02:00
Jason
87d54f1103
Clean up build scripts using new Gradle features (#2436)
* Make use of `TYPESAFE_PROJECT_ACCESSORS` and `VERSION_CATALOGS` Gradle feature previews to clean up build scripts

* Bump setup-java action to v2, specify AdoptOpenJDK distribution
2021-04-14 14:16:48 +02:00
KennyTV
c7e5b4a297
Update to Gradle 7.0 2021-04-13 12:37:29 +02:00
KennyTV
7300a69817
Use Paper method to get server protocol version if possible 2021-04-12 20:11:13 +02:00
KennyTV
26bbc92f94
Warn about potentially unstable plugins/server software 2021-04-03 17:01:57 +02:00
MrMicky
9ccd8bff33
Fix error with shit-click on offhand slot on 1.8 servers (#2419) 2021-04-03 09:09:00 +02:00
KennyTV
070c7f5808
Move to checker qual nullability annotations 2021-04-02 14:15:30 +02:00
KennyTV
a63f2ab6fe
Improve server version API 2021-03-26 12:51:38 +01:00
KennyTV
63356207a3
ProtocolRegistry -> ProtocolManager interface 2021-03-24 15:30:03 +01:00
KennyTV
0ab2c626aa
Split parts of common into api; We are now GPL, api is MIT
This does not affect any previous states of this project; only future modifications as well as the project as a whole will be under the GNU General Public License from now on. The newly introduced api directory, partly split from common, is an exception to this, still being licensed under the MIT license.

See the README for details.
2021-03-24 14:02:37 +01:00
KennyTV
c059e57771
Move javassist to Bukkit moduke 2021-02-25 09:19:15 +01:00
jmp
024c36c584
Switch to indra, attempt to fix shading and universal jar 2021-02-25 09:19:14 +01:00
KennyTV
ef6c347194
*cries in elephant* 2021-02-25 09:19:14 +01:00
KennyTV
c0dabfe097
*cries in elephant* 2021-02-25 09:18:51 +01:00
KennyTV
0a41d36220
21w08a (aka the great splittening) 2021-02-24 23:38:28 +01:00
KennyTV
37004d8c4f
21w07a 2021-02-17 18:55:43 +01:00
KennyTV
e7b489f66e
This is actually 21w06a 2021-02-11 09:30:30 +01:00
KennyTV
4ff98256f6
21w06a 2021-02-10 19:09:33 +01:00
Myles
d1a0d629df Merge branch 'master' into dev 2021-02-09 16:32:44 +00:00
Myles
50bfc86706 Revert "The bytebuf doesn't need to be rewritten"
This reverts commit ac877d0b1a.
2021-02-09 16:32:31 +00:00
Myles
628979f923 Merge branch 'master' into dev 2021-02-09 10:36:54 +00:00
Myles
24b4cd8dbd Merge branch 'reduce-decode-rewriting' 2021-02-09 10:36:13 +00:00
Myles
727c575a1c Run QuickMove on next tick to improve likeliness of success (fixes #2044)
Since it is 5 ticks later, the inventory may be closed
2021-02-09 10:35:13 +00:00
Myles
ac877d0b1a The bytebuf doesn't need to be rewritten 2021-02-06 15:29:36 +00:00
KennyTV
e09c3b0159
Merge remote-tracking branch 'origin/master' into dev 2021-02-06 15:38:06 +01:00
creeper123123321
6941b48038 fixed pending #2291 changes 2021-02-06 10:21:34 -03:00
KennyTV
59e05e3096
21w05b 2021-02-04 19:11:24 +01:00
KennyTV
554fbb49c5
21w05a 2021-02-03 19:30:28 +01:00
KennyTV
c8c54786fc
21w03a 2021-01-20 17:59:34 +01:00
KennyTV
4cc8a3f092
Return -1 in getPlayerVersion if the player is not connected 2021-01-17 13:59:26 +01:00
Thibaut Gautier
91319402f3 Fixed encoding not properly working with other packet reading libraries
Injecting a message to byte encoder beforehand would break outbound packets in ViaVersion. This solution is a good fix which won't impact anything.
2021-01-17 13:12:18 +01:00
KennyTV
6622b7dcff
20w51a 2020-12-16 18:57:16 +01:00
Myles
c0fb81946e Snapshot 2020-12-12 13:16:13 +00:00
Myles
6c440513ba 3.2.1 2020-12-12 13:07:59 +00:00