use of me.desht.pneumaticcraft.common.network.PacketUpdateTextfield in project pnc-repressurized by TeamPneumatic.
the class GuiSecurityStationInventory method onKeyTyped.
@Override
public void onKeyTyped(IGuiWidget widget) {
te.setText(0, sharedUserTextField.getText());
NetworkHandler.sendToServer(new PacketUpdateTextfield(te, 0));
}
use of me.desht.pneumaticcraft.common.network.PacketUpdateTextfield in project pnc-repressurized by TeamPneumatic.
the class GuiSentryTurret method mouseClicked.
@Override
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws IOException {
super.mouseClicked(mouseX, mouseY, mouseButton);
if (!entityFilter.isFocused()) {
te.setText(0, entityFilter.getText());
NetworkHandler.sendToServer(new PacketUpdateTextfield(te, 0));
}
}
use of me.desht.pneumaticcraft.common.network.PacketUpdateTextfield in project pnc-repressurized by TeamPneumatic.
the class GuiSentryTurret method onGuiClosed.
@Override
public void onGuiClosed() {
super.onGuiClosed();
te.setText(0, entityFilter.getText());
NetworkHandler.sendToServer(new PacketUpdateTextfield(te, 0));
}
Aggregations