Add new minecraft mod configuration files

This commit is contained in:
Tristan Daniël Maat 2021-08-20 23:41:28 +01:00
parent 544036d4e4
commit b17ac84693
Signed by: tlater
GPG key ID: 49670FD774E43268
62 changed files with 2183 additions and 0 deletions

View file

@ -0,0 +1,69 @@
######################################################
# README for the rifts.json and monoliths.json files #
######################################################
NOTE -- EDITING THE rifts.json and monoliths.json FILES REQUIRES A MINECRAFT RESTART TO UPDATE!
Each of these JSON files contains the 'variants' property, which is a list of all the rifts and monoliths to spawn, respectively.
Each dimensional rift in rifts.json is an object with the following properties:
- blockSelector: A BlockSetSelector describing the blocks this rift is made of.
See the bottom of this README for documentation on BlockSetSelectors.
- fluidColor: The color of ANY DIMENSIONAL PLASMA IN THIS DIMENSION. Keep in mind this hue is added to the base purple hue
- red: Any hex string from 00 to FF.
- green: Any hex string from 00 to FF.
- blue: Any hex string from 00 to FF.
- alpha: Any hex string from 00 to FF.
- minY: The minimum y-coordinate a rift can spawn at.
- maxY: The maximum y-coordinate a rift can spawn at.
- playerTeleportedMinY: The minimum y-coordinate a player can be teleported to in the target dimension.
- playerTeleportedMaxY: The maximum y-coordinate a player can be teleported to in the target dimension.
- spawnDimension: The dimension this rift will spawn in. This MUST be distinct for each variant! In other words - only ONE variant per dimension!
- targetDimension: The dimension this rift will teleport you to. This does not have to be distinct for each variant.
- spawnChance: The chance of a Rift spawning.
- spawnPlatformBlock: Sometimes, when teleporting the player, a small 3x3 platform is generated for the player to stand on.
This is the block the platform will be made of. Should be a block that matches the target dimension well.
Each monolith in monoliths.json is an object with the following properties:
- stairSelector: A BlockSetSelector describing the stairs on the perimeter of this monolith.
- cornerSelector: A BlockSetSelector describing the blocks on the corners of this monolith.
- insideSelector: A BlockSetSelector describing the blocks making up the inside of this monolith.
- fenceSelector: A BlockSetSelector describing the fences used in this monolith.
- powerBlock: The block required to power this monolith.
- decorationBlock: The block in the four corners of the power grid at the center of this monolith.
- beamStopBlocks: A list of blocks through which the beams of ANY RECLAIMERS PLACED IN THIS DIMENSION cannot pass.
- unpoweredBeamColor: The color of the beam of ANY RECLAIMER IN THIS DIMENSION, when UNPOWERED.
- red: Any hex string from 00 to FF.
- green: Any hex string from 00 to FF.
- blue: Any hex string from 00 to FF.
- alpha: Any hex string from 00 to FF.
- poweredBeamColor: The color of the beam of ANY RECLAIMER IN THIS DIMENSION, when POWERED.
- red: Any hex string from 00 to FF.
- green: Any hex string from 00 to FF.
- blue: Any hex string from 00 to FF.
- alpha: Any hex string from 00 to FF.
- minY: The minimum y-coordinate this monolith can spawn at.
- maxY: The maximum y-coordinate this monolith can spawn at.
- playerTeleportedMinY: The minimum y-coordinate a player can be teleported to in the target dimension.
- playerTeleportedMaxY: The maximum y-coordinate a player can be teleported to in the target dimension.
- spawnDimension: The dimension this monolith will spawn in. This MUST be distinct for each variant! In other words - only ONE variant per dimension!
- targetDimension: The dimension this monolith will teleport you to. This does not have to be distinct for each variant.
- spawnChance: The chance of a Monolith spawning.
BlockSetSelector information:
A BlockSetSelector describes a set of blocks and the probability of each block being chosen.
Each BlockSetSelector has the following two fields:
- entries: An object where each entry's key is a block, and each value is that block's probability of being chosen.
The total sum of all probabilities SHOULD NOT exceed 1.0!
- defaultBlock: The block used for any leftover probability ranges.
For example, if the total sum of all the probabilities of the entries is 0.6, then
there is a 0.4 chance of the defaultBlock being selected.
Here's an example BlockSetSelector:
"entries": {
"minecraft:cobblestone": 0.25,
"minecraft:air": 0.2,
"minecraft:stonebrick[variant=stonebrick]": 0.1
},
"defaultBlock": "minecraft:planks[variant=oak]"
For each block, this selector has a 25% chance of returning cobblestone, 20% chance of choosing air,
10% chance of choosing stone bricks, and a 100 - (25 + 20 + 10) = 45% chance of choosing oak planks (since it's the default block).

View file

@ -0,0 +1,55 @@
{
"variants": [
{
"stairSelector": {
"entries": {
"minecraft:blackstone_stairs[facing=north,half=bottom,shape=straight,waterlogged=false]": 0.5,
"minecraft:polished_blackstone_brick_stairs[facing=north,half=bottom,shape=straight,waterlogged=false]": 0.5
},
"defaultBlock": "minecraft:blackstone_stairs[facing=north,half=bottom,shape=straight,waterlogged=false]"
},
"cornerSelector": {
"entries": {},
"defaultBlock": "minecraft:chiseled_polished_blackstone"
},
"insideSelector": {
"entries": {
"minecraft:cracked_polished_blackstone_bricks": 0.2
},
"defaultBlock": "minecraft:polished_blackstone_bricks"
},
"fenceSelector": {
"entries": {
"minecraft:polished_blackstone_wall[east=none,north=none,south=none,up=true,waterlogged=false,west=none]": 0.33,
"minecraft:blackstone_wall[east=none,north=none,south=none,up=true,waterlogged=false,west=none]": 0.33,
"minecraft:polished_blackstone_brick_wall[east=none,north=none,south=none,up=true,waterlogged=false,west=none]": 0.33
},
"defaultBlock": "minecraft:blackstone_wall[east=none,north=none,south=none,up=true,waterlogged=false,west=none]"
},
"powerBlock": "minecraft:gold_block",
"decorationBlock": "minecraft:yellow_glazed_terracotta[facing=north]",
"beamStopBlocks": [
"minecraft:obsidian"
],
"unpoweredBeamColor": {
"red": "14",
"green": "0c",
"blue": "24",
"alpha": "FF"
},
"poweredBeamColor": {
"red": "FF",
"green": "DC",
"blue": "73",
"alpha": "FF"
},
"minY": 35,
"maxY": 70,
"playerTeleportedMinY": 11,
"playerTeleportedMaxY": 30,
"spawnChance": 0.1,
"spawnDimension": "minecraft:the_nether",
"targetDimension": "minecraft:overworld"
}
]
}

View file

@ -0,0 +1,30 @@
{
"variants": [
{
"blockSelector": {
"entries": {
"minecraft:obsidian": 0.1,
"minecraft:crying_obsidian": 0.05,
"minecraft:gilded_blackstone": 0.05,
"minecraft:blackstone": 0.1,
"minecraft:netherrack": 0.7
},
"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"
}
]
}