Initial Commit

This commit is contained in:
SoundLogic committed 2014-08-20 14:53:02 -05:00
1 parent 608de3ab70
commit c2e61a2ef6
4 files changed
+42 -1

No files matched your search

@@ -0,0 +1,10 @@
package tconstruct.api;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
public interface IPlayerExtendedInventoryWrapper
{
public IInventory getKnapsackInventory(EntityPlayer player);
public IInventory getAccessoryInventory(EntityPlayer player);
}
@@ -0,0 +1,13 @@
package tconstruct.api;
import net.minecraft.entity.player.EntityPlayer;
public class TConstructAPI
{
public static String PROP_NAME;
public static IPlayerExtendedInventoryWrapper getInventoryWrapper(EntityPlayer player)
{
return (IPlayerExtendedInventoryWrapper) player.getExtendedProperties(PROP_NAME);
}
}