Improve terminal search box (#3064)
Uses exsting JEI filter in JEI mode. Preselects text for easy delete/change without using rightclick. QoL improvements for focus handling.
This commit is contained in:
@@ -26,7 +26,6 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
import appeng.client.gui.AEBaseGui;
|
||||
import appeng.container.AEBaseContainer;
|
||||
import appeng.container.ContainerOpenContext;
|
||||
import appeng.core.sync.AppEngPacket;
|
||||
@@ -51,11 +50,6 @@ public class PacketSwitchGuis extends AppEngPacket
|
||||
{
|
||||
this.newGui = newGui;
|
||||
|
||||
if( Platform.isClient() )
|
||||
{
|
||||
AEBaseGui.setSwitchingGuis( true );
|
||||
}
|
||||
|
||||
final ByteBuf data = Unpooled.buffer();
|
||||
|
||||
data.writeInt( this.getPacketID() );
|
||||
@@ -79,10 +73,4 @@ public class PacketSwitchGuis extends AppEngPacket
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clientPacketData( final INetworkInfo network, final AppEngPacket packet, final EntityPlayer player )
|
||||
{
|
||||
AEBaseGui.setSwitchingGuis( true );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user