Commit Graph

2104 Commits

Author SHA1 Message Date
EnZaXD
d58c80cd2f
Add ProtocolVersionRange API (#3691) 2024-02-14 09:51:56 +01:00
Nassim Jahnke
7a6c51331b
Move config load after platform creation 2024-02-13 23:37:00 +01:00
Nassim Jahnke
564286d742
Remove version check from config
The platform might now always be available
2024-02-13 23:18:39 +01:00
Nassim Jahnke
dcc0642af9
Replace more raw versions with ProtocolVersion 2024-02-13 22:48:08 +01:00
Nassim Jahnke
621c02f974
Move some data out of extending MappingData classes 2024-02-13 18:41:05 +01:00
Nassim Jahnke
22bd350e35
Add proper ProtocolVersion comparison 2024-02-13 18:40:21 +01:00
Nassim Jahnke
a8dc5f0f07
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/data/entity/DimensionDataImpl.java
#	common/src/main/java/com/viaversion/viaversion/rewriter/EntityRewriter.java
#	common/src/main/java/com/viaversion/viaversion/update/UpdateUtil.java
2024-02-12 10:44:03 +01:00
Nassim Jahnke
d76edced04
Update template protocol 2024-02-12 10:40:17 +01:00
Nassim Jahnke
cfc048ba53
Small random cleanup 2024-02-11 10:46:08 +01:00
Nassim Jahnke
8a485db580
Replace tag instanceof checks/unchecked casts with helper methods 2024-02-10 23:28:36 +01:00
Nassim Jahnke
e0f32d9f2f
Merge remote-tracking branch 'origin/master' into dev 2024-02-08 22:02:25 +01:00
EnZaXD
ad62d8552c
Use correct logger for configuration warnings (#3685)
Fixes https://github.com/ViaVersion/ViaProxy/issues/179
2024-02-08 22:02:13 +01:00
Nassim Jahnke
4a8bd2cca2
24w06a 2024-02-07 18:29:19 +01:00
Nassim Jahnke
0fcb764652
24w05b 2024-02-01 17:49:58 +01:00
Nassim Jahnke
46e322b2f3
Merge branch 'master' into dev 2024-01-31 22:28:22 +01:00
Nassim Jahnke
87d444a017
Only rewrite pages in written book 2024-01-31 22:24:17 +01:00
Nassim Jahnke
e020c616c9
24w05a 2024-01-31 17:36:12 +01:00
Nassim Jahnke
da87241549
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/rewriter/ItemRewriter.java
2024-01-29 17:26:49 +01:00
EnZaXD
0d788b0d7a
Clean up more item type usage in ItemRewriter (#3674) 2024-01-29 17:21:59 +01:00
Nassim Jahnke
1c6f8426f1
Log the error by default, instead check suppression config 2024-01-29 10:32:02 +01:00
Nassim Jahnke
01f28a052c
Ignore errors in book conversion 2024-01-29 10:17:00 +01:00
Nassim Jahnke
cfc9011cee
Push books through component conversion in 1.20.2->1.20.3
Fixes #3579
2024-01-27 20:51:28 +01:00
Nassim Jahnke
6473b608f6
Merge branch 'master' into dev
# Conflicts:
#	.github/workflows/gradle.yml
2024-01-27 13:49:48 +01:00
Nassim Jahnke
a5bd8abe93
Resize registry data array to actual size once collected 2024-01-27 13:49:27 +01:00
EnZaXD
f3d95b1e5e
Fix elytra not working with firework rockets in 1.14 -> 1.13.2 (#3669)
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/331
2024-01-27 13:46:20 +01:00
Nassim Jahnke
c8d339ab30
Add generic types on base protocols 2024-01-27 13:45:40 +01:00
Nassim Jahnke
8000561ae9
Handle registry data with skipped ids 2024-01-26 16:05:58 +01:00
Nassim Jahnke
1dafa7d273
Cleanup config packet registration in newer protocols 2024-01-26 15:48:10 +01:00
Nassim Jahnke
37561705ed
24w04a 2024-01-24 20:23:33 +01:00
Nassim Jahnke
00176c4a0c
Merge branch 'master' into dev 2024-01-24 17:27:04 +01:00
Nassim Jahnke
7b8a33cc78
Small refactor to UpdateUtil 2024-01-20 16:34:18 +01:00
Nassim Jahnke
ceae2c2094
Rewrite transfer intention on older servers 2024-01-18 21:44:26 +01:00
Nassim Jahnke
52b9db5029
Handle new client intent 2024-01-18 21:22:44 +01:00
Nassim Jahnke
27af372f79
Block entity tags are no longer nullable 2024-01-18 20:46:25 +01:00
Nassim Jahnke
c4e50efa90
24w03b 2024-01-18 16:10:09 +01:00
Nassim Jahnke
fa1ae5b9c9
Entity sound did not change 2024-01-18 12:00:19 +01:00
Nassim Jahnke
8f6784e0e2
Respect previous buffer types in particle rewriting 2024-01-18 10:25:58 +01:00
Nassim Jahnke
5d5c98acc6
24w03a (maybe, and it's a bit ugly) 2024-01-17 22:55:16 +01:00
vadage
5b29ac0d8a
Support config loading from input stream as fallback if URL cannot be acquired (#3647) 2024-01-14 10:04:15 +01:00
Nassim Jahnke
0946c72bdc
Update missing filterFamily method name change 2024-01-12 16:01:30 +01:00
Nassim Jahnke
05470c5f1b
Merge branch 'master' into dev 2024-01-12 15:59:42 +01:00
Nassim Jahnke
0392992173
Fix metadata regression
Fixes #3645
2024-01-12 15:58:49 +01:00
Nassim Jahnke
34bd15dec7
Merge branch 'master' into dev
# Conflicts:
#	template/src/main/java/com/viaversion/viaversion/template/protocols/rewriter/EntityPacketRewriter1_99.java
2024-01-12 10:30:24 +01:00
Nassim Jahnke
ef78fcd478
Update API license headers and scope 2024-01-12 10:21:45 +01:00
EnZaXD
9d646543b6
Change depthsuspend to mycelium in 1.13 -> 1.12.2 (#3616) 2024-01-12 09:59:17 +01:00
Nassim Jahnke
aecef3c3f8
Remove a few deprecated methods 2024-01-09 20:51:32 +01:00
Nassim Jahnke
5991ac5633
Update old metadata handlers, some cleanup 2024-01-09 20:43:43 +01:00
Nassim Jahnke
930454a723
Reset reader 2024-01-09 18:57:33 +01:00
Nassim Jahnke
b6ba7dcc44
Handle 1.20->1.20.2 tags 2024-01-09 17:18:32 +01:00
Nassim Jahnke
abb05ce902
Merge remote-tracking branch 'origin/master' into dev 2024-01-04 17:50:24 +01:00
Nassim Jahnke
bd2c4c8a16
Update license headers 2024-01-01 12:39:45 +01:00
Nassim Jahnke
f6c49555bf
Update ViaNBT 2023-12-31 13:38:14 +01:00
Nassim Jahnke
7b4d544e85
Catch tag to json conversion exceptions 2023-12-30 17:25:54 +01:00
Nassim Jahnke
fe0fbc7081
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/util/NBTConverter.java
2023-12-29 16:50:47 +01:00
Nassim Jahnke
bae3d8ec8a
Use viafied mcstructs 2023-12-29 16:50:21 +01:00
RK_01
00b8d22cf6
Fix 1.19 -> 1.18.2 ENTITY_EFFECT translation (#3605) 2023-12-27 22:11:34 +01:00
Nassim Jahnke
d62284e9cd
Make NBTConverter public 2023-12-27 20:20:09 +01:00
Nassim Jahnke
3904ed4fd7
Merge branch 'master' into dev 2023-12-27 19:44:46 +01:00
RK_01
28a0813676
Cleanup of mcstructs branch (#3604) 2023-12-27 19:37:48 +01:00
Nassim Jahnke
f2f357b2ae
Finish up things 2023-12-27 17:30:27 +01:00
Nassim Jahnke
dc2986600c
Use 1.12 serializer for json to legacy conversion 2023-12-27 11:40:45 +01:00
Nassim Jahnke
984c625776
Methods for VB 2023-12-26 23:59:48 +01:00
Nassim Jahnke
c62a8274ed
Use mcstructs for component conversion 2023-12-26 23:38:02 +01:00
RK_01
64c436c2e1
Handle invalid config data types (#3595) 2023-12-26 13:18:55 +01:00
Jerry Xiao
0e31664bfe
Fix hoverEvent translation from 1.20.2 to 1.20.3 in some cases (#3591) 2023-12-22 12:10:29 +01:00
Nassim Jahnke
794f401bd0
Add armadildo state meta type 2023-12-18 19:34:53 +01:00
Nassim Jahnke
dc732fac6f
23w51b 2023-12-18 18:52:18 +01:00
Nassim Jahnke
2f8114abb1
Finish 23w51a, maybe 2023-12-18 17:14:24 +01:00
Nassim Jahnke
90781c9d27
Start working on 23w51a 2023-12-18 15:58:49 +01:00
Myles
9b1716b662
Merge pull request #3581 from Jo0001/master
Use our own site for update check
2023-12-16 18:15:23 +00:00
Jo0001
dcd4502f5a Use own update site 2023-12-16 18:02:35 +00:00
Aeltumn
5d4b104b33
Try to schedule sending on switch (#3587) 2023-12-16 16:20:53 +01:00
Jo0001
82e05afacf Use GitHub for update check 2023-12-13 15:08:06 +00:00
Nassim Jahnke
5c8c589a40
Change read method type in update score packet 2023-12-13 12:06:44 +01:00
Nassim Jahnke
70645ec5ee
Add system property to print components before conversion 2023-12-11 12:47:00 +01:00
Nassim Jahnke
4aefc23bb8
Fix npe 2023-12-10 12:16:53 +01:00
Nassim Jahnke
2c9affa0e3
Move component conversion into its own class
Remove serialized component type in 1.20.3->1.20.2
2023-12-10 12:10:15 +01:00
Nassim Jahnke
1656ad45a0
Fix quotation marks appearing in mixed json arrays
Fixes #3572
2023-12-10 10:58:44 +01:00
Nassim Jahnke
ec2397472d
Fix 1.13->1.13.1 handling of particles with items
Fixes #3553
2023-12-10 10:11:47 +01:00
Nassim Jahnke
cf5f5ed4bb
Fix conversion of mixed json arrays 2023-12-09 15:19:05 +01:00
Nassim Jahnke
9387b86e4a
Clone tags instead of abusing double conversion 2023-12-08 21:23:57 +01:00
Nassim Jahnke
f762da2725
Include 1.20.4 in .3 version range 2023-12-07 22:22:30 +01:00
Nassim Jahnke
3b9ac89d73
Create pack uuid from hash
Fixes #3554
2023-12-07 11:14:04 +01:00
Nassim Jahnke
23ba848a69
Convert chat type in disguised chat packet
Fixes #3551
2023-12-07 10:10:07 +01:00
Nassim Jahnke
d98c458a4c
Queue plugin message in 1.20->1.20.2 again 2023-12-06 23:30:31 +01:00
Nassim Jahnke
1ad65d1bb0
Add component types in conversion 2023-12-06 10:55:12 +01:00
David Lüdtke
d44d89099b
Fix LazilyParsedNumber conversion ViaVersion/ViaVersion#3546 (#3550) 2023-12-06 09:50:33 +01:00
Nassim Jahnke
d5326fad95
Use correct type 2023-12-06 09:44:20 +01:00
Nassim Jahnke
7de9bc604a
Handle configuration tags packet
Fixes #3549
2023-12-06 09:41:49 +01:00
Nassim Jahnke
dfee03ddbf
Fix map data reading
Fixes #3545
2023-12-05 22:17:42 +01:00
Nassim Jahnke
0b1423d8b4
4.9.1 Release - fix resource pack status handling 2023-12-05 17:56:18 +01:00
RK_01
9b09b1f5f8
Fix #3542 (#3543) 2023-12-04 10:09:25 +01:00
RK_01
1f453dc0d9
Change gamemode data type in JOIN_GAME handlers (#3541) 2023-12-03 18:35:19 +01:00
RK_01
916c08ce7e
Handle invalid entity equipment slots properly (#3540) 2023-12-03 18:34:14 +01:00
RK_01
0ac29fb2c2
Return air instead of stone for unknown block ids (#3539) 2023-12-03 18:33:34 +01:00
Nassim Jahnke
45d08e9066
Directly send pong, plugin message, and keep alive in 1.20.2->1.20 2023-12-03 10:02:36 +01:00
Nassim Jahnke
6d82839e6d
1.20.3-pre4 2023-11-28 16:58:32 +01:00
Nassim Jahnke
4add75cda7
Fix reset score writing 2023-11-26 15:31:33 +01:00
Nassim Jahnke
42f38c3209
Drop old resource packs 2023-11-21 07:35:44 +01:00
Nassim Jahnke
151ecdcd72
Don't resend pack in 1.20->1.20.2 for 1.20.3 clients 2023-11-20 20:01:06 +01:00