ModSounds refactored to follow items, blocks and fluids
This commit is contained in:
parent
316def3086
commit
f06e1a8673
4 changed files with 24 additions and 30 deletions
|
@ -41,6 +41,7 @@ import techreborn.blocks.misc.BlockRubberPlankStair;
|
|||
import techreborn.blocks.misc.BlockRubberSapling;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
import techreborn.init.ModFluids;
|
||||
import techreborn.init.ModSounds;
|
||||
import techreborn.init.TRArmorMaterial;
|
||||
import techreborn.init.TRContent;
|
||||
import techreborn.init.TRContent.*;
|
||||
|
@ -82,6 +83,7 @@ public class ModRegistry {
|
|||
registerBlocks();
|
||||
registerItems();
|
||||
registerFluids();
|
||||
registerSounds();
|
||||
}
|
||||
|
||||
public static void registerBlocks() {
|
||||
|
@ -214,4 +216,16 @@ public class ModRegistry {
|
|||
public static void registerFluids() {
|
||||
Arrays.stream(ModFluids.values()).forEach(ModFluids::register);
|
||||
}
|
||||
|
||||
public static void registerSounds() {
|
||||
ModSounds.ALARM = InitUtils.setup("alarm");
|
||||
ModSounds.ALARM_2 = InitUtils.setup("alarm_2");
|
||||
ModSounds.ALARM_3 = InitUtils.setup("alarm_3");
|
||||
ModSounds.AUTO_CRAFTING = InitUtils.setup("auto_crafting");
|
||||
ModSounds.BLOCK_DISMANTLE = InitUtils.setup("block_dismantle");
|
||||
ModSounds.CABLE_SHOCK = InitUtils.setup("cable_shock");
|
||||
ModSounds.MACHINE_RUN = InitUtils.setup("machine_run");
|
||||
ModSounds.MACHINE_START = InitUtils.setup("machine_start");
|
||||
ModSounds.SAP_EXTRACT = InitUtils.setup("sap_extract");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue