CustomGeneratorInstanceModule
CustomGeneratorInstanceModule
is an implementation of InstanceModule
that creates a single instance for each game that automatically generates chunks using a custom world generator.
Usage
Import the module:
import com.bluedragonmc.server.module.instance.CustomGeneratorInstanceModule
Use the module in your game’s initialize
function:
// See Minestom documentation to learn more about world generatorsval myGenerator = ...use(CustomGeneratorInstanceModule(dimensionType = DimensionType.OVERWORLD, generator = myGenerator))
Fullbright Dimension
BlueDragon provides a custom dimension type with global maximum lighting. You can obtain a reference to this dimension type with CustomGeneratorInstanceModule.getFullbrightDimension()
.