Drop mappings declaration for unobfuscated 26.2
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Starting with 26.1 Mojang ships Minecraft unobfuscated, and Yarn / Intermediary are no longer published past 1.21.11. Loom does not need a mappings dependency in that mode: the Mojang-named source compiles directly. Remove the mappings line, drop the yarn_mappings property, revert the client entrypoint to Mojang names (Minecraft, Component, ChatFormatting, gui.getChat(), getUser().getName()), and rewrite the README note so it stops claiming Mojang mappings via Loom.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
Дата релиза `Minecraft 26.2`: `2026-06-16`.
|
||||
|
||||
Для этой версии я использую official Mojang mappings через Loom, потому что стандартный Yarn endpoint для `26.2` на момент правки ещё не отдавал mappings.
|
||||
Начиная с `26.1` Mojang перестал обфусцировать клиент, а Yarn и Intermediary перестали публиковаться после `1.21.11`. Поэтому в `build.gradle` нет блока `mappings` вообще: исходники Minecraft уже в человекочитаемых именах Mojang, и Loom собирает мод напрямую против них.
|
||||
|
||||
Если в CI стоит старый Loom вроде `1.10.5`, сборка `26.2` упадёт с ошибкой `Unsupported class file major version 69`. Для `26.2` нужен новый Loom из актуальной ветки Fabric.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user