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