mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 15:33:03 +00:00
Achievement Prototype
- Added achievement system - Added a few achievements(still working on ideas) - Fixed an odd pixel on manyullyn pickaxe head - Added an event for when the tool is *actually* crafted
This commit is contained in:
1 parent
c7ca9e3d6b
commit
82ffe30579
15 files changed
+153
-13
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package tconstruct.items;
|
||||
|
||||
import tconstruct.achievements.TAchievements;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import tconstruct.TConstruct;
|
||||
@@ -24,6 +26,7 @@ public class Manual extends CraftingItem
|
||||
@Override
|
||||
public ItemStack onItemRightClick (ItemStack stack, World world, EntityPlayer player)
|
||||
{
|
||||
player.addStat(TAchievements.achievements.get("tconstruct.beginner"), 1);
|
||||
player.openGui(TConstruct.instance, TConstruct.proxy.manualGuiID, world, 0, 0, 0);
|
||||
/*Side side = FMLCommonHandler.instance().getEffectiveSide();
|
||||
if (side.isClient())
|
||||
|
||||
Reference in new issue
Block a user