I pushed version 1.7.0 of Blocks.
The most notable changes are:
- Added an additional initialize method on BlocksConfig to skip the registration of default blocks:
BlocksConfig.initialize(assetManager, false)
- thanks @Ali_RS - Performance improvements by storing and reusing Quaternions() in the mesh calculation - thanks @vxel
- Added a new Cylinder shape block
thee different cylinder blocks, from left to right:
- a birch cylinder block with 12 radial samples pointing up
- a stone cylinder/cone block with 12 radial samples and a different radius for top (0.2f) and bottom (0.5f), pointing east
- an oak cylinder block with 32 radial samples and a smal radius (0.3f)
Shape defaultCylinder = new Cylinder();
Shape cone = new Cylinder(Direction.EAST, 0.2f, 0.5f, 12);
Shape pole = new Cylinder(Direction.UP, 0.3f, 0.3f, 32);
The release notes can be found on github: