2015-04-23 21:29:26 +02:00
|
|
|
package techreborn.proxies;
|
|
|
|
|
2016-05-17 19:36:51 +02:00
|
|
|
import net.minecraft.block.Block;
|
2016-11-28 13:54:44 +01:00
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraftforge.fml.common.Loader;
|
2016-03-13 12:50:46 +01:00
|
|
|
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
|
2016-11-28 13:54:44 +01:00
|
|
|
import techreborn.Core;
|
2016-03-13 12:50:46 +01:00
|
|
|
import techreborn.compat.ICompatModule;
|
2015-04-23 21:29:26 +02:00
|
|
|
|
2016-10-08 21:46:16 +02:00
|
|
|
public class CommonProxy implements ICompatModule {
|
2016-11-28 13:54:44 +01:00
|
|
|
public static boolean isChiselAround;
|
2016-03-13 12:50:46 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
2016-10-08 21:46:16 +02:00
|
|
|
public void preInit(FMLPreInitializationEvent event) {
|
2016-11-28 13:54:44 +01:00
|
|
|
isChiselAround = Loader.isModLoaded("chisel");
|
|
|
|
if (isChiselAround) {
|
|
|
|
Core.logHelper.info("Hello chisel, shiny things will be enabled in techreborn");
|
|
|
|
}
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2016-03-13 12:50:46 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
2016-10-08 21:46:16 +02:00
|
|
|
public void init(FMLInitializationEvent event) {
|
2016-03-13 12:50:46 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2015-04-24 22:22:09 +02:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
2016-10-08 21:46:16 +02:00
|
|
|
public void postInit(FMLPostInitializationEvent event) {
|
2015-04-24 22:22:09 +02:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2016-03-13 12:50:46 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
@Override
|
2016-10-08 21:46:16 +02:00
|
|
|
public void serverStarting(FMLServerStartingEvent event) {
|
2016-03-13 12:50:46 +01:00
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
}
|
2016-05-17 19:36:51 +02:00
|
|
|
|
2016-10-08 21:46:16 +02:00
|
|
|
public void registerFluidBlockRendering(Block block, String name) {
|
2016-05-17 19:36:51 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-11-28 13:54:44 +01:00
|
|
|
public void registerCustomBlockStateLocation(Block block, String name) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void registerCustomBlockStateLocation(Block block, String name, boolean item) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void registerSubItemInventoryLocation(Item item, int meta, String location, String name) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void registerSubBlockInventoryLocation(Block block, int meta, String location, String name) {
|
|
|
|
registerSubItemInventoryLocation(Item.getItemFromBlock(block), meta, location, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isCTMAvailable() {
|
|
|
|
return false;
|
2016-06-04 12:02:35 +02:00
|
|
|
}
|
|
|
|
|
2015-04-23 21:29:26 +02:00
|
|
|
}
|