This commit is contained in:
Bob 2025-10-24 22:05:04 +02:00
parent dfd1aafb89
commit 3b55d26e17
6 changed files with 9 additions and 1 deletions

View File

@ -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() {

View File

@ -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"]}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.