Universal GUI (#872)

Co-authored-by: Kogepan229 <[email protected]>
Co-authored-by: Kogepan229 <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-12-11 16:09:06 +01:00
1 parent e5ea742d7a
commit bd11e11741
225 files changed
+8182 -5684

No files matched your search

@@ -13,6 +13,7 @@
package appeng.api.implementations.guiobjects;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
@@ -21,5 +22,12 @@ import net.minecraft.world.World;
*/
public interface IGuiItem {
IGuiItemObject getGuiObject(ItemStack is, World world, int x, int y, int z);
@Deprecated
default IGuiItemObject getGuiObject(ItemStack is, World world, int x, int y, int z) {
return getGuiObject(is, world, null, x, y, z);
}
default IGuiItemObject getGuiObject(ItemStack is, World world, EntityPlayer player, int x, int y, int z) {
return null;
}
}