跳到正文

File Copier

作者:TheOneTrueDev

File Copier allows you to copy specific files into any new world that is made. So you can copy data packs or custom NPCs with the custom NPC mod as an example.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

📁 File Copier Mod

undefined

A modern continuation of the Copy-Paste / Copied mods for automatic world data syncing.


📜 Overview

A Minecraft mod for Fabric and NeoForge that copies files from config/copy/ into newly created worlds.

Features

  • Automatic File Copying: Copies any files from config/copy/ into new worlds
  • Datapack Injection: Datapacks in config/copy/datapacks/ are loaded before world generation, allowing terrain-modifying datapacks to affect the spawn area
  • Hash-based Updates: Only copies files when they’ve changed (uses MD5 hashing)
  • Configurable: Option to copy to existing worlds or only new ones

Folder Structure

config/
├── copy/
│   ├── datapacks/           <- Datapacks loaded BEFORE world generation
│   │   ├── my_datapack/     <- Affects terrain generation at spawn!
│   │   │   ├── pack.mcmeta
│   │   │   └── data/
│   │   └── another.zip      <- Zip files supported
│   │
│   └── (other files)        <- Copied into world folder after creation
│
└── file_copier.properties   <- Configuration file

How It Works

Terrain-Modifying Datapacks

Datapacks placed in config/copy/datapacks/ are injected into Minecraft’s pack repository system via Mixin before world generation begins. This means:

  • Custom biomes will generate at spawn
  • Custom structures will appear in the initial terrain
  • Worldgen features work from the very first chunks

Other Files

Files placed directly in config/copy/ (not in the datapacks subfolder) are copied into the world folder after world creation, using the same relative path structure. This is fantastic for modpack devs who want to include customnpc data or schematics that will automagicaly copy into any world the user / server creates.

Configuration

Edit config/file_copier.properties:

# Set to false to only copy files into new worlds
copyExisting=true

💬 Credits

Huge thanks to the original creators of the Copy-Paste for the inspiration:

  • Girafi (Copy-Paste)
  • JoshieJack (Copy-Paste)
  • Petey (Copied fork)

And to the entire modding community for modern tooling support.

This project exists to keep the utility alive for current modpack creators. ❤️

常见问题

File Copier 支持哪些 Minecraft 版本?

File Copier 支持 Minecraft Java 版 1.20.1–1.21.11,共 12 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

File Copier 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

TheOneTrueDev 的其他作品

查看全部 →