-
-
Notifications
You must be signed in to change notification settings - Fork 0
Datapack usage
To create a datapack you can follow this guide.
However, if you're creating a mod, you should just put your files under resources/data/
.
Make sure you put all the required files under server_sided_portals
namespace for them to be recognized.
A custom dimension is created via a single JSON file, and it defines world generation.
You can use this generator to create your own.
A custom dimension type is created via a single JSON file, and it defines dimension properties, for example whether beds work.
You can use this generator to create your own.
A portal frame consists of the blocks around the actual portal that allow its formation.
To define which blocks your custom portal frame can be made of you just have to create a block tag.
Each block listed in your block tag can be used to create your custom portal frame interchangeably. Also, when the game automatically creates one of your custom portals, each block will be chosen randomly from the block tag.
The name of the block tag needs to be the same as your dimension: if your dimension file is called my_dim.json
, then your block tag needs to be my_dim.json
as well.
If you have any suggestions or questions about this wiki, please open an issue following the Documentation enhancement template.