This commit is contained in:
modmuss50 2022-01-20 19:54:20 +00:00
parent 646132e908
commit 7e1125f6aa
3 changed files with 8 additions and 3 deletions

View file

@ -74,12 +74,12 @@ public class TechReborn implements ModInitializer {
// Done to force the class to load
//noinspection ResultOfMethodCallIgnored
ModRecipes.GRINDER.name();
ModRecipes.GRINDER.hashCode();
TRContent.SCRAP_BOX.asItem();
ClientboundPackets.init();
ServerboundPackets.init();
ModRegistry.setupShit();
if (TechRebornConfig.machineSoundVolume > 0) {
if (TechRebornConfig.machineSoundVolume > 1) TechRebornConfig.machineSoundVolume = 1F;
RecipeCrafter.soundHanlder = new ModSounds.SoundHandler();

View file

@ -63,7 +63,7 @@ import java.util.Arrays;
public class ModRegistry {
public static void setupShit() {
public static void register() {
registerBlocks();
registerItems();
registerFluids();

View file

@ -76,6 +76,7 @@ import techreborn.blocks.transformers.BlockMVTransformer;
import techreborn.client.GuiType;
import techreborn.config.TechRebornConfig;
import techreborn.entities.EntityNukePrimed;
import techreborn.events.ModRegistry;
import techreborn.items.DynamicCellItem;
import techreborn.items.UpgradeItem;
import techreborn.items.armor.QuantumSuitItem;
@ -948,4 +949,8 @@ public class TRContent {
}
public static EntityType<EntityNukePrimed> ENTITY_NUKE;
static {
ModRegistry.register();
}
}