Full Imports and Code Format Optimization

This commit is contained in:
Kam committed 2025-03-12 20:11:39 -04:00
1 parent c22c5f9d79
commit afb5f1d645
60 files changed
+592 -509

No files matched your search

+2 -8
View File
@@ -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();