mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 06:04:45 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
c22c5f9d79
commit
afb5f1d645
60 files changed
+592
-509
No files matched your search
@@ -11,41 +11,35 @@ public interface IContainer {
|
||||
IItemStack getSlot(int slot);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param slot The slot to be replaced
|
||||
* @param item The item replacing the previous item in that slot, as an IItemStack object
|
||||
*/
|
||||
void setSlot(int slot, IItemStack item);
|
||||
|
||||
/**
|
||||
*
|
||||
* @return An obfuscated MC inventory object.
|
||||
*/
|
||||
IInventory getMCInventory();
|
||||
|
||||
/**
|
||||
*
|
||||
* @return An obfuscated MC container object.
|
||||
*/
|
||||
Container getMCContainer();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param itemStack The item stack to be searched in the container
|
||||
* @param itemStack The item stack to be searched in the container
|
||||
* @param ignoreDamage Whether damage should be ignored when searching
|
||||
* @param ignoreNBT Whether NBT values should be ignored when searching
|
||||
* @param ignoreNBT Whether NBT values should be ignored when searching
|
||||
* @return The amount of the item stack found, based on the flags given above.
|
||||
*/
|
||||
int count(IItemStack itemStack, boolean ignoreDamage, boolean ignoreNBT);
|
||||
|
||||
/**
|
||||
*
|
||||
* @return A list of all item stacks in the container as a list of IItemStack objects.
|
||||
*/
|
||||
IItemStack[] getItems();
|
||||
|
||||
/**
|
||||
*
|
||||
* @return True if this container belongs to a Custom GUI.
|
||||
*/
|
||||
boolean isCustomGUI();
|
||||
|
||||
Reference in new issue
Block a user