Commit Graph

635 Commits

Author SHA1 Message Date
Nassim Jahnke
04e936d487
Some more pre-sizing 2024-11-11 14:33:29 +01:00
Nassim Jahnke
e878d77959
Trim override materials are string to string 2024-11-06 10:42:18 +01:00
Nassim Jahnke
deab6a0cac
Don't allocate bufs in 1.18/1.20 chunk types
Unlike Mojang, we don't sneak a byte array of data outside of the actual packet reading, so there's no reason to not just use the original buffer.
Slicing doesn't allocate anything while also setting the reader index correctly, as also used in the previous types
2024-11-05 13:43:54 +01:00
Nassim Jahnke
77f0826ec8
Skip extra buf copying entirely if wrapper had no changes 2024-11-04 22:55:40 +01:00
Nassim Jahnke
157a1fe249
Small cleanup here and there 2024-11-03 17:12:29 +01:00
Nassim Jahnke
d48d0a21db
Prettify error messages 2024-11-02 23:13:56 +01:00
Nassim Jahnke
dcf050a604
Remove unneeded optional item type from Types1_21_2
Was only used in food properties up until 1.21.2 (luckily)
2024-10-31 09:57:04 +01:00
Nassim Jahnke
1f8d1339f5
Fix painting entity data in 1.21->1.21.2
Fixes #4227
2024-10-31 09:38:24 +01:00
Nassim Jahnke
ad83d01fad
Creaking transient extends creaking 2024-10-30 10:18:18 +01:00
Nassim Jahnke
7985b39ed5
Fix trail particle reading 2024-10-29 13:32:54 +01:00
Nassim Jahnke
f26e370a49
Handle 1.21.2 block_crumble particle 2024-10-29 13:15:40 +01:00
EnZaXD
c13b40a373
Add ParticleRewriter base (#4203)
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
2024-10-28 11:23:02 +01:00
Nassim Jahnke
df69f1f344
Fix InformativeException value shuffling 2024-10-26 18:55:32 +02:00
EnZaXD
009b6c810c
Fix and add missing javadocs in MappingData interface (#4202) 2024-10-26 18:55:08 +02:00
EnZaXD
65b76d53ef
Fix MappingDataBase#getOldBlockId implementation (#4201) 2024-10-26 17:24:34 +02:00
Nassim Jahnke
7be7139241
Handle entity type changes in show_entity hover events
Fixes #4199
2024-10-25 20:45:42 +02:00
Nassim Jahnke
46040b1f5d
Mark fallback return value in getProtocol as unknown 2024-10-23 17:04:54 +02:00
FlorianMichael
54daa11ce4
Fix ProtocolVersion#isKnown javadoc to make difference with isRegistered more clear 2024-10-23 17:02:45 +02:00
RaphiMC
c556420870
Add option to construct ChunkSectionLightImpl without block light 2024-10-23 16:42:21 +02:00
FlorianMichael
fa6eab5cc3 1.21.3 2024-10-23 15:42:16 +02:00
Nassim Jahnke
c242456c30
Remove snapshot version 2024-10-22 17:02:14 +02:00
Nassim Jahnke
8391e9d924
Fix consumable writing 2024-10-22 13:23:06 +02:00
Nassim Jahnke
82199d9f39
1.21.2-rc2 2024-10-21 18:36:50 +02:00
EnZaXD
e38b3f3824
Add new PROFILE_ACTIONS_ENUM type in Types for 1.21.2+ 2024-10-19 11:45:51 +02:00
Nassim Jahnke
4573035aab
1.21.2-rc1 2024-10-17 15:28:15 +02:00
Nassim Jahnke
393a5ee973
1.21.2-pre5 2024-10-16 16:06:39 +02:00
Nassim Jahnke
080dc18165
1.21.2-pre4 2024-10-15 15:08:36 +02:00
Nassim Jahnke
6fd421d36e
Fix finish configuration state change 2024-10-15 15:08:36 +02:00
Nassim Jahnke
cff2303c62
1.21.2-pre3 2024-10-15 15:08:36 +02:00
Nassim Jahnke
21fec0e263
1.21.2-pre2 2024-10-15 15:08:36 +02:00
Nassim Jahnke
e82f28c1ac
Rewrite particles 2024-10-15 15:08:35 +02:00
Nassim Jahnke
7c7239a70d
1.21.2-pre1 2024-10-15 15:08:35 +02:00
Nassim Jahnke
aabe47f8bc
Start working on recipe rewriting 2024-10-15 15:08:34 +02:00
Nassim Jahnke
f58afd434d
WIP 24w40a 2024-10-15 15:08:34 +02:00
Nassim Jahnke
e4e8297a82
24w39a 2024-10-15 15:08:33 +02:00
Nassim Jahnke
12b420d3e7
Send instrument registry, handle duration change from ticks to seconds 2024-10-15 15:08:33 +02:00
Nassim Jahnke
db20bc0ae4
24w38a 2024-10-15 15:08:33 +02:00
Nassim Jahnke
f0b2d9aafe
24w37a 2024-10-15 15:08:32 +02:00
Nassim Jahnke
9c35228287
24w36a 2024-10-15 15:08:32 +02:00
Nassim Jahnke
f9ec6b9d03
Split holder implementation 2024-10-15 15:08:31 +02:00
Nassim Jahnke
22d396d909
Add item hover event handling 2024-10-15 15:08:31 +02:00
Nassim Jahnke
39b28e21ca
24w35a, including missed change from 33a 2024-10-15 15:08:31 +02:00
Nassim Jahnke
0488cb7fbe
Fix item type in 1.21.2 entity data 2024-10-15 15:08:31 +02:00
Nassim Jahnke
ec4aa0637e
24w34a 2024-10-15 15:08:31 +02:00
Nassim Jahnke
c150e50636
Store attribute mappings in full 2024-10-15 15:08:30 +02:00
Nassim Jahnke
033741d292
WIP 24w33a 2024-10-15 15:08:20 +02:00
EnZaXD
9674c617ca
Add option to fix wrong block placement rotation in 1.20.5->1.21 (#4166) 2024-10-06 15:19:05 +02:00
Nassim Jahnke
c358c39027
Make clearer distinction between filled and empty data component patch, simplify direct value getting 2024-09-29 13:34:32 +02:00
EnZaXD
a0a2794291
Change player parent to living entity base in 1.9/1.12 entity enums (#4154) 2024-09-20 13:35:58 +02:00
EnZaXD
e436bbe375
Refactor dimension switch handling across all protocols (#4146) 2024-09-15 21:51:29 +02:00