mirror of
https://github.com/TicTicBoooom-Mods/MasterfulMachinery.git
synced 2026-03-18 21:40:34 +01:00
added some stuff for wiki
This commit is contained in:
@@ -18,7 +18,7 @@ apply plugin: 'net.minecraftforge.gradle'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
version = '1.16.5-0.1.20-T' + System.currentTimeMillis()
|
||||
version = '1.16.5-0.1.21-T' + System.currentTimeMillis()
|
||||
group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = 'MasterfulMachinery'
|
||||
|
||||
|
||||
13
wiki_src/archetypes/gallery.md
Normal file
13
wiki_src/archetypes/gallery.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
description: ""
|
||||
lead: ""
|
||||
date: {{ .Date }}
|
||||
lastmod: {{ .Date }}
|
||||
draft: true
|
||||
weight: 50
|
||||
images: ["{{ .Name | urlize }}.jpg"]
|
||||
contributors: []
|
||||
---
|
||||
|
||||
{{< img src="{{ .Name | urlize }}.jpg" alt="{{ replace .Name "-" " " | title }}" caption="{{ replace .Name "-" " " | title }}" class="wide" >}}
|
||||
@@ -227,3 +227,8 @@ body {
|
||||
.katex {
|
||||
font-size: $font-size-md;
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
max-width: 700px;
|
||||
}
|
||||
@@ -6,10 +6,10 @@
|
||||
url = "/docs/intro/"
|
||||
|
||||
[[docs]]
|
||||
name = "Config"
|
||||
name = "Controllers & Ports"
|
||||
weight = 10
|
||||
identifier = "config"
|
||||
url = "/docs/controllers/"
|
||||
url = "/docs/config/"
|
||||
|
||||
[[docs]]
|
||||
name = "Process Recipes"
|
||||
@@ -22,6 +22,7 @@
|
||||
weight = 60
|
||||
identifier = "structures"
|
||||
url = "/docs/structures/"
|
||||
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
url = "/docs/intro/welcome/"
|
||||
|
||||
@@ -7,4 +7,3 @@ draft: true
|
||||
images: []
|
||||
---
|
||||
|
||||
{{< email user="hello" domain="getdoks.org" >}}
|
||||
|
||||
32
wiki_src/content/docs/config/controller.md
Normal file
32
wiki_src/content/docs/config/controller.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: "Step By Step"
|
||||
description: "Config for defining Controllers and Ports."
|
||||
lead: "All config driven blocks must bge created in the modpack config folder under the masterful_machinery directory/folder."
|
||||
date: 2020-10-06T08:49:31+00:00
|
||||
lastmod: 2020-10-06T08:49:31+00:00
|
||||
draft: false
|
||||
images: [ '/assets/images/screenshot.png']
|
||||
menu:
|
||||
docs:
|
||||
parent: "config"
|
||||
weight: 630
|
||||
toc: true
|
||||
---
|
||||
|
||||
## Why not DataPack For The Blocks?
|
||||
|
||||
In minecraft blocks and items are registered a long time before the datapack's are even loaded. This means that to register blocks and items from JSON files, the mod must have a non-datapack-driven way of creating and configuring those blocks and such.
|
||||
|
||||
# Creating A Controller Block
|
||||
|
||||
Firstly, we must create the block which controls and handles the machines and recipes. This block is called a Controller.
|
||||
|
||||
To create a controller block you must navigate to the following directory/folder relative to the `.minecraft` or the equivalent root directory/folder for your modpack.
|
||||
|
||||
Path: `/config/masterful_machinery/controllers`.
|
||||
|
||||
Once you are inside the above directory. create a new JSON file, you can call it anything you want as long as it ends in `.json`.
|
||||
|
||||
Open the JSON file in your favorite JSON supporting text editor
|
||||
|
||||

|
||||
@@ -17,6 +17,7 @@ toc: true
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "masterfulmachinery:machine_structure"
|
||||
"type": "masterfulmachinery:machine_structure",
|
||||
"controllerId": [""]
|
||||
}
|
||||
```
|
||||
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
Reference in New Issue
Block a user