Package pneumaticCraft.common.network

Examples of pneumaticCraft.common.network.PacketUpdateTextfield


    @Override
    protected void keyTyped(char par1, int par2){
        if(nameFilterField.isFocused() && par2 != 1) {
            nameFilterField.textboxKeyTyped(par1, par2);
            te.setText(0, nameFilterField.getText());
            NetworkHandler.sendToServer(new PacketUpdateTextfield(te, 0));
        } else {
            super.keyTyped(par1, par2);
        }
    }
View Full Code Here


    @Override
    protected void keyTyped(char par1, int par2){
        if(nameFilterField.isFocused() && par2 != 1) {
            nameFilterField.textboxKeyTyped(par1, par2);
            te.itemNameFilter = nameFilterField.getText();
            NetworkHandler.sendToServer(new PacketUpdateTextfield(te, 0));
        } else {
            super.keyTyped(par1, par2);
        }
    }
View Full Code Here

    }

    @Override
    public void onKeyTyped(IGuiWidget widget){
        te.setFloorName(currentEditedFloor, floorNameField.getText());
        NetworkHandler.sendToServer(new PacketUpdateTextfield(te, currentEditedFloor));
    }
View Full Code Here

    }

    @Override
    public void onKeyTyped(IGuiWidget widget){
        te.setText(0, sharedUserTextField.getText());
        NetworkHandler.sendToServer(new PacketUpdateTextfield(te, 0));
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.network.PacketUpdateTextfield

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.