package reborncore.api.tile;

import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import reborncore.common.recipes.RecipeCrafter;
import reborncore.common.tile.TileLegacyMachineBase;
import techreborn.client.container.builder.BuiltContainer;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Added to an item to say that it is a valid upgrade
 */
public interface IUpgrade {

	public void process(@Nonnull TileLegacyMachineBase machineBase, @Nullable
		RecipeCrafter crafter, @Nonnull ItemStack stack);

	//Called on both sides
	public void handleRightClick(TileEntity tile, ItemStack stack, BuiltContainer container, int slotID);

}

@@ -23,16 +23,58 @@
 .tile;%0A%0A
+import net.minecraft.inventory.Container;%0A
 import n
@@ -250,67 +250,8 @@
 ase;
-%0Aimport techreborn.client.container.builder.BuiltContainer;
 %0A%0Aim
@@ -627,13 +627,8 @@
 ck, 
-Built
 Cont

Fix build