Skip to content

Commit

Permalink
added redstone wire sound
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyBlack233 authored Feb 20, 2023
1 parent 693705b commit 0d114fd
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/main/resources/RepeaterClickingSound.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
"minVersion": "0.8",
"package": "heyblack.repeatersound.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [
"RepeaterBlockMixin"
],
"client": [
"RepeaterBlockMixin",
"RedstoneWireBlockMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/assets/repeatersound/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"subtitles.repeatersound.repeater_click": "Repeater clicks"
"subtitles.repeatersound.repeater_click": "Repeater clicks",
"subtitles.repeatersound.redstone_wire_click": "Redstone Wire clicks"
}
3 changes: 2 additions & 1 deletion src/main/resources/assets/repeatersound/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"subtitles.repeatersound.repeater_click": "中继器:调节档位"
"subtitles.repeatersound.repeater_click": "中继器:调节档位",
"subtitles.repeatersound.redstone_wire_click": "红石线:改变形状"
}
6 changes: 6 additions & 0 deletions src/main/resources/assets/repeatersound/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"sounds": [
"repeatersound:repeater_click"
]
},
"redstone_wire_click": {
"subtitle": "subtitles.repeatersound.redstone_wire_click",
"sounds": [
"repeatersound:redstone_wire_click"
]
}
}
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"contact": {},
"license": "MIT",
"icon": "assets/repeatersound/icon.png",
"environment": "*",
"environment": "client",
"entrypoints": {
"Main": [
"Client": [
"heyblack.repeatersound.RepeaterClickSound"
]
},
Expand Down

0 comments on commit 0d114fd

Please sign in to comment.