issue with json file for multiples rifts
DAWPE opened this issue ยท 2 comments
Hello YUNG !
First of all, this mod is awesome !
But i have an issue with the json file :
I'm creating a custom modpack where you start in the lost cities dimension. i manage to make the rifts spawn in that dimension that teleports you to the nether.
But, i want to add more rift in addition to those rifts directly in the nether this time. (The aim is to go to the abyss from the nether)
so you have : lost cities -> the nether -> the abyss
So my question is : how do you configure mutiples types of rifts using the variant system ?
You just add additional entries to the variants
list in rifts.json
.
An example that adds an additional rift to the Nether (identical to the rifts that spawn in the Overworld) that teleports you to the End:
{
"variants": [
{
"blockSelector": {
"entries": {
"minecraft:netherrack": 0.7,
"minecraft:gilded_blackstone": 0.05,
"minecraft:obsidian": 0.1,
"minecraft:blackstone": 0.1,
"minecraft:crying_obsidian": 0.05
},
"defaultBlock": "minecraft:cave_air"
},
"fluidColor": {
"red": "19",
"green": "00",
"blue": "20",
"alpha": "FC"
},
"minY": 10,
"maxY": 15,
"playerTeleportedMinY": 100,
"playerTeleportedMaxY": 120,
"spawnChance": 0.05,
"spawnDimension": "minecraft:overworld",
"targetDimension": "minecraft:the_nether",
"spawnPlatformBlock": "minecraft:netherrack"
},
{
"blockSelector": {
"entries": {
"minecraft:netherrack": 0.7,
"minecraft:gilded_blackstone": 0.05,
"minecraft:obsidian": 0.1,
"minecraft:blackstone": 0.1,
"minecraft:crying_obsidian": 0.05
},
"defaultBlock": "minecraft:cave_air"
},
"fluidColor": {
"red": "19",
"green": "00",
"blue": "20",
"alpha": "FC"
},
"minY": 10,
"maxY": 15,
"playerTeleportedMinY": 100,
"playerTeleportedMaxY": 120,
"spawnChance": 0.05,
"spawnDimension": "minecraft:the_nether",
"targetDimension": "minecraft:the_end",
"spawnPlatformBlock": "minecraft:netherrack"
}
]
}