Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 2.46 KB

README.md

File metadata and controls

35 lines (27 loc) · 2.46 KB

MCT Data Pack Template

This template is designed to be used for new MCT Data Packs. Data Packs for MCT have to be able to communicate to each other, so there are a few rules to follow, outlined below.

Using this Template

To use this template, follow GitHub's own instructions on creating a repository from a template.

  • Go to the homepage of this repository
  • Select Use this template
  • Choose Create a new repository
  • Configure the repository as normal
  • Click Create repository from template
  • Follow the instructions in the template repository's Getting Started section to fill out the boiler plate items, rename folders, and initialize the repository.

Getting Started

Requirements

You must follow these rules to maintain compatibility across MCT data packs:

  • The folder with the function/ directory must start with mct-, match the name of your repository, and be all lowercase.
    • That way it's easy to keep track of when /function commands are trying to use other Data Pack's .mcfunctions.
  • Ensure your scoreboard names are unique across MCT Data Packs. Otherwise there will be conflicts.
  • Describe the purpose of every .mcfunction file in a comment at the top
    • use the # character at the start of a line to make it a comment