mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +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
@@ -5,6 +5,7 @@ import net.minecraft.inventory.IInventory;
|
||||
|
||||
public interface IPlayerExtendedInventoryWrapper
|
||||
{
|
||||
public IInventory getKnapsackInventory(EntityPlayer player);
|
||||
public IInventory getAccessoryInventory(EntityPlayer player);
|
||||
public IInventory getKnapsackInventory (EntityPlayer player);
|
||||
|
||||
public IInventory getAccessoryInventory (EntityPlayer player);
|
||||
}
|
||||
@@ -6,8 +6,8 @@ public class TConstructAPI
|
||||
{
|
||||
public static String PROP_NAME;
|
||||
|
||||
public static IPlayerExtendedInventoryWrapper getInventoryWrapper(EntityPlayer player)
|
||||
public static IPlayerExtendedInventoryWrapper getInventoryWrapper (EntityPlayer player)
|
||||
{
|
||||
return (IPlayerExtendedInventoryWrapper) player.getExtendedProperties(PROP_NAME);
|
||||
return (IPlayerExtendedInventoryWrapper) player.getExtendedProperties(PROP_NAME);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user