2015-08-29 14:33:25 +02:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("CompatUtil.java") is part of the Actually Additions mod for Minecraft.
|
2015-08-29 14:33:25 +02:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2015-08-29 14:33:25 +02:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2015-08-29 14:33:25 +02:00
|
|
|
*/
|
|
|
|
|
2016-06-17 14:00:52 +02:00
|
|
|
package de.ellpeck.actuallyadditions.mod.util.compat;
|
2015-06-28 03:12:32 +02:00
|
|
|
|
2017-04-01 19:40:39 +02:00
|
|
|
import de.ellpeck.actuallyadditions.mod.inventory.ContainerCrafter;
|
2015-06-28 03:12:32 +02:00
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
2016-01-07 18:20:59 +01:00
|
|
|
import net.minecraftforge.fml.common.event.FMLInterModComms;
|
2015-06-28 03:12:32 +02:00
|
|
|
|
2016-06-17 23:50:38 +02:00
|
|
|
public final class CompatUtil{
|
2015-06-28 03:12:32 +02:00
|
|
|
|
2017-04-01 19:40:39 +02:00
|
|
|
public static void registerCraftingTweaksCompat(){
|
|
|
|
NBTTagCompound tagCompound = new NBTTagCompound();
|
|
|
|
tagCompound.setString("ContainerClass", ContainerCrafter.class.getName());
|
|
|
|
tagCompound.setString("AlignToGrid", "left");
|
|
|
|
FMLInterModComms.sendMessage("craftingtweaks", "RegisterProvider", tagCompound);
|
|
|
|
}
|
2015-06-28 03:12:32 +02:00
|
|
|
}
|