Add the insolator #17

Merged
BlakeRain merged 19 commits from BlakeRain/utamacraft:main into main 2023-12-01 18:20:57 +00:00
2 changed files with 7 additions and 7 deletions
Showing only changes of commit 00d0280707 - Show all commits

View File

@ -127,12 +127,12 @@ public class InsolatorBlock extends BaseEntityBlock {
@Override @Override
public void animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) { public void animateTick(BlockState pState, Level pLevel, BlockPos pPos, RandomSource pRandom) {
// if (pState.getValue(ACTIVE)) { if (pState.getValue(ACTIVE)) {
// if (pRandom.nextInt(100) == 0) { if (pRandom.nextDouble() < 1.0d) {
// pLevel.playLocalSound( pLevel.playLocalSound(
// pPos.getX() + 0.5, pPos.getY() + 0.5, pPos.getZ() + 0.5, pPos.getX() + 0.5, pPos.getY() + 0.5, pPos.getZ() + 0.5,
// ModSounds.INSOLATOR.get(), SoundSource.BLOCKS, 0.5f, pRandom.nextFloat() * 0.4F + 0.8F, false); ModSounds.INSOLATOR.get(), SoundSource.BLOCKS, 0.1f, 1.0f, false);
// } }
// } }
} }
} }