From 83ebeadd3b867f45914972f4573211b3324ca433 Mon Sep 17 00:00:00 2001 From: miozune Date: Fri, 16 Aug 2024 22:26:16 +0900 Subject: Cleanup (#2904) * Remove redundant inputSeparation=true call * Remove deprecated MetaTileEntity#isDisplaySecondaryDescription * Always use ModularUI * Remove useModularUI * Remove unused GUI features * Remove IGlobalWirelessEnergy * Remove CommonValues.V & CommonValues.VN * More deprecation cleanup --------- Co-authored-by: boubou19 --- .../tileentity/IHasWorldObjectAndCoords.java | 23 +--------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'src/main/java/gregtech/api/interfaces/tileentity') diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IHasWorldObjectAndCoords.java b/src/main/java/gregtech/api/interfaces/tileentity/IHasWorldObjectAndCoords.java index 6d81d5c401..b62c3e92cf 100644 --- a/src/main/java/gregtech/api/interfaces/tileentity/IHasWorldObjectAndCoords.java +++ b/src/main/java/gregtech/api/interfaces/tileentity/IHasWorldObjectAndCoords.java @@ -1,7 +1,6 @@ package gregtech.api.interfaces.tileentity; import net.minecraft.block.Block; -import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; @@ -137,7 +136,7 @@ public interface IHasWorldObjectAndCoords { /** * Sends a Block Event to the Client TileEntity. - * + * * @param aValue value to sync */ void sendBlockEvent(byte aID, byte aValue); @@ -167,24 +166,4 @@ public interface IHasWorldObjectAndCoords { * Function of the regular TileEntity */ boolean isInvalidTileEntity(); - - /** - * Opens the GUI with this ID of this MetaTileEntity - * - * @deprecated Use ModularUI - */ - @Deprecated - default boolean openGUI(EntityPlayer aPlayer, int aID) { - return false; - } - - /** - * Opens the GUI with the ID = 0 of this TileEntity - * - * @deprecated Use ModularUI - */ - @Deprecated - default boolean openGUI(EntityPlayer aPlayer) { - return false; - } } -- cgit