Skip to content

Instantly share code, notes, and snippets.

@KAfable
Created August 11, 2018 14:47
Show Gist options
  • Save KAfable/77a847c723f1b557fc720d35e0e25aa1 to your computer and use it in GitHub Desktop.
Save KAfable/77a847c723f1b557fc720d35e0e25aa1 to your computer and use it in GitHub Desktop.
#Sets the DimensionDefinition objects for each dimension
skyWorld = setDimensionDefinition(0)
surfaceWorld = setDimensionDefinition(100)
abyssalWaste = setDimensionDefinition(50)
twilight = setDimensionDefinition(7)
caveWorld = setDimensionDefinition(99)
#Voids the starting dimension
skyWorld.setChunkGeneratorType("Void")
skyWorld.setBiomeProviderSingle(1)
#Make Overworld rivers larger
surfaceWorld.setBiomeProvider("Vanilla_With_Larger_Rivers", "Custom_Medium")
#Sets Glowstone generation in Abyssal Wasteland
replacementGlow = abyssalWaste.addBlockReplacement("Simple")
replacementGlow.addGenerationPoint("WORLD_GENERATOR_FIRST")
replacementGlow.setBlockToReplace("abyssalcraft:stone",1)
replacementGlow.setReplacement("minecraft:glowstone")
replacementGlow.setMaxHeight(255)
replacementGlow.setMinHeight(252)
#Replaces top layer of CaveWorld with Bedrock (does not have a Bedrock Ceiling)
replacementCeiling1 = caveWorld.addBlockReplacement("Simple")
replacementCeiling1.addGenerationPoint("POPULATE_CHUNK_PRE")
replacementCeiling1.setBlockToReplace("minecraft:stone")
replacementCeiling1.setReplacement("minecraft:bedrock")
replacementCeiling1.setMaxHeight(255)
replacementCeiling1.setMinHeight(255)
#Replaces all Lava Lakes into Pyrotheum
replacementLava = caveWorld.addBlockReplacement("Simple")
replacementLava.addGenerationPoint("POPULATE_CHUNK_POST")
replacementLava.setBlockToReplace("minecraft:lava")
replacementLava.setReplacement("thermalfoundation:fluid_cryotheum")
replacementLava.setMaxHeight(100)
replacementLava.setMinHeight(0)
#Void World to Overworld Portals
setPortalOreDict(0, 0, 100, "portalOverworld")
setPortalIgniter(0, "actuallyadditions:item_worm")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment