16 lines
445 B
Java
16 lines
445 B
Java
package net.minecraft.world.level.block;
|
|
|
|
import net.minecraft.sounds.SoundEvents;
|
|
import net.minecraft.sounds.SoundEvent;
|
|
|
|
public class StoneButtonBlock extends ButtonBlock {
|
|
protected StoneButtonBlock(final Properties c) {
|
|
super(false, c);
|
|
}
|
|
|
|
@Override
|
|
protected SoundEvent getSound(final boolean boolean1) {
|
|
return boolean1 ? SoundEvents.STONE_BUTTON_CLICK_ON : SoundEvents.STONE_BUTTON_CLICK_OFF;
|
|
}
|
|
}
|