The return of achievements

- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
This commit is contained in:
Arthur Uzulin committed 2014-09-09 18:30:15 +10:00
1 parent ae2d8d6e4d
commit 80efde613a
419 files changed
+2406 -4144

No files matched your search

@@ -2,16 +2,14 @@ package tconstruct.tools.logic;
import mantle.blocks.abstracts.InventoryLogic;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.inventory.*;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import tconstruct.library.crafting.PatternBuilder;
import tconstruct.library.util.IPattern;
import tconstruct.tools.inventory.PartCrafterChestContainer;
import tconstruct.tools.inventory.PartCrafterContainer;
import tconstruct.tools.inventory.*;
public class PartBuilderLogic extends InventoryLogic implements ISidedInventory
{
@@ -50,8 +48,9 @@ public class PartBuilderLogic extends InventoryLogic implements ISidedInventory
}
@Override
public boolean canDropInventorySlot(int slot) {
return slot <= 3 ; // 0-3 = only drop input slots
public boolean canDropInventorySlot (int slot)
{
return slot <= 3; // 0-3 = only drop input slots
}
//Called when emptying a slot, not when another item is placed in it