First pass on ISDU rewrite, uses RC's new DataAttachment system
This commit is contained in:
parent
5e33977d6a
commit
35bb2df90e
5 changed files with 97 additions and 116 deletions
|
@ -35,6 +35,8 @@ import org.apache.logging.log4j.Logger;
|
|||
import reborncore.common.config.Configuration;
|
||||
import reborncore.common.recipes.RecipeCrafter;
|
||||
import reborncore.common.util.Torus;
|
||||
import reborncore.common.world.DataAttachment;
|
||||
import techreborn.blockentity.storage.idsu.IDSUManager;
|
||||
import techreborn.client.GuiHandler;
|
||||
import techreborn.config.TechRebornConfig;
|
||||
import techreborn.events.ModRegistry;
|
||||
|
@ -44,6 +46,8 @@ import techreborn.packets.ServerboundPackets;
|
|||
import techreborn.utils.BehaviorDispenseScrapbox;
|
||||
import techreborn.world.WorldGenerator;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public class TechReborn implements ModInitializer {
|
||||
|
||||
public static final String MOD_ID = "techreborn";
|
||||
|
@ -83,6 +87,8 @@ public class TechReborn implements ModInitializer {
|
|||
|
||||
Torus.genSizeMap(TechRebornConfig.fusionControlComputerMaxCoilSize);
|
||||
|
||||
DataAttachment.REGISTRY.register(IDSUManager.class, IDSUManager::new);
|
||||
|
||||
LOGGER.info("TechReborn setup done!");
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue