|
Download mc/mc-0021.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.89 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0021.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/mc/mc-0021.jsonl
-
curl -L -o mc-0021.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0021.jsonl
1.89 kB
| {"type": "session", "harness": "opencode", "id": "mc-0021", "name": "NeoForge's switch to Mojang mappings and migration impact"} | |
| {"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": "How did NeoForge's switch to Mojang mappings affect the ecosystem?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "NeoForge adopted Mojang mappings as the official mapping set starting with Minecraft 1.20.2, replacing the legacy SRG/MCP system.\n\n**Before (Forge):**\n```java\n// SRG names in compiled mods\npublic void m_6720_(Level p_46726_, BlockPos p_46727_, BlockState p_46728_, boolean p_46729_) {\n // Legacy MCP/SRG naming\n}\n```\n\n**After (NeoForge):**\n```java\n// Mojang names in compiled mods\npublic void onRemove(BlockState state, Level level, BlockPos pos, BlockState newState, boolean moved) {\n // Official Mojang naming\n}\n```\n\n**Migration impact:**\n1. **Code compatibility** - Existing Forge mods need name updates\n2. **Mixins** - Refmaps now use Mojang names\n3. **Dependencies** - Libraries must support Mojmap\n4. **Tooling** - IDE support shifted to Mojang names\n\n**NeoForge build.gradle:**\n```groovy\nplugins {\n id 'net.neoforged.moddev' version '2.0.28-beta'\n}\n\nminecraft {\n accessTransformers {\n // AT files now use Mojang names\n }\n runs {\n client {\n property 'neoforge.enabledGameTestNamespaces', 'mymod'\n }\n }\n}\n```\n\n**Migration tool:**\n```bash\n# Using ForgeGradle's remapping tools\n./gradlew updateMappings --mappings=official\n```\n\nThis change aligned NeoForge with Fabric's Mojmap support, making cross-loader development easier."}} | |