3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-19 22:40:16 +01:00
Commit graph

553 Commits

Autor SHA1 Nachricht Datum
Nassim Jahnke
426bd9aa99
More handled structures 2024-04-06 21:26:13 +02:00
Nassim Jahnke
7a66bb8e1c
More handled structures 2024-04-06 21:25:39 +02:00
Nassim Jahnke
329abcac7d
More handled structures 2024-04-06 21:25:08 +02:00
Nassim Jahnke
0961de898d
Handle books, among other things 2024-04-06 21:25:05 +02:00
Nassim Jahnke
b4ee564aa2
24w10a, more item component work 2024-04-06 21:23:57 +02:00
EnZaXD
617ef10667
Remove MetaType1_8#NonExistent (#3774) 2024-04-05 19:48:59 +02:00
EnZaXD
b113a82710
Catch errors in <= 1.20 custom payload reading (#3770) 2024-04-04 22:25:02 +02:00
EnZaXD
3ee4c8ed63
Make ViaVersion fake nbt format consistent (#3771)
Adding ItemRewriter#nbtTagName utils to prefix nbt tags with a consistent format:
<Platform>|<Protocol name>|<original nbt name>
2024-04-04 09:31:58 +02:00
Nassim Jahnke
307414eb51
Move simple mcstructs usage into utils 2024-04-01 14:13:43 +02:00
EnZaXD
0a2fd8f296
Add MappingDataLoader#getLogger and MappingDataLoader#getDataFolder (#3757) 2024-03-24 22:04:41 +01:00
EnZaXD
f2c816df72
Add mapped and unmapped identifier read method (#3756) 2024-03-24 12:14:42 +01:00
EnZaXD
098f7ff3c2
Allow platforms to use the mapping system (#3754) 2024-03-24 11:10:20 +01:00
RK_01
18f04bf8ea
Add more functionality to ChunkUtil (#3755) 2024-03-24 11:05:30 +01:00
Nassim Jahnke
b426302e76
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java
#	common/src/main/java/com/viaversion/viaversion/rewriter/EntityRewriter.java
#	gradle/libs.versions.toml
2024-03-09 12:59:36 +01:00
Nassim Jahnke
3442cda8ce
Update ViaNBT 2024-03-09 12:57:55 +01:00
Nassim Jahnke
93990c8baa
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java
#	common/src/main/java/com/viaversion/viaversion/rewriter/EntityRewriter.java
#	gradle.properties
#	gradle/libs.versions.toml
2024-03-07 13:45:10 +01:00
Nassim Jahnke
f868dfa125
Update ViaNBT 2024-03-07 13:30:33 +01:00
Nassim Jahnke
386495e168
Handle map related data and skull owners
Co-authored-by: Drex <nicknamedrex@gmail.com>
2024-03-06 13:26:06 +01:00
EnZaXD
908823c612
Make ItemRewriter type getters nullable and optional (#3737) 2024-03-05 23:23:57 +01:00
Nassim Jahnke
2d03110f08
Small refactor 2024-03-01 14:10:44 +01:00
Nassim Jahnke
92878a39ef
We continue to fall 2024-03-01 13:46:26 +01:00
Nassim Jahnke
39180e22b8
The endless pit continues to be endless 2024-03-01 12:13:43 +01:00
Nassim Jahnke
f68aed464d
Once again refactor structured data storage
Optionals are no more
2024-02-29 19:59:18 +01:00
Nassim Jahnke
6ffa24b50b
Add todos 2024-02-29 18:23:46 +01:00
Nassim Jahnke
e51d7b3fdb
Fix initial item sending, add some data translation and more rigid data structures 2024-02-29 17:03:50 +01:00
Nassim Jahnke
01bb8dedda
More renames 2024-02-29 12:08:29 +01:00
EnZaXD
6cdca97d35
Add classic version range to VersionType#CLASSIC javadoc (#3729) 2024-02-29 11:11:23 +01:00
Nassim Jahnke
aa262bb0a5
Rename itemdata to be more generic 2024-02-28 22:46:33 +01:00
Nassim Jahnke
2480eb6a7f
Start working on 24w09a 2024-02-28 22:15:31 +01:00
Nassim Jahnke
56b82b049a
Move a few methods out of AbstractProtocol 2024-02-27 17:21:27 +01:00
EnZaXD
3c0930c62f
Use existing ProtocolVersion#getProtocol when possible (#3720) 2024-02-27 14:02:16 +01:00
EnZaXD
7640342165
Don't require a base protocol for current version in BaseProtocol (#3709) 2024-02-23 15:13:33 +01:00
Nassim Jahnke
4e1d4a75b2
Small refactors around ProtocolPipeline and concurrent collections
Make concurrency handling in ProtocolPipelineImpl more defensive, as generally the pipeline is expected to never be called from multiple threads. The only case to look out for is pipeline additions during protocol transformation in a base protocol
2024-02-21 12:18:19 +01:00
RK_01
78aecbddf8
Don't add base protocols when using special versions (#3704) 2024-02-18 21:55:14 +01:00
Nassim Jahnke
a8fbb000eb
Add ProtocolManager#hasLoadedMappings 2024-02-15 18:27:52 +01:00
Nassim Jahnke
e2a7e10312
Add back default getProtocolPath with int versions 2024-02-15 15:45:23 +01:00
Nassim Jahnke
35578372a1
Fix isWorkingPipe and cursed ProtocolVersion comparator 2024-02-14 22:45:34 +01:00
EnZaXD
08d8ccf6ca
Don't add ProtocolVersion#unknown into ProtocolVersion#VERSION_LIST (#3697) 2024-02-14 21:07:36 +01:00
EnZaXD
35ceee1a47
Rename ProtocolVersion#v1_7_1 to v1_7_2 (#3696) 2024-02-14 20:14:17 +01:00
Nassim Jahnke
dccda57fc0
Consistent equalTo names 2024-02-14 19:14:41 +01:00
Nassim Jahnke
c124c1c809
Sort ProtocolVersions version list, fix base protocol registration 2024-02-14 17:57:00 +01:00
EnZaXD
302716054d
Port of internals and API to ProtocolVersion (#3694) 2024-02-14 17:56:28 +01:00
Nassim Jahnke
46a5bb16d7
24w07a 2024-02-14 17:32:13 +01:00
EnZaXD
f3f7ea7987
Fix version ranges in VersionType (#3692) 2024-02-14 09:57:41 +01:00
EnZaXD
e62c4a3f9e
Rename comparing methods in ProtocolVersion (#3693) 2024-02-14 09:54:15 +01:00
EnZaXD
d58c80cd2f
Add ProtocolVersionRange API (#3691) 2024-02-14 09:51:56 +01:00
Nassim Jahnke
dcc0642af9
Replace more raw versions with ProtocolVersion 2024-02-13 22:48:08 +01:00
EnZaXD
e449599ae7
Add ProtocolVersion#betweenInclusive and ProtocolVersion#betweenExclusive (#3690) 2024-02-13 21:50:19 +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
4a8bd2cca2
24w06a 2024-02-07 18:29:19 +01:00
Nassim Jahnke
0fcb764652
24w05b 2024-02-01 17:49:58 +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
Nassim Jahnke
1c6f8426f1
Log the error by default, instead check suppression config 2024-01-29 10:32:02 +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
ce8fab7c44
Cleanup config packet registering in AbstractProtocol 2024-01-26 14:35:19 +01:00
Nassim Jahnke
37561705ed
24w04a 2024-01-24 20:23:33 +01:00
Nassim Jahnke
c4e50efa90
24w03b 2024-01-18 16:10:09 +01:00
Nassim Jahnke
5d5c98acc6
24w03a (maybe, and it's a bit ugly) 2024-01-17 22:55:16 +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
Nassim Jahnke
aecef3c3f8
Remove a few deprecated methods 2024-01-09 20:51:32 +01:00
Nassim Jahnke
abb05ce902
Merge remote-tracking branch 'origin/master' into dev 2024-01-04 17:50:24 +01:00
Nassim Jahnke
f6c49555bf
Update ViaNBT 2023-12-31 13:38:14 +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
Valaphee The Meerkat
18f2cf25cd
Read 1.8 chunk block id as unsigned (#3578) 2023-12-22 10:22:22 +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
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
f762da2725
Include 1.20.4 in .3 version range 2023-12-07 22:22:30 +01:00
Nassim Jahnke
6efeb16822
4.9.0 Release 2023-12-04 10:11:08 +01:00
RK_01
851295d48c
Ignore invalid chunk data in legacy versions (#3538) 2023-12-03 18:37:57 +01:00
Nassim Jahnke
bc0bef2e07
1.20.3-rc1 2023-11-30 15:56:05 +01:00
Nassim Jahnke
6d82839e6d
1.20.3-pre4 2023-11-28 16:58:32 +01:00
Nassim Jahnke
c039f4e24c
1.20.3-pre3 2023-11-27 17:09:59 +01:00
Nassim Jahnke
28f661f270
1.20.3-pre2 2023-11-22 16:31:21 +01:00
Nassim Jahnke
a0f8ab7bbb
Some cleanup 2023-11-20 19:56:48 +01:00
Nassim Jahnke
20f4907a23
1.20.3-pre1 (probably) 2023-11-20 17:55:28 +01:00
Nassim Jahnke
07b173bb74
23w46a (probably) 2023-11-19 16:13:04 +01:00
Nassim Jahnke
dbf4271c9d
Fix 1.20.3 component meta type 2023-11-09 17:34:06 +10:00
Nassim Jahnke
a2d287ff9f
23w45a 2023-11-09 15:35:07 +10:00
Nassim Jahnke
58ca2024e1 Add static chunkKey method in ChunkPosition 2023-11-06 20:17:42 +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
0474810b8d 23w44a 2023-11-02 10:46:28 +10:00
Nassim Jahnke
ec2093cf5d
23w43a 2023-10-26 10:20:18 +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
0f030c86a7
Implement size var int in all chunk types correctly (#3495) 2023-10-24 10:03:32 +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
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
Nassim Jahnke
21d293dd7f Rneame CustomByteType -> FixedByteArrayType 2023-10-20 17:22:00 +10:00
Nassim Jahnke
6481cec270
Just store whether to read skylight directly 2023-10-20 17:09:40 +10:00
Nassim Jahnke
54c04a62e0
Store environment instead of clientlevel in chunk types 2023-10-20 16:56:53 +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
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
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
d7d7940d0b
Move protocol templates from wiki to extra module 2023-10-16 22:30:12 +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
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
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
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
cb1b33b3e7
Start working on 23w40a 2023-10-05 18:22:13 +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
489b28e520
4.8.0 Release 2023-09-21 10:34:20 +10:00
Nassim Jahnke
1f0a4c26db
1.20.2-rc2 2023-09-19 00:07:43 +10:00
Nassim Jahnke
9c90445c9c
Release ConfigurationState buffers on disconnect
They're heap buffers, but still good practice
2023-09-16 13:27:23 +10:00
Nassim Jahnke
494e6ffc05
1.20.2-rc1 2023-09-16 10:19:49 +10:00
Nassim Jahnke
a196dbc16b
1.20.2-pre4 2023-09-14 09:03:13 +10:00
Nassim Jahnke
8934bbdfc3
1.20.2-pre3 2023-09-12 23:06:54 +10:00
Nassim Jahnke
cc7c571a3c 1.20.2-pre2 2023-09-08 09:05:31 +10:00
Nassim Jahnke
a109118a97 1.20.2-pre1 2023-09-06 00:56:31 +10:00
Nassim Jahnke
f50751ed48 [ci skip] Update blossom 2023-09-05 21:10:43 +10:00
Nassim Jahnke
625373827c Fix MetaTypes1_20_2 item type 2023-08-31 11:44:55 +10:00
Nassim Jahnke
a9288ebd3a 23w35a 2023-08-31 00:42:47 +10:00
Nassim Jahnke
0c9f3aa080 23w33a 2023-08-18 01:27:00 +10:00
Pablo Herrera
e112f81ec8
Optimize memory allocation for data palette (#3402) 2023-08-14 10:40:10 +10:00
Nassim Jahnke
573cdfb3ac Merge remote-tracking branch 'origin/master' into dev 2023-08-10 21:49:26 +10:00
Nassim Jahnke
c5e066e050 23w32a 2023-08-10 13:35:47 +10:00
Nassim Jahnke
9c92ccea77 Finish up state switching 2023-08-06 15:40:15 +10:00
RK_01
c1cd8bc03e
Allow skylight to be set to null (#3396) 2023-08-06 11:08:52 +10:00
Nassim Jahnke
fb472c3454 Cleanup imports 2023-08-04 12:25:29 +10:00
Nassim Jahnke
ac10bb3fd0 Complete 23w31a protocol 2023-08-04 12:22:18 +10:00
Nassim Jahnke
62c0ef360f More absolutely cursed WIP 2023-08-03 21:58:23 +10:00
Nassim Jahnke
8c6d104faa 23w31a eletric boogaloo 2023-08-03 19:47:18 +10:00
Nassim Jahnke
6586fc1436 More work on the snapshot 2023-08-03 18:36:30 +10:00
Nassim Jahnke
6dfd4747ee Start working on 23w31a 2023-08-03 13:58:22 +10:00
RK_01
2ec6185c46
Fix <= 1.14 position y sign reading (#3381) 2023-07-12 19:10:49 +02:00
Nassim Jahnke
7edb43844c
Properly handle item display rotation change
Fixes #3354
2023-07-02 13:27:03 +02:00
Nassim Jahnke
08b2d78165
Move dump creation to util class 2023-06-14 23:13:44 +02:00
Nassim Jahnke
9a1598b9ed
Update 1.20/1.20.1 protocol version 2023-06-12 16:47:22 +02:00
EnZaXD
28ba4afc27
Added VersionInfo#getVersion to bypass Java inlining (#3344) 2023-06-09 08:52:30 +02:00
Nassim Jahnke
f1b5f9223a
4.7.0 Release 2023-06-06 13:30:57 +02:00
Nassim Jahnke
e4a1530aa8
Fix >1.18 vibration particle handling 2023-06-06 13:28:02 +02:00