Continue the great refactor of mid 2017 (A lot of stuff still broken, it's a WIP)
This commit is contained in:
parent
1fa9f1cf52
commit
40e3062903
123 changed files with 1469 additions and 1486 deletions
|
@ -51,7 +51,7 @@ import reborncore.client.hud.StackInfoHUD;
|
|||
import reborncore.client.multiblock.MultiblockRenderEvent;
|
||||
import techreborn.Core;
|
||||
import techreborn.blocks.BlockMachineCasing;
|
||||
import techreborn.blocks.BlockMachineFrame;
|
||||
import techreborn.blocks.BlockMachineFrames;
|
||||
import techreborn.blocks.BlockRubberLeaves;
|
||||
import techreborn.client.ClientMultiBlocks;
|
||||
import techreborn.client.IconSupplier;
|
||||
|
@ -100,31 +100,6 @@ public class ClientProxy extends CommonProxy {
|
|||
StackInfoHUD.registerElement(new ItemFrequencyTransmitter.StackInfoFreqTransmitter());
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityNukePrimed.class, new RenderManagerNuke());
|
||||
|
||||
ManualLoader loader = new ManualLoader(new File(event.getModConfigurationDirectory(), "techreborn"));
|
||||
|
||||
// new Thread(() ->`
|
||||
// {
|
||||
// try {
|
||||
// loader.load();
|
||||
// } catch (IOException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// }).start();
|
||||
|
||||
// for (Object object : RebornCore.jsonDestroyer.objectsToDestroy) {
|
||||
// if (object instanceof BlockMachineBase) {
|
||||
// BlockMachineBase base = (BlockMachineBase) object;
|
||||
// registerItemModel(Item.getItemFromBlock(base));
|
||||
// }
|
||||
// }
|
||||
|
||||
for (int i = 0; i < BlockMachineCasing.types.length; i++) {
|
||||
Core.proxy.registerSubBlockInventoryLocation(ModBlocks.MACHINE_CASINGS, i, "techreborn:machines/structure/machine_casing", "type=" + i);
|
||||
}
|
||||
for (int i = 0; i < BlockMachineFrame.types.length; i++) {
|
||||
Core.proxy.registerSubBlockInventoryLocation(ModBlocks.MACHINE_FRAMES, i, "techreborn:machines/storage/machine_blocks", "type=" + i);
|
||||
}
|
||||
|
||||
ModelDynamicCell.init();
|
||||
RegisterItemJsons.registerModels();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue