Commit Graph

2132 Commits

Author SHA1 Message Date
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
Nassim Jahnke
a0f8ab7bbb
Some cleanup 2023-11-20 19:56:48 +01:00
Nassim Jahnke
1af2103f6c
And the serverbound one 2023-11-20 19:07:23 +01:00
Nassim Jahnke
8769742917
Also handle play resource pack 2023-11-20 19:04:32 +01:00
Nassim Jahnke
20f4907a23
1.20.3-pre1 (probably) 2023-11-20 17:55:28 +01:00
Nassim Jahnke
6fb27e5c17
A more probable probably 2023-11-19 16:18:56 +01:00
Nassim Jahnke
07b173bb74
23w46a (probably) 2023-11-19 16:13:04 +01:00
Nassim Jahnke
a2d287ff9f
23w45a 2023-11-09 15:35:07 +10:00
Nassim Jahnke
2881fb18e0 Include api sources in common sources jar 2023-11-06 20:04:45 +10:00
Nassim Jahnke
e356a35aa7 Improve Gradle scripts
Don't create runnable platform jars anymore, since all they really do is increase build time. Also fix texts and Gradle deprecations. Also also publish common with its shadowed configuration, not the plain java components.
2023-11-06 14:31:44 +10:00
Nassim Jahnke
ea818b272e FU 8.5.13 doesn't exist yet 2023-10-31 18:56:38 +10:00
Nassim Jahnke
dccac81286 Fix Bungee pipeline clearing, some cleanup 2023-10-31 13:00:35 +10:00
Jo0001
ba882f8f98 Update ViaSetup Link 2023-10-29 15:35:22 +01:00
EnZaXD
f618cdec99
Don't mention Spigot page anymore and move setting to right place in config.yml (#3505) 2023-10-27 09:16:14 +10:00
Nassim Jahnke
ec2093cf5d
23w43a 2023-10-26 10:20:18 +10:00
EnZaXD
eb9bc2fdce
Remove permission requirements for root command (#3502) 2023-10-24 13:34:29 +10:00
EnZaXD
f35b4f1fac
Add own permission for every sub command (#3501) 2023-10-24 12:59:10 +10:00
EnZaXD
abe880dae6
Implement provider to allow signed commands in 1.19.x protocols (#3493) 2023-10-24 10:04:54 +10:00
EnZaXD
2c6e18e4fe
Match current command input for sub argument tab completions (#3496) 2023-10-24 10:02:08 +10:00
RK_01
78c7f03923
Fix and improved custom payload handling (#3497) 2023-10-24 10:01:33 +10:00
RK_01
68a32ed2f0
Fix identifier handling and validation (#3498) 2023-10-24 09:58:43 +10:00
EnZaXD
7cf008bb62
Delete unused config option and add missing documentation (#3500) 2023-10-24 09:56:29 +10:00
RK_01
a60342359b
Fix 1.19.0 chat signing causing error message (#3494) 2023-10-23 10:28:44 +10:00
RK_01
0e269fa493
Implement support for chat signing (#3490) 2023-10-22 19:33:59 +10:00
Nassim Jahnke
815e0820da Fix 1.13->1.13.1 recipes, rename ITEM1_8_ARRAY 2023-10-21 13:22:25 +10:00
Nassim Jahnke
faedf26b5b Clean up Particle 2023-10-21 13:00:39 +10:00
RK_01
c7c38e70c0
Make ClientChunks a StorableObject (#3487) 2023-10-21 12:13:24 +10:00
Nassim Jahnke
7edde72416
Reuse 1.15, 1.16 and 1.16.2 chunk types as well 2023-10-20 12:43:46 +10:00
Nassim Jahnke
84a054aac1
Give PacketValue a generic type 2023-10-20 12:31:16 +10:00
Nassim Jahnke
8ebc8c34f3
Reuse old chunk type instances, more type cleanup 2023-10-20 12:30:03 +10:00
Nassim Jahnke
50e55529d9
Rename old position type 2023-10-19 21:15:26 +10:00
Nassim Jahnke
553dd2cb45
Move missed type 2023-10-19 21:08:00 +10:00
Nassim Jahnke
a30d62a995
Move and rename chunk types 2023-10-19 21:03:00 +10:00
Nassim Jahnke
08f6b3ce36
Only remove id field if it actually is a uuid 2023-10-19 12:16:22 +10:00
Nassim Jahnke
7d1b0d83ce
Fix minecart block state id 2023-10-19 11:03:39 +10:00
Nassim Jahnke
e7d0b01eee
23w42a 2023-10-19 10:53:14 +10:00
Nassim Jahnke
fdfc528a9a
Cleanup and renames around types 2023-10-19 09:28:21 +10:00
Nassim Jahnke
dccb6f234b
Add missing switch breaks 2023-10-18 19:48:19 +10:00
Nassim Jahnke
6e7f936e83
Move methods from VB to VV ComponentRewriter 2023-10-18 13:50:08 +10:00
Nassim Jahnke
ec26bafd53
Update ComponentRewriter with nbt methods 2023-10-18 13:26:09 +10:00
Nassim Jahnke
d7d7940d0b
Move protocol templates from wiki to extra module 2023-10-16 22:30:12 +10:00
Nassim Jahnke
667278f9e6 Handle booleans in json->tag conversion 2023-10-16 15:35:16 +10:00
Nassim Jahnke
fa7096c5c1 Convert boss bar packets 2023-10-13 23:28:16 +10:00
Nassim Jahnke
26dad99265
23w41a 2023-10-12 01:32:00 +10:00
Nassim Jahnke
5850a9852d More spring cleaning 2023-10-11 23:14:41 +10:00
Nassim Jahnke
095fe16447 Don't use not yet loaded platform logger in config 2023-10-11 13:23:40 +10:00
Nassim Jahnke
cbf8b8f401 Send last tags when re-entering config phase 2023-10-11 01:09:36 +10:00
Nassim Jahnke
d600b0cbe1 Queue join game first, then send config packets 2023-10-11 00:06:48 +10:00
Nassim Jahnke
0d70cdbe15 Fix uuid nbt conversion 2023-10-10 23:46:24 +10:00
Nassim Jahnke
b1b0874c0f Some cosmetic code changes and typo fixes 2023-10-08 20:54:04 +10:00
Nassim Jahnke
67ba0e9566 Fix typos of entity 2023-10-08 19:03:14 +10:00
Nassim Jahnke
bebdc34b4b Register config during manager init 2023-10-08 19:01:00 +10:00
Nassim Jahnke
3e0eb90662 Update OpenNBT (now ViaNBT) 2023-10-08 18:44:54 +10:00
Nassim Jahnke
d8f98945e2
Refactor ConfigurationProvider 2023-10-08 14:23:55 +10:00
RK_01
0c3d709456
Clear input buffer instead of reading remaining bytes (#3471) 2023-10-08 03:05:25 +00:00
EnZaXD
868c5ba203
Make registry fields in 1.8 ItemRewriter public (#3472) 2023-10-08 03:05:11 +00:00
Nassim Jahnke
0953ff77e4 Implement dumb nbt<->json component conversion 2023-10-07 23:28:42 +10:00
Nassim Jahnke
c211b10eaa
Rename NBT and NBT_ARRAY types, add TagType
In theory the nameless compound tag type doesn't exist as it is written as any tag, but in practice is almost always cast and checked for its type, so we keep the extra CompoundTagType (nameless) and add the proper TagType (nameless, any tag) used for components
2023-10-06 22:35:00 +10:00
Nassim Jahnke
def3bf9d4a
Add remaining packet transformers, missing actual component conversion 2023-10-06 08:57:00 +10:00
Nassim Jahnke
cb1b33b3e7
Start working on 23w40a 2023-10-05 18:22:13 +10:00
Nassim Jahnke
fdb7f47749 Properly throw the client information packet into the queue instead 2023-10-03 20:54:51 +10:00
Nassim Jahnke
cabb95a3a4 Schedule send client information 2023-10-03 20:39:46 +10:00
Nassim Jahnke
0b93af88a3 Re-send client information when re-entering play state
Fixes #3442
2023-10-03 19:49:55 +10:00
Unoqwy
11cb113619
Fix disconnecting error for unknown mobs with metadata (#3443) 2023-10-03 09:46:02 +00:00
Nassim Jahnke
429e4f0bff Switch server state after sending game profile
Probably fixes #3453
2023-09-28 11:12:46 +10:00
Nassim Jahnke
3b0d1d961a
Fix secondary effect reading in serverbound beacon
Fixes #3455
2023-09-28 09:34:26 +10:00
Nassim Jahnke
b4720c723a Fix biome and chunk size preconditions 2023-09-27 14:35:20 +10:00
Nassim Jahnke
215cbc6310 Fix 1.20.2 custom potion effect handling
Fixes #3448
2023-09-27 11:30:35 +10:00
RK_01
f07ba9b527
Reduce delay for sequence acknowledgements (#3445) 2023-09-26 10:53:36 +10:00
Nassim Jahnke
840770a350 Fix missing server state change 2023-09-25 20:11:29 +10:00
Nassim Jahnke
3997ea70f7
Fixup state splitting 2023-09-25 18:59:15 +10:00
Nassim Jahnke
854696abff
Add separate client and server protocol state 2023-09-25 16:44:41 +10:00
Nassim Jahnke
270d28f259
Don't cancel custom query answer 2023-09-25 08:56:26 +10:00