Make search box toggle key configurable (#3650)

Fixes #3641
This commit is contained in:
fscan
2018-08-01 00:20:17 +02:00
committed by GitHub
parent 390ad875ee
commit 73f471e685
7 changed files with 81 additions and 1 deletions
+2
View File
@@ -198,6 +198,8 @@ public final class AppEng
final Stopwatch start = Stopwatch.createStarted();
AELog.info( "Initialization ( started )" );
AppEng.proxy.init();
if( this.exportConfig.isExportingItemNamesEnabled() )
{
if( FMLCommonHandler.instance().getSide().isClient() )
@@ -22,6 +22,8 @@ package appeng.core;
import java.util.List;
import java.util.Random;
import javax.annotation.Nonnull;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.RayTraceResult;
@@ -29,6 +31,7 @@ import net.minecraft.world.World;
import appeng.api.parts.CableRenderMode;
import appeng.block.AEBaseBlock;
import appeng.client.ActionKey;
import appeng.client.EffectType;
import appeng.core.sync.AppEngPacket;
@@ -62,4 +65,8 @@ public abstract class CommonHelper
public abstract void updateRenderMode( EntityPlayer player );
public abstract boolean isKeyPressed( @Nonnull final ActionKey key );
public abstract boolean isActionKey( @Nonnull final ActionKey key, int pressedKeyCode );
}