Skip to content

MetaMods-MC/PHP-ModPack-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP ModPack Builder

Minecraft modpack MetaMods like format builder.

Requirements

Installation

Use composer to install this package:

composer require metamods/php-modpack-builder

Usage

Create instance of Modpack:

use MetaMods\Modpack;

$modpack = Modpack::create($name, $version, $summary);

Pass name of your modpack, optional version and optional summary as description.

To add some resource use next:

use MetaMods\Resources\Mod;

$modpack->add(new Mod('ae2'));

If you want to add multiple resources:

$modpack->add([
    new Mod('ae2'),
    new Mod('industrial-craft')
]);

And then build your modpack:

$modpack->build();

Supported resource types

Mods

use MetaMods\Resources\Mod;

$mod = new Mod('ae2');

You can find the entire mod catalog on MetaMods.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages