Creating your own V2 contentpacks¶
Your contentpacks is made up from multiple parts, you can find a short description and the documentation here:
-
landofsignals.json (required)
This file contains the name, author, version of your contentpack.
It also contains links to your blocks or contentsets.
-
Signal
This is a simple signal, it has a more strict and simpler structure.
It is more performance-friendly and requires fewer lines.
It has only one controllable group and the model can only be changed via its texture.
If this suits your needs, this is the preferable option. -
Complex signal
This is a complex signal, its flexible and opens a lot of options.
It is less performance-friendly and needs a lot more lines.
It can have multiple independently controllable groups.
The state can be changed via texture, obj-groups or with different objs.
If you have a model/multiple models or want to create a complex block, this is your best option. -
Asset/Deco
Blocks that are not supposed to have any functionality can be added as a DECO block.
They have their own creative tab. -
Sign
Signs are similar to assets/deco blocks, they have their own creative tab.
They are supposed to support text-input in the future. (TBD see #120) -
Signalbox
¶
Signalboxes are similar to assets/deco blocks.
They can be connected to (complex) signals to control them. -
Lever
The newest addition: Levers!
If you want to add a custom lever/switch that emits redstone when active, this is it.
It is similar to the signs and assets/deco - difference: You have to state an active and inactive state.
-
Flares (optional, nice to have)
If your model contains lamps or other parts that are supposed to glow, this is the right place.
Flares are oriented to your models and light up when the right state is set.
They can be added to signals, complex signals, deco/assets, signs and levers.Documentation to be created (#133)
-
Contentsets (optional)
This is its own file containing more blocks.
It does not contain any logic, the only advantage is that you can group different blocks in your contentpack that belong together.
It can help with keeping an overview, depending on the amount of blocks you want to add.