Realistic Ore Veins

Realistic Ore Veins

310k Downloads

Going into the Nether crashes the server

FryoKnight opened this issue ยท 2 comments

commented

Hello, recently I have been trying to get ores to spawn in the Nether in a modpack that I am working on, and most recently, I have come across an issue where the game/server crashes if anyone enters the nether: PasteBin

The server was working just fine till I added the following to the ore_veins.json config:

    "Nether_Quartz": {
    "type": "curve",
    "ore":"minecraft:quartz_ore",
    "stone": [ 
		{
		"block": "minecraft:netherrack"
		},
		{
		"block": "minecraft:soul_sand"
		},
		{
		"block": "biomesoplenty:flesh"
		},
		{
		"block": "biomesoplenty:ash_block"
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 6
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 8
		}
		],
	"radius": 5,
	"angle": 75,
    "rarity": 60,
	"density": 300,
    "vertical_size": 5,
    "horizontal_size": 8,
    "count": 1,
	"min_y": 10,
    "max_y": 118,
	"biomes": [
	"NETHER"
	],
	"dimensions": [
		0,
	],
	"dimensions_is_whitelist": false
  },
	"Cobalt": {
    "type": "curve",
    "ore": {
		"block": "tconstruct:ore",
		"meta": 0
		},
    "stone": [ 
		{
		"block": "minecraft:netherrack"
		},
		{
		"block": "minecraft:soul_sand"
		},
		{
		"block": "biomesoplenty:flesh"
		},
		{
		"block": "biomesoplenty:ash_block"
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 6
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 8
		}
		],
	"min_y": 32,
    "max_y": 96,
	"radius": 2,
	"angle": 25,
	"density": 250,
    "rarity": 135,
    "count": 1,
	"biomes": [
		"NETHER"
	],
	"dimensions": [
		0
	],
	"dimensions_is_whitelist": false
	},
	"Ardite": {
    "type": "curve",
    "ore": {
	"block": "tconstruct:ore",
	"meta": 1
	},
    "stone": [ 
		{
		"block": "minecraft:netherrack"
		},
		{
		"block": "minecraft:soul_sand"
		},
		{
		"block": "biomesoplenty:flesh"
		},
		{
		"block": "biomesoplenty:ash_block"
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 6
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 8
		}
		],
	"min_y": 45,
    "max_y": 120,
	"radius": 2,
	"angle": 25,
	"density": 250,
    "rarity": 135,
    "count": 1,
	"biomes": [
		"NETHER"
	],
	"dimensions": [
		0
	],
	"dimensions_is_whitelist": false
	},
	"Nether_Prosperity_Ore": {
    "type": "curve",
    "ore": {
	"block": "mysticalagriculture:nether_prosperity_ore",
	"meta": 1
	},
    "stone": [ 
		{
		"block": "minecraft:netherrack"
		},
		{
		"block": "minecraft:soul_sand"
		},
		{
		"block": "biomesoplenty:flesh"
		},
		{
		"block": "biomesoplenty:ash_block"
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 6
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 8
		}
		],
	"min_y": 45,
    "max_y": 120,
	"radius": 2,
	"angle": 45,
	"density": 100,
    "rarity": 135,
    "count": 1,
	"biomes": [
		"NETHER"
	],
	"dimensions": [
		0
	],
	"dimensions_is_whitelist": false
	},
	"Nether_Inferium_Ore": {
    "type": "curve",
    "ore": {
	"block": "mysticalagriculture:nether_inferium_ore",
	"meta": 1
	},
    "stone": [ 
		{
		"block": "minecraft:netherrack"
		},
		{
		"block": "minecraft:soul_sand"
		},
		{
		"block": "biomesoplenty:flesh"
		},
		{
		"block": "biomesoplenty:ash_block"
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 6
		},
		{
		"block": "biomesoplenty:grass",
		"meta": 8
		}
		],
	"min_y": 45,
    "max_y": 120,
	"radius": 2,
	"angle": 75,
	"density": 50,
    "rarity": 225,
    "count": 1,
	"biomes": [
		"NETHER"
	],
	"dimensions": [
		0
	],
	"dimensions_is_whitelist": false
	}
commented

Your first vein is not valid json.

"dimensions": [ 0, ],

has a trailing comma after the zero, which I believe would be the cause of this issue.

commented

Seeing as this is 1.12 I won't be supporting it or fixing bugs. Unless there's any new information I'm going to assume the JSON validity was the problem here.