mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
he sings
This commit is contained in:
parent
dfd1aafb89
commit
3b55d26e17
@ -175,6 +175,12 @@ public class GuiQMAW extends GuiScreen {
|
||||
|
||||
if(guiLeft + 3 <= x && guiLeft + 3 + 18 > x && guiTop + 3 < y && guiTop + 3 + 18 >= y) back();
|
||||
if(guiLeft + 21 <= x && guiLeft + 21 + 18 > x && guiTop + 3 < y && guiTop + 3 + 18 >= y) forward();
|
||||
|
||||
if(lines.size() > 1 && scrollProgress == lines.size() - 1) {
|
||||
if(guiLeft + 60 <= x && guiLeft + 60 + 80 > x && guiTop + this.ySize - 84 < y && guiTop + this.ySize - 4 >= y) {
|
||||
Minecraft.getMinecraft().getSoundHandler().playSound(PositionedSoundRecord.func_147674_a(new ResourceLocation("hbm:alarm.singer"), 1.0F));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void back() {
|
||||
|
||||
@ -367,5 +367,7 @@
|
||||
"alarm.classic": {"category": "record", "sounds": [{"name": "alarm/classicSiren", "stream": false}]},
|
||||
"alarm.gambit": {"category": "record", "sounds": [{"name": "alarm/gambit", "stream": true}]},
|
||||
"alarm.soyuzed": {"category": "record", "sounds": [{"name": "alarm/soyuzed", "stream": false}]},
|
||||
"alarm.chime": {"category": "record", "sounds": [{"name": "alarm/chime", "stream": false}]}
|
||||
"alarm.chime": {"category": "record", "sounds": [{"name": "alarm/chime", "stream": false}]},
|
||||
|
||||
"alarm.singer": {"category": "player", "sounds": ["alarm/singer1", "alarm/singer2", "alarm/singer3", "alarm/singer4"]}
|
||||
}
|
||||
|
||||
BIN
src/main/resources/assets/hbm/sounds/alarm/singer1.ogg
Normal file
BIN
src/main/resources/assets/hbm/sounds/alarm/singer1.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/hbm/sounds/alarm/singer2.ogg
Normal file
BIN
src/main/resources/assets/hbm/sounds/alarm/singer2.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/hbm/sounds/alarm/singer3.ogg
Normal file
BIN
src/main/resources/assets/hbm/sounds/alarm/singer3.ogg
Normal file
Binary file not shown.
BIN
src/main/resources/assets/hbm/sounds/alarm/singer4.ogg
Normal file
BIN
src/main/resources/assets/hbm/sounds/alarm/singer4.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user