private void setupFromDescriptor(long seed) { List<Pair<DimletKey, List<DimletKey>>> dimlets = descriptor.getDimletsWithModifiers(); Random random = new Random(descriptor.calculateSeed(seed)); actualRfCost = 0; DimletType.DIMLET_PATREON.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_TERRAIN.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_FEATURE.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_STRUCTURE.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_BIOME.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_DIGIT.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_SKY.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_MOBS.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_SPECIAL.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_TIME.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_EFFECT.dimletType.constructDimension(dimlets, random, this); DimletType.DIMLET_WEATHER.dimletType.constructDimension(dimlets, random, this); actualRfCost += descriptor.getRfMaintainCost(); }