Skip to content
Permalink
Browse files

added more vanilla options

  • Loading branch information...
dries007 committed Dec 21, 2014
1 parent 0b096e9 commit b11f91d3ff0f2518cf068cfbf64dbd0076ed1926
@@ -20,7 +20,7 @@
public class MineTweakerRecipeMaker
{
public static final String MODID = "MTRM";
public static final String NAME = "MineTweakerRecipeMaker";
public static final String NAME = "MineTweakerRecipeMaker";

@Mod.Instance(MODID)
public static MineTweakerRecipeMaker instance;
@@ -4,7 +4,6 @@
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.*;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.world.World;

/**
@@ -17,7 +16,7 @@
* The crafting matrix inventory (3x3).
*/
public InventoryCrafting craftMatrix = new InventoryCrafting(this, 3, 3);
public IInventory craftResult = new InventoryCraftResult();
public IInventory craftResult = new InventoryCraftResult();

public MTRMContainer(InventoryPlayer p_i1808_1_, World world)
{
@@ -84,7 +83,7 @@ else if (mousebtn == 1)
if (stackHeld != null)
{
stackHeld = stackHeld.copy();
if (stackSlot != null && stackHeld.isItemEqual(stackSlot))
if (stackSlot != null && stackHeld.isItemEqual(stackSlot) && i == 0)
{
int max = stackSlot.getMaxStackSize();
if (++stackSlot.stackSize > max) stackSlot.stackSize = max;

0 comments on commit b11f91d

Please sign in to comment.
You can’t perform that action at this time.