Closed Pawlost closed 5 years ago
When I try to generate chunks which have different voxel material, all chunks have the same material.
public void generate(GenerationTask task, GeneratorControl control, Void nothing) { BlockBuffer buf = control.getBuffer(); for (int i = 0; i < DataConstants.CHUNK_MAX_BLOCKS; i++) { if(task.getY() < 0){ buf.write(dirt); }else{ buf.write(grass); } } }
I fixed texture loading
When I try to generate chunks which have different voxel material, all chunks have the same material.
35