Alloy furnace - fewer particles

This commit is contained in:
Emmanuel BENOîT 2016-07-23 12:39:21 +02:00
parent 34bcb66f61
commit 2468ffe444

View file

@ -180,12 +180,14 @@ public class TBAFBlock
SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE , SoundCategory.BLOCKS , 1.f , 1.f , false ); SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE , SoundCategory.BLOCKS , 1.f , 1.f , false );
} }
if ( rand.nextDouble( ) < .5 ) { if ( rand.nextDouble( ) < .25 ) {
this.spawnFrontParticles( stateIn , worldIn , pos , rand ); this.spawnFrontParticles( stateIn , worldIn , pos , rand );
} }
for ( int i = 0 ; i < 4 ; i++ ) { if ( rand.nextDouble( ) < .5 ) {
this.spawnTopParticles( stateIn , worldIn , pos , rand ); for ( int i = 0 ; i < 4 ; i++ ) {
this.spawnTopParticles( stateIn , worldIn , pos , rand );
}
} }
} }
} }