Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding custom world presets #79

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2ed0556
this is from several months ago lol
woodiertexas Jan 29, 2024
1aa9fa7
add explanation of differences between QMJ/FMJ
woodiertexas Jan 29, 2024
f6e4ef5
get rid of qmj/fmj explanation because it should have been its own PR
woodiertexas Jan 29, 2024
c343501
add reasoning for making a custom worldtype
woodiertexas Jan 29, 2024
549e472
add basic explanation of what a worldtype is
woodiertexas Jan 29, 2024
101acb6
so this is how images should be set up?
woodiertexas Jan 29, 2024
6012c21
fix copy and paste error from several months ago lol
woodiertexas Jan 30, 2024
4c24626
example_world_type -> example_mod_preset
woodiertexas Jan 30, 2024
38d5340
explain more stuff
woodiertexas Jan 30, 2024
d391a27
Merge remote-tracking branch 'origin/rewrite' into rewrite
woodiertexas Jan 30, 2024
974ac91
explain more stuff
woodiertexas Jan 30, 2024
fd44187
explain the 3 generator types
woodiertexas Jan 30, 2024
ab94dcf
reword generator explanation
woodiertexas Jan 30, 2024
262881f
break the json into a million little pieces
woodiertexas Feb 6, 2024
48405f2
ditto
woodiertexas Feb 6, 2024
509c578
remove extra }
woodiertexas Feb 6, 2024
8001127
intro to world types 9th edition for $359.99
woodiertexas Feb 6, 2024
4761ef4
chapter 1, world type dimensions
woodiertexas Feb 6, 2024
9d7463b
chapter 2, world preset generation settings
woodiertexas Feb 6, 2024
22cff02
chapter 3, superflat generation settings WIP
woodiertexas Feb 6, 2024
79ebc72
add line breaks
woodiertexas Feb 6, 2024
ce34889
apparently linebreaks mess up codeblocks if used incorrectly
woodiertexas Feb 6, 2024
8d18bf1
reword generator intro
woodiertexas Feb 6, 2024
6f9e663
add link to mc wiki about world presets using settings
woodiertexas Feb 6, 2024
94143f8
add blurb about adding your world preset to world preset tags
woodiertexas Feb 6, 2024
2378d9a
Update wiki/misc/worldtypes.md
woodiertexas Feb 7, 2024
cd5794b
Update wiki/misc/worldtypes.md
woodiertexas Feb 7, 2024
64ac6c7
Update worldtypes.md
woodiertexas Feb 7, 2024
70fa6f4
move text below a codeblock
woodiertexas Feb 7, 2024
a84e773
github is very well made /s
woodiertexas Feb 7, 2024
eec1a37
get rid of anything referencing flat or debug worldtypes
woodiertexas Feb 7, 2024
7571587
add filepaths above json snippets
woodiertexas Feb 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions wiki/misc/worldtypes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: Adding a Custom World Preset
woodiertexas marked this conversation as resolved.
Show resolved Hide resolved
---

# Adding custom world presets
To add your custom world preset(s), you have to navigate to your mod/datapack's `resources/data` folder.

Make a file titled `example_mod_preset.json` in `../example_mod/worldgen/world_preset` and populate it with the following:
```json
{
"dimensions": {
"minecraft:overworld": {
"type": "minecraft:overworld",
"generator": {
"type": "minecraft:noise",
"biome_source": {
"type": "minecraft:multi_noise",
"preset": "minecraft:overworld"
},
"settings": "example_mod:example_mod_noise"
}
}
}
}
```
- `"dimensions`: The dimension(s) in your custom world preset. It is recommended to have at least `"minecraft:overworld"`, `"minecraft:nether"`, and `"minecraft:the_end"`.
woodiertexas marked this conversation as resolved.
Show resolved Hide resolved
- `"minecraft:overworld"`: This is required, otherwise your world preset will not work.
woodiertexas marked this conversation as resolved.
Show resolved Hide resolved
- `"type"`: The namespace ID for the dimension you're using.
woodiertexas marked this conversation as resolved.
Show resolved Hide resolved
- `"generator"`: Various settings to tell Minecraft how to generate the terrain found in this dimension.
- `"settings"`: What perlin noise to use for worldgen in this dimension.
woodiertexas marked this conversation as resolved.
Show resolved Hide resolved

woodiertexas marked this conversation as resolved.
Show resolved Hide resolved

Make a file titled `normal.json` in `../minecraft/tags/worldgen/world_preset` and populate it with the following:
woodiertexas marked this conversation as resolved.
Show resolved Hide resolved
This will tell Minecraft to show your world preset when you go to create a new world.
```json
{
"values": [
"wonders:wonders"
ix0rai marked this conversation as resolved.
Show resolved Hide resolved
]
}
```
Loading