Created
June 23, 2013 19:04
-
-
Save copygirl/5846135 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.mcft.copy.betterstorage.api; | |
import net.minecraft.item.ItemStack; | |
/** When implemented for an Item, signalizes that it can store or | |
* is storing other items. This is useful for other container items to | |
* keep themselves from accepting them, resulting in infinite storage. */ | |
public interface IContainerItem { | |
/** Returns the contents of this container item. <br> | |
* May return null if not supported. */ | |
public ItemStack[] getContainerItemContents(ItemStack container); | |
/** Returns if this item can be stored in another container item. */ | |
public boolean canBeStoredInContainerItem(ItemStack item); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment