Package me.desht.pneumaticcraft.common.network
package me.desht.pneumaticcraft.common.network
-
ClassDescriptionFields marked with this annotation in a TileEntity class will be automatically synced to any players within 64 blocks of this TileEntity.Any array fields annotated with this will only sync the specified indexes.Fields marked with this annotation in a TileEntity class will be automatically synced to players with the container open (provided that the container extends ContainerPneumaticBase).Marker interface to indicate this message might have a payload larger than
ILargePayload.MAX_PAYLOAD_SIZEbytesFields marked with this and also @DescSynced will be included in a desc packet.MineChessMineChessReceived on: CLIENT Sent by server to confirm updated amount when player adjusts an offer with PacketAmadronOrderUpdate (This needs a round trip rather than just updating client-side, since server needs to validate and cap requested shopping amounts)Received on: SERVER Sent from client when an offer widget is clicked in the Amadron GUI to update the server-side order amountReceived on: CLIENT Sent by server when an order is purchased by someone, to update remaining stock levels as seen on clients.Received on: BOTH Sent by Amadron GUI when player is adding a custom player->player trade.Received on: CLIENT Sent by server to notify client of a trade deal made, or restock event Using a packet rather than a simple chat message because the client can also elect not to receive these notifications.Received on: SERVER Sent by the client after editing an Aphorism TileReceived on: SERVER Send when the GPS Tool GUI is closed, to update the held GPS tool settingsReceived on: SERVER Sent by client to launch an item from the chestplate launcherReceived on: CLIENT Sent by server when recipes are reloaded; clear our local cache of machine recipesSent to: CLIENT This is the primary mechanism for syncing block entity data to clients when it changes.Received on: SERVER Sent by client to ask the server for more info about a block, for Pneumatic Helmet purposes TODO: replace with a more formal data request protocolReceived on: SERVER Sent when a GUI button is clicked.Received on: CLIENT Sent by server when a block hack has completed.Received on: BOTH Sent by client when player initiates a hack, and from server back to client to confirm initiationReceived on: CLIENT Sent by server when an entity hack completesReceived on: BOTH Sent by client when player initiates an entity hack, and by server to confirm initiationReceived on: SERVER Sent from client to tell the server the player is activating/deactivating jet boots.Received on: CLIENT Sent from server so that all clients know the jet boots state (enabled/active) of all other clients.Received on: SERVER Sent by client when certain items are left-clicked in the air (which is a client-only event)Received on: CLIENT Sent by server when player switches away from a held minigun which is active (i.e.Received on: SERVER Sent from client when trying to rotate a block with a wrench other than PneumaticCraft's own wrenchReceived on: SERVER First part of a following multi-part message from the clientReceived on: SERVER Part of a multipart message from client (whole message too big to send at once)Received on: CLIENT Sent by server when a block is dropped by shift-wrenching it, rotated by wrenching it, or if a pneumatic BE explodes due to overpressure.Received on: CLIENT Sent by server to start a new MovingSound playingReceived on: CLIENT Sent by server to play a sound at a specific locationReceived on: SERVER Sent by client when the kick hotkey is pressedReceived on: BOTH Sent by server when programmer GUI is being opened Sent by client programmer GUI to push the current program to the server-side BEReceived on: CLIENT Sent by server to get a message displayed on the Pneumatic Armor HUDReceived on: CLIENT Sent by server to add a debug message to a debugged drone.Received on: CLIENT Sent by server to give a clientside BE a copy of its NBT dataReceived on: CLIENT Sent by server to keep client appraised of server TPS Helps keep systems which use dead reckoning (right now, just Elevator) to stay as much in sync with the server as possibleReceived on: CLIENT Sent by server when an immediate update is needed to a client-side entity's motionReceived on: BOTH Sync's global variable data between server and clientReceived on: SERVER Sent by client when player shift-scrolls the mouse wheel while holding an item implementing theIShiftScrollableinterface.Received on: CLIENT Sent by server to make a block entity render its area of effectReceived on: CLIENT Sent by server to spawn coloured redstone particles in multiple positions around an initial positionReceived on: CLIENT Sent by server to spawn a particle (with support for multiple particles in an random area around the target point)Received on: CLIENT Sent by server to play a trail of particles between two pointsReceived on: CLIENT Sent by server to get the client to spawn a new client-side ring entityReceived on: CLIENT Sent by server to sync up current Amadron offer list when the offer list changes (due to a shuffle or reload), or when a player logs inReceived on: SERVER Sent by Processing Filter GUI to update the filter settings on a held Processing Filter itemReceived on: CLIENT Sent by server to sync a (debugged) drone's programming widgetsReceived on: CLIENT Sent by the server periodically while a Security Station hack is in progress, and when either side has just won, to keep the client up-to-date.Received on: CLIENT Sent by server to sync up the settings of a redstone moduleReceived on: SERVER Sent by client to update server-side settings when redstone module GUI is closedReceived on: BOTHReceived on: BOTH Sent by server when smart chest GUI is being opened to sync filter settings to client Sent by client GUI to sync changed filter settings to serverReceived on: SERVER Sent by client to switch an armor module on or offReceived on: SERVER Sent by client to set the status of multiple armor features at once (used in armor init & core components reset)Received on: SERVER Sent by client when logistics module colour is updated via GUIReceived on: SERVER Update the entity filter of an air grate moduleReceived on: SERVER Sent from Pneumatic Armor colors GUI to re-color armor piecesReceived on: SERVER General packet for updating various pneumatic armor settings from client GUIReceived on: SERVER Sent by client when the drone debug key is pressed, for a valid entity or programmable controller targetReceived on: SERVER Sent by client from area tool GUI to update stored settingsReceived on: CLIENT The primary mechanism for sync'ing BE fields to an open GUI.Received on: CLIENT Sent by server when the status or colour of a logistics module is updatedReceived on: SERVER Sent by client GUI to update (and maybe save as default) the configuration settings of a Micromissile item.Received on: CLIENT Sent periodically from server to sync pressure level: - For pressure tubes with an attached pressure gauge module - For air grate modules, when the pressure changes enough to modify the range - For machine air handlers which are currently leakingReceived on: SERVER Sent by client to update the layout of a Remote item from the Remote GUIReceived on: SERVER Sent by client to update the searched item (Pneumatic Helmet search upgrade)Received on: SERVER Sent by client GUI's to update a IGUITextFieldSensitive block entity server-sideReceived on: SERVER Sent by client when tube module settings are updated via GUI.SyncedField<T>FIXME: sync'ing an array of enum does not work