|
Download mc/mc-0019.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0019.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/mc/mc-0019.jsonl
-
curl -L -o mc-0019.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0019.jsonl
1.73 kB
| {"type": "session", "harness": "opencode", "id": "mc-0019", "name": "tiny-remapper, SpecialSource, and Manifold: remapping Minecraft classes"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert Minecraft modder who understands mapping systems (Mojang, Yarn, Intermediary) and how to work with unobfuscated/deobfuscated Minecraft source code."}} | |
| {"type": "message", "message": {"role": "user", "content": "What tools are available for remapping Minecraft classes between different mapping sets?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "Several tools handle Minecraft class remapping:\n\n**tiny-remapper** (Fabric's tool):\n```bash\njava -jar tiny-remapper.jar \\\n --in-jar mod-yarn.jar \\\n --out-jar mod-intermediary.jar \\\n --in-map yarn.tiny \\\n --out-map intermediary.tiny \\\n --in-path /path/to/minecraft.jar\n```\n\n**SpecialSource** (Forge tool):\n```bash\njava -jar SpecialSource.jar map \\\n --in-jar input.jar \\\n --out-jar output.jar \\\n --srg-in srg.srg\n```\n\n**Mapping-io** (Java library):\n```java\nMappings mappings = Mappings.create();\nMappingReader.get(MappingFormat.TINY_V2).read(Paths.get(\"mappings.tiny\"), mappings);\nMappingSourceNamespaceRemapper remapper = new MappingSourceNamespaceRemapper(mappings);\nremapper.rename(\"intermediary\", \"named\");\n```\n\n**Fabric Loom's built-in remapping:**\n```java\ntask remapMod(type: net.fabricmc.loom.task.RemapJarTask) {\n input = jar.getArchiveFile()\n archiveBaseName = \"mod-remapped\"\n mappings = loom.officialMojangMappings()\n}\n```\n\nAll tools operate on the classfile bytecode level, renaming packages, classes, methods, and fields according to the mapping files."}} | |