Sound fade

This commit is contained in:
paulevsGitch 2020-11-01 19:59:52 +03:00
parent d6d78925b7
commit 6362c2f85a
6 changed files with 128 additions and 25 deletions

View file

@ -15,7 +15,6 @@ public class TerrainStructureProcessor extends StructureProcessor {
BlockPos bpos = structureBlockInfo2.pos;
if (structureBlockInfo2.state.isOf(Blocks.END_STONE) && worldView.isAir(bpos.up())) {
BlockState top = worldView.getBiome(structureBlockInfo2.pos).getGenerationSettings().getSurfaceConfig().getTopMaterial();
System.out.println(top);
return new StructureBlockInfo(bpos, top, structureBlockInfo2.tag);
}
return structureBlockInfo2;