90 lines
3.5 KiB
Plaintext
90 lines
3.5 KiB
Plaintext
{
|
|
// The dimension the islands will be generated in.
|
|
"dimension": "minecraft:overworld",
|
|
|
|
// The blocks which you can interact with within the spawn protection
|
|
// This is a resource list. See https://moddingx.org/libx/org/moddingx/libx/util/data/ResourceList.html#use_resource_lists_in_configs
|
|
"interactionBlocksInSpawnProtection": {
|
|
"allow_list": true,
|
|
"elements": [
|
|
"gravestone:gravestone",
|
|
"tombstone:grave_simple"
|
|
]
|
|
},
|
|
|
|
// The entities which you can interact with within the spawn protection
|
|
// This is a resource list. See https://moddingx.org/libx/org/moddingx/libx/util/data/ResourceList.html#use_resource_lists_in_configs
|
|
"interactionEntitiesInSpawnProtection": {
|
|
"allow_list": true,
|
|
"elements": []
|
|
},
|
|
|
|
// The items which you can interact with within the spawn protection
|
|
// This is a resource list. See https://moddingx.org/libx/org/moddingx/libx/util/data/ResourceList.html#use_resource_lists_in_configs
|
|
"interactionItemsInSpawnProtection": {
|
|
"allow_list": true,
|
|
"elements": [
|
|
"tombstone:grave_key"
|
|
]
|
|
},
|
|
|
|
// The radius to find a valid spawn if no given spawn is valid
|
|
// Minimum: 0
|
|
"radius": 50,
|
|
|
|
// If set to true, the first island will not be generated at 0 ~ 0, but start with the next coordinate.
|
|
// Useful if end dimension is used for spawns.
|
|
"skipCenterIslandCreation": false,
|
|
|
|
// A list of event types which will be prevented:
|
|
// interact_entities = Interacting with entities, e.g. riding a pig
|
|
// interact_blocks = Interacting with blocks, e.g. activating buttons, placing, or destroying blocks
|
|
// mob_griefing = Mobs destroying the world
|
|
// explosions = TNT, creeper, or other explosions
|
|
// crop_grow = Crops increasing their growth status
|
|
// apply_bonemeal = Prevents crops being grown using the bonemeal effect some twerking mods use
|
|
// mobs_spawn = Mobs spawning
|
|
// mobs_spawn_egg = Mobs being summoned using a spawn egg
|
|
// damage = Attacking others, or getting attacked
|
|
// healing = Getting healed and saturated on spawn
|
|
"spawnProtectionEvents": [
|
|
"interact_entities",
|
|
"interact_blocks",
|
|
"mob_griefing",
|
|
"explosions",
|
|
"crop_grow",
|
|
"mobs_spawn",
|
|
"mobs_spawn_egg",
|
|
"damage",
|
|
"healing"
|
|
],
|
|
|
|
// The radius of chunks where to apply spawn protection. In this area, only op players can avoid this.
|
|
"spawnProtectionRadius": 20,
|
|
|
|
"Height": {
|
|
|
|
// If the spawn height type is set to "range", this offset will be used to slightly move the spawn height in any direction.
|
|
// Negative values go down, positive values go up.
|
|
"offset": 0,
|
|
|
|
// You can set a range from minY to maxY. minY is the bottom spawn position. maxY is the top spawn dimension.
|
|
// If you set the spawn height type to "set", the bottom value will be used for a set height. Otherwise, the height will be calculated.
|
|
"range": {
|
|
"bottom": 64,
|
|
"top": 319
|
|
},
|
|
|
|
// set:
|
|
// Uses the bottom height of the range
|
|
// range_top:
|
|
// Searches from the top position down to the bottom position for a valid spawn.
|
|
// If no valid position was found, the top position will be used.
|
|
// range_bottom:
|
|
// Searches from the top position down to the bottom position for a valid spawn.
|
|
// If no valid position was found, the bottom position will be used.
|
|
// Allowed values: set, range_bottom, range_top
|
|
"spawnType": "set"
|
|
}
|
|
}
|