Main Setup
Setting World Type on Single Player as Default​
To set the world type to skyblockbuilder:skyblock
when playing single player, start the game once and it will
generate a config file named forge-common.toml
. Update the only value in the file as follows:
[general]
defaultWorldType = "skyblockbuilder:skyblock"
Alternatively, you can manually create the forge-common.toml
file in the config directory with the above content.
Setting World Type on Server as Default​
For servers, you can provide a custom server.properties
file by setting the level-type
to
skyblockbuilder:skyblock
. The rest of the setup is the same as
in single player.
Creating a Custom Skyblock Island​
- Build an island.
- Use the custom item
Structure Saver
from the vanilla Tools tab in the creative inventory. The output directory for this will be<minecraft>/skyblock_exports/<name>.nbt
. Alternatively, use the vanilla Structure Block, noting it can only save islands up to 48x48x48 blocks. The output for this will be in<minecraft>/saves/<world>/generated/minecraft/structures/<name>.nbt
. - Copy the generated file to
config/skyblockbuilder/templates/<name>.nbt
. - Configure the template with a readable name and spawns in
config/skyblockbuilder/templates.json5
. Multiple spawns can be defined as arrays with[x, y, z]
coordinates relative to the template structure's origin (0, 0, 0). You can also modify existing spawns and export them using/skyblock spawns EXPORT
. Note: These commands require the world typeSkyblock
. - View current spawns by running
/skyblock spawns debug
. - Apply the new spawn points by copying them into the
config/skyblockbuilder/templates.json5
file.
Setting a Default Spawn Island​
To set a default spawn island for new worlds, use the spawn
setting. If spawn
is set to null
, the default team
template will be used instead.
For more details on how to configure spawn
, see Configuring Templates.
Setting Multiple Templates​
To enable multiple schematics, place them in config/skyblockbuilder/templates/
. Users can select these templates by
pressing the Customize
button in the world options screen or by changing the schematic with the
/skyblock manage islandShape <template>
command, where <template>
is the name specified in
the next chapter. IMPORTANT: Do not name any schematic files template.nbt
to avoid
overwriting the default schematic.
Configuring Templates​
To configure templates and set spawn points, edit config/skyblockbuilder/templates.json5
as detailed
in Creating a Custom Skyblock Island. The spawns
option holds multiple spawn
point sets:
{
"spawns": {
"default": [
[ 6, 3, 5 ]
]
}
}
Each object key (e.g., default
) is referenced by the templates
section:
{
"templates": [
{
"name": "default",
"desc": "Default template",
"file": "default.nbt",
"spawns": "default",
"direction": "south"
}
]
}
name
: The name displayed on theCustomize
screen.desc
: A description shown on theCustomize
screen when choosing the world type.file
: The filename of the template.spawns
: The spawn configuration name, taken from thespawns
option.direction
: The direction the user should face for this template. Defaults tosouth
if not specified.
You can differentiate multiple configurations with the same file
and spawns
using unique names. Additionally, you
can set an icon for each template by placing it in config/skyblockbuilder/templates/icon/<name>.png
, where <name>
must be in lowercase.
If spawning inside a block, add the block to the
#skyblockbuilder:additional_valid_spawns
block tag.
Loot Chests on Island​
To add a loot chest to an island, set the NBT data to the chest with the command:
/data merge block <x y z> {LootTable: modid:path/to/loot_table}
Do not open the chest after merging this data.