Skip to content

Datapack Format

Patrigan edited this page Jan 30, 2022 · 2 revisions

Most of FactionCraft's content is added through a unique datapack format. Modpack makers can fully customize how factions look and behave through easy to understand datapacks. Adding the datapack works exactly as it does in vanilla minecraft, so it shouldn't pose too much troubles.

Datapacks?

New to making a datapack? The Fandom Wiki's datapack creation page has you covered. Just imagine the below formats to be in the very same vanilla list and everything will work out just fine. This wiki will try to adhere to the same format as found on the Fandom Wiki.

Namespace

The namespace in a datapack works a bit like your mod name. Mods have their own datapacks included with their own namespace.

FactionCraft namespace

FactionCraft's namespace is faction_craft. In this namespace we have added some basic examples that utilize vanilla Minecraft to create some new unique variations.

Minecraft Namespace

The Minecraft Namespace is used to create a close to faithful rendition of the vanilla raids. That way you can add FactionCraft without any knowledge of modpacks and still get to enjoy the new scaling difficulties that it brings.

Other Mods

All mods can add their own unique stuff to this mod, by simply adding new files in their own datapack format. Modpack makers do not need to worry about this affecting their carefully crafted modpack, these files can be disabled/adjusted both by using a replacing datapack file or by excluding them in the Config File.

Formats

Folder Structure

Clone this wiki locally