|
Download mc/mc-0018.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-0018.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/mc/mc-0018.jsonl
-
curl -L -o mc-0018.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0018.jsonl
1.73 kB
| {"type": "session", "harness": "opencode", "id": "mc-0018", "name": "Yarn vs Mojang mappings: naming conventions, differences, and tradeoffs"} | |
| {"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 are the differences between Yarn and Mojang mappings? Which should I use?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "Yarn and Mojang mappings differ in naming philosophy and community involvement:\n\n**Yarn advantages:**\n- Community-reviewed and refined names\n- More descriptive method/field names in some cases\n- Better documentation via community wiki\n- Consistent naming style across versions\n\n**Mojang advantages:**\n- Official - matches Mojang's internal code\n- Works across Fabric, Forge (NeoForge), and vanilla\n- Future-proof if Mojang continues releasing them\n- No community voting delays\n\nNaming example:\n```java\n// Mojang mapping\npublic void onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean moved) {}\n\n// Yarn mapping\npublic void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean moved) {}\n```\n\nSwitching between them in Loom:\n```groovy\n// Yarn\nmappings loom.yarnMappings(\"1.20.4\")\n\n// Mojang\nmappings loom.officialMojangMappings()\n```\n\nRecommendation: Use Mojang mappings for new projects unless you need Yarn-specific community documentation. Many modern mods and libraries now default to Mojmap for cross-loader compatibility."}} | |