Complete 1.13-1.14 item palettes

This commit is contained in:
Anon 2026-05-02 19:22:08 +02:00
parent 8e31a37ea9
commit 72001554a8
4 changed files with 2467 additions and 27 deletions

View file

@ -3925,9 +3925,9 @@ namespace MinecraftClient.Protocol.Handlers
private bool SkipRecipeBookSettings(Queue<byte> packetData)
{
// MC 1.13 uses 4 booleans for the crafting/smelting recipe book states.
// MC 1.14+ expands this to 8 booleans by adding blast furnace and smoker states.
int boolCount = protocolVersion >= MC_1_14_Version ? 8 : 4;
// MC 1.13-1.16.1 uses 4 booleans for the crafting/smelting recipe book states.
// MC 1.16.2+ expands this to 8 booleans through RecipeBookSettings.
int boolCount = protocolVersion >= MC_1_16_2_Version ? 8 : 4;
if (packetData.Count < boolCount)
return false;