//Sets the spawn structure at y 60
setSpawnStructure("base",60)

//Creates a new LayerGenerator and saves it as a variable
layers = new LayerGenerator()

//Adds a layer of bedrock in y 0
layers.addLayer(0~0, <minecraft:bedrock>)

//Adds a layer of water from y 1 to y 60
layers.addLayer(1~60, <minecraft:lava>)

//Adds the layer generator to the dimension
addGenerator(layers)


//Sets the fog color to the same as the vanilla nether
setFogColor(#330707)
//setFogColor(#6F1C1C)

//Sets a static celestial angle so it's always night
setCelestialAngle(0.5)

//Disables sky rendering.
disableSky()

//Disables clouds.
disableClouds()

//Disables skylight.
disableSkylight()

//Sets a custom light brightness table. This is the same as is used in the vanilla nether. Makes it a bit brighter, especially at low light levels.
setLightBrightnessTable([0.1, 0.11578947, 0.13333333, 0.15294117, 0.175, 0.20000002, 0.22857141, 0.26153848, 0.3, 0.34545457, 0.4, 0.46666667, 0.5500001, 0.6571429, 0.79999995, 1.0])

//Enables relight checks post-generation. Causes lag, but it's required to fix all the lighting issues.
enableRelightChecks()

//Sets the entire dimension to be the hell biome.
setSingleBiome("minecraft:hell")


captureTeleports()
