Skip to content

Commit

Permalink
RPA Sound update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOriginalGolem committed Aug 9, 2022
1 parent 2e6f8f9 commit 7101bbb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/hbm/items/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -621,9 +621,9 @@ public class ModItems {
.setBlastProtection(0.25F)
.setMod(0.1F)
.setThreshold(20.0F)
.setStep(HBMSoundHandler.metalStep)
.setJump(HBMSoundHandler.ironJump)
.setFall(HBMSoundHandler.ironLand)
.setStep(HBMSoundHandler.poweredStep)
.setJump(HBMSoundHandler.poweredStep)
.setFall(HBMSoundHandler.poweredStep)
.addResistance("monoxide", 0F)
.addResistance("fall", 0);
public static final Item rpa_plate = new ArmorRPA(MainRegistry.aMatRPA, -1, EntityEquipmentSlot.CHEST, RefStrings.MODID + ":textures/armor/starmetal_1.png", 2500000, 10000, 2000, 25, "RPA_plate").cloneStats((ArmorFSB) rpa_helmet);
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/hbm/lib/HBMSoundHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ public final class HBMSoundHandler {
public static SoundEvent iron = registerBypass("step.iron");
public static SoundEvent ironLand = registerBypass("step.iron_land");
public static SoundEvent ironJump = registerBypass("step.iron_jump");
public static SoundEvent poweredStep = registerBypass("step.powered");

public static SoundEvent lambdaCore = registerBypass("music.recordlambdacore");
public static SoundEvent sectorSweep = registerBypass("music.recordsectorsweep");
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/hbm/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@
"step.iron_land": {"category": "player", "sounds": [{"name": "hbm:footsteps/iron_land", "stream": false}]},
"step.iron": {"category": "player", "sounds": ["hbm:footsteps/iron1", "hbm:footsteps/iron2", "hbm:footsteps/iron3", "hbm:footsteps/iron4"]},
"step.metalBlock": {"category": "block", "sounds": ["hbm:footsteps/metalStep1", "hbm:footsteps/metalStep2", "hbm:footsteps/metalStep3", "hbm:footsteps/metalStep4"]},
"step.powered": {"category": "block", "sounds": ["hbm:footsteps/powered1", "hbm:footsteps/powered2", "hbm:footsteps/powered3"]},

"block.door.transitionseal": {"category": "player", "sounds": [{"name": "hbm:block/doors/transition_seal_open", "stream": false}]},
"block.door.garage": {"category": "player", "sounds": [{"name": "hbm:block/doors/garage_move", "stream": false}]},
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7101bbb

Please sign in to comment.