Fix #2625.
This commit is contained in:
parent
646132e908
commit
7e1125f6aa
3 changed files with 8 additions and 3 deletions
|
@ -74,12 +74,12 @@ public class TechReborn implements ModInitializer {
|
||||||
|
|
||||||
// Done to force the class to load
|
// Done to force the class to load
|
||||||
//noinspection ResultOfMethodCallIgnored
|
//noinspection ResultOfMethodCallIgnored
|
||||||
ModRecipes.GRINDER.name();
|
ModRecipes.GRINDER.hashCode();
|
||||||
|
TRContent.SCRAP_BOX.asItem();
|
||||||
|
|
||||||
ClientboundPackets.init();
|
ClientboundPackets.init();
|
||||||
ServerboundPackets.init();
|
ServerboundPackets.init();
|
||||||
|
|
||||||
ModRegistry.setupShit();
|
|
||||||
if (TechRebornConfig.machineSoundVolume > 0) {
|
if (TechRebornConfig.machineSoundVolume > 0) {
|
||||||
if (TechRebornConfig.machineSoundVolume > 1) TechRebornConfig.machineSoundVolume = 1F;
|
if (TechRebornConfig.machineSoundVolume > 1) TechRebornConfig.machineSoundVolume = 1F;
|
||||||
RecipeCrafter.soundHanlder = new ModSounds.SoundHandler();
|
RecipeCrafter.soundHanlder = new ModSounds.SoundHandler();
|
||||||
|
|
|
@ -63,7 +63,7 @@ import java.util.Arrays;
|
||||||
|
|
||||||
public class ModRegistry {
|
public class ModRegistry {
|
||||||
|
|
||||||
public static void setupShit() {
|
public static void register() {
|
||||||
registerBlocks();
|
registerBlocks();
|
||||||
registerItems();
|
registerItems();
|
||||||
registerFluids();
|
registerFluids();
|
||||||
|
|
|
@ -76,6 +76,7 @@ import techreborn.blocks.transformers.BlockMVTransformer;
|
||||||
import techreborn.client.GuiType;
|
import techreborn.client.GuiType;
|
||||||
import techreborn.config.TechRebornConfig;
|
import techreborn.config.TechRebornConfig;
|
||||||
import techreborn.entities.EntityNukePrimed;
|
import techreborn.entities.EntityNukePrimed;
|
||||||
|
import techreborn.events.ModRegistry;
|
||||||
import techreborn.items.DynamicCellItem;
|
import techreborn.items.DynamicCellItem;
|
||||||
import techreborn.items.UpgradeItem;
|
import techreborn.items.UpgradeItem;
|
||||||
import techreborn.items.armor.QuantumSuitItem;
|
import techreborn.items.armor.QuantumSuitItem;
|
||||||
|
@ -948,4 +949,8 @@ public class TRContent {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EntityType<EntityNukePrimed> ENTITY_NUKE;
|
public static EntityType<EntityNukePrimed> ENTITY_NUKE;
|
||||||
|
|
||||||
|
static {
|
||||||
|
ModRegistry.register();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue