Entropy makes sounds for all entities
This commit is contained in:
@@ -62,9 +62,7 @@ public class EntropyBlock extends Block {
|
||||
// 1d is roughly 4.5 blocks worth of upward velocity
|
||||
entity.addVelocity(randomVelocityX, randomVelocityY, randomVelocityZ);
|
||||
|
||||
if(entity instanceof PlayerEntity){
|
||||
world.playSound(entity, pos, SoundEvents.ENTITY_ENDERMAN_HURT, SoundCategory.BLOCKS, 10f, 0.4f);
|
||||
}
|
||||
|
||||
super.onSteppedOn(world, pos, state, entity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user