Alloy furnace - fewer particles
This commit is contained in:
parent
34bcb66f61
commit
2468ffe444
1 changed files with 5 additions and 3 deletions
|
@ -180,15 +180,17 @@ public class TBAFBlock
|
|||
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 );
|
||||
}
|
||||
|
||||
if ( rand.nextDouble( ) < .5 ) {
|
||||
for ( int i = 0 ; i < 4 ; i++ ) {
|
||||
this.spawnTopParticles( stateIn , worldIn , pos , rand );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void spawnTopParticles( final IBlockState stateIn , final World worldIn , final BlockPos pos ,
|
||||
|
|
Reference in a new issue