mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
Add universal bucket
This commit is contained in:
1 parent
06130912c5
commit
1055206ba8
16 files changed
+1560
-28
No files matched your search
@@ -34,12 +34,14 @@ public interface IItemHandler
|
||||
|
||||
/**
|
||||
* Inserts an ItemStack into the given slot and return the remainder.
|
||||
* The ItemStack should not be modified in this function!
|
||||
* Note: This behaviour is subtly different from IFluidHandlers.fill()
|
||||
*
|
||||
* @param slot Slot to insert into.
|
||||
* @param stack ItemStack to insert
|
||||
* @param stack ItemStack to insert.
|
||||
* @param simulate If true, the insertion is only simulated
|
||||
* @return The remaining ItemStack that was not inserted (if the entire stack is accepted, then return null)
|
||||
* @return The remaining ItemStack that was not inserted (if the entire stack is accepted, then return null).
|
||||
* May be the same as the input ItemStack if unchanged, otherwise a new ItemStack.
|
||||
**/
|
||||
ItemStack insertItem(int slot, ItemStack stack, boolean simulate);
|
||||
|
||||
|
||||
Reference in new issue
Block a user