mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
Fix max entity radius not being settable by making it a instance method on world. Closes #5601
Fix VoidFluidHandler.INSTANCE not being a instance of VoidFluidHandler. Closes #5602 Remove backwards compat code and make IItemHandler.isItemValid non-default. Closes #5598
This commit is contained in:
1 parent
7292b63052
commit
7113f4400c
7 files changed
+41
-41
No files matched your search
@@ -117,6 +117,5 @@ public interface IItemHandler
|
||||
* @return true if the slot can insert the ItemStack, not considering the current state of the inventory.
|
||||
* false if the slot can never insert the ItemStack in any situation.
|
||||
*/
|
||||
//todo Make non-default and/or replace in 1.13
|
||||
default boolean isItemValid(int slot, @Nonnull ItemStack stack) { return true; }
|
||||
boolean isItemValid(int slot, @Nonnull ItemStack stack);
|
||||
}
|
||||
Reference in new issue
Block a user