mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
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:
1 parent
ae2d8d6e4d
commit
80efde613a
419 files changed
+2406
-4144
No files matched your search
@@ -1,8 +1,10 @@
|
||||
package tconstruct.tools.inventory;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.inventory.*;
|
||||
import net.minecraft.item.*;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import tconstruct.achievements.TAchievements;
|
||||
|
||||
public class SlotFrypan extends Slot
|
||||
{
|
||||
@@ -15,7 +17,7 @@ public class SlotFrypan extends Slot
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
/*@Override
|
||||
@Override
|
||||
public void putStack (ItemStack par1ItemStack)
|
||||
{
|
||||
super.putStack(par1ItemStack);
|
||||
@@ -26,8 +28,9 @@ public class SlotFrypan extends Slot
|
||||
{
|
||||
return;
|
||||
}
|
||||
player.addStat(TAchievements.achievements.get("tconstruct:dualConvenience"), 1);
|
||||
|
||||
TAchievements.triggerAchievement(player, "tconstruct.dualConvenience");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user