diff options
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/events/OnBlockBreakSoundEffect.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/events/OnBlockBreakSoundEffect.java | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/events/OnBlockBreakSoundEffect.java b/src/main/java/io/github/moulberry/notenoughupdates/events/OnBlockBreakSoundEffect.java index b11cbd13..aeffa7da 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/events/OnBlockBreakSoundEffect.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/events/OnBlockBreakSoundEffect.java @@ -7,34 +7,34 @@ import net.minecraft.util.BlockPos; public class OnBlockBreakSoundEffect extends NEUEvent { - private ISound sound; - private final BlockPos position; - private final IBlockState block; - - public OnBlockBreakSoundEffect(ISound sound, BlockPos position, IBlockState block) { - this.sound = sound; - this.position = position; - this.block = block; - } - - @Override - public boolean isCancelable() { - return true; - } - - public BlockPos getPosition() { - return position; - } - - public IBlockState getBlock() { - return block; - } - - public ISound getSound() { - return sound; - } - - public void setSound(ISound sound) { - this.sound = sound; - } + private ISound sound; + private final BlockPos position; + private final IBlockState block; + + public OnBlockBreakSoundEffect(ISound sound, BlockPos position, IBlockState block) { + this.sound = sound; + this.position = position; + this.block = block; + } + + @Override + public boolean isCancelable() { + return true; + } + + public BlockPos getPosition() { + return position; + } + + public IBlockState getBlock() { + return block; + } + + public ISound getSound() { + return sound; + } + + public void setSound(ISound sound) { + this.sound = sound; + } } |
