BlocksConfig - rvandoosselaer/Blocks GitHub Wiki

This is the main configuration object of Blocks.

When Blocks is used, it should be properly setup using:

BlocksConfig.initialize(assetManager);

When making changes to the configuration, it's best to do this as soon as possible after the initialisation.

Configuration overview:

Paramater  Description  Default value
chunkSize The size of a chunk  (32, 32, 32)
blockScale  The scale of the block elements 1
gridSize The size of the grid of chunks, used by the ChunkPager (9, 5, 9)
physicsGridSize  The size of the physics grid of chunks, used by the PhysicalChunkPager  (5, 3, 5)
shapeRegistry The block shapes registry
blockRegistry The block registry
typeRegistry  The block types registry
chunkMeshGenerator  The chunk mesh generator FacesMeshGenerator

See javadoc