Fix AT lines which didn't work on some old dev environments. Closes #10735

This commit is contained in:
LexManos committed 2025-12-11 11:07:23 -08:00
1 parent 6f4f60e213
commit f5d4fbbee5
2 files changed
+3 -3

No files matched your search

@@ -289,6 +289,7 @@ class ATParser {
final String comment = idx === -1 ? null : line.substring(idx)
if (idx !== -1) line = line.substring(0, idx - 1)
final data = (line.trim() + ' ').split(' ', -1)
data[1] = data[1].replaceAll('/', '.') // Convert to Source names, internal names are fine by spec, but not supported by old AST based AT implementations.
new Entry(data[0], data[1], data[2], comment)
}
@@ -428,6 +428,7 @@ protected net.minecraft.client.gui.components.AbstractSliderButton m_293389_()Ln
public net.minecraft.client.gui.components.ChatComponent m_93814_()I # getHeight
public net.minecraft.client.gui.components.ChatComponent m_93815_()D # getScale
protected net.minecraft.client.gui.components.DebugScreenOverlay m_286013_(Lnet/minecraft/client/gui/GuiGraphics;Ljava/util/List;Z)V # renderLines
public net.minecraft.client.gui.components.debug.DebugScreenEntries m_419600_(Lnet/minecraft/resources/Identifier;Lnet/minecraft/client/gui/components/debug/DebugScreenEntry;)Lnet/minecraft/resources/Identifier; # register
public net.minecraft.client.gui.screens.MenuScreens m_96206_(Lnet/minecraft/world/inventory/MenuType;Lnet/minecraft/client/gui/screens/MenuScreens$ScreenConstructor;)V # register
public net.minecraft.client.gui.screens.MenuScreens$ScreenConstructor
public net.minecraft.client.gui.screens.Screen f_169369_ # renderables
@@ -812,6 +813,4 @@ public net.minecraft.world.level.storage.loot.functions.SetFireworksFunction <in
public net.minecraft.world.level.storage.loot.functions.SetItemFunction <init>(Ljava/util/List;Lnet/minecraft/core/Holder;)V # constructor
public net.minecraft.world.level.storage.loot.functions.SetWritableBookPagesFunction <init>(Ljava/util/List;Ljava/util/List;Lnet/minecraft/world/level/storage/loot/functions/ListOperation;)V # constructor
public net.minecraft.world.level.storage.loot.functions.SetWrittenBookPagesFunction <init>(Ljava/util/List;Ljava/util/List;Lnet/minecraft/world/level/storage/loot/functions/ListOperation;)V # constructor
public net.minecraft.world.level.storage.loot.functions.ToggleTooltips <init>(Ljava/util/List;Ljava/util/Map;)V # constructor
public net/minecraft/client/gui/components/debug/DebugScreenEntries m_419600_(Lnet/minecraft/resources/Identifier;Lnet/minecraft/client/gui/components/debug/DebugScreenEntry;)Lnet/minecraft/resources/Identifier; # register
public net/minecraft/world/entity/npc/villager/VillagerTrades$EmeraldsForVillagerTypeItem
public net.minecraft.world.level.storage.loot.functions.ToggleTooltips <init>(Ljava/util/List;Ljava/util/Map;)V # constructor