package net.minecraft.network.play;

import net.minecraft.network.INetHandler;
import net.minecraft.network.play.client.C00PacketKeepAlive;
import net.minecraft.network.play.client.C01PacketChatMessage;
import net.minecraft.network.play.client.C02PacketUseEntity;
import net.minecraft.network.play.client.C03PacketPlayer;
import net.minecraft.network.play.client.C07PacketPlayerDigging;
import net.minecraft.network.play.client.C08PacketPlayerBlockPlacement;
import net.minecraft.network.play.client.C09PacketHeldItemChange;
import net.minecraft.network.play.client.C0APacketAnimation;
import net.minecraft.network.play.client.C0BPacketEntityAction;
import net.minecraft.network.play.client.C0CPacketInput;
import net.minecraft.network.play.client.C0DPacketCloseWindow;
import net.minecraft.network.play.client.C0EPacketClickWindow;
import net.minecraft.network.play.client.C0FPacketConfirmTransaction;
import net.minecraft.network.play.client.C10PacketCreativeInventoryAction;
import net.minecraft.network.play.client.C11PacketEnchantItem;
import net.minecraft.network.play.client.C12PacketUpdateSign;
import net.minecraft.network.play.client.C13PacketPlayerAbilities;
import net.minecraft.network.play.client.C14PacketTabComplete;
import net.minecraft.network.play.client.C15PacketClientSettings;
import net.minecraft.network.play.client.C16PacketClientStatus;
import net.minecraft.network.play.client.C17PacketCustomPayload;
import net.minecraft.network.play.client.C18PacketSpectate;
import net.minecraft.network.play.client.C19PacketResourcePackStatus;

/**
 * +
 * This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code.
 * 
 * Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!"
 * Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team
 * 
 * EaglercraftX 1.8 patch files (c) 2022-2024 lax1dude, hoosiertransfer,
 * ayunami2000. All Rights Reserved.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
 * DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 * 
 */
public interface INetHandlerPlayServer extends INetHandler {
	void handleAnimation(C0APacketAnimation var1);

	/**
	 * +
	 * Process chat messages (broadcast back to clients) and
	 * commands (executes)
	 */
	void processChatMessage(C01PacketChatMessage var1);

	/**
	 * +
	 * Retrieves possible tab completions for the requested command
	 * string and sends them to the client
	 */
	void processTabComplete(C14PacketTabComplete var1);

	/**
	 * +
	 * Processes the client status updates: respawn attempt from
	 * player, opening statistics or achievements, or acquiring
	 * 'open inventory' achievement
	 */
	void processClientStatus(C16PacketClientStatus var1);

	/**
	 * +
	 * Updates serverside copy of client settings: language, render
	 * distance, chat visibility, chat colours, difficulty, and
	 * whether to show the cape
	 */
	void processClientSettings(C15PacketClientSettings var1);

	/**
	 * +
	 * Received in response to the server requesting to confirm that
	 * the client-side open container matches the servers' after a
	 * mismatched container-slot manipulation. It will unlock the
	 * player's ability to manipulate the container contents
	 */
	void processConfirmTransaction(C0FPacketConfirmTransaction var1);

	/**
	 * +
	 * Enchants the item identified by the packet given some
	 * convoluted conditions (matching window, which
	 * should/shouldn't be in use?)
	 */
	void processEnchantItem(C11PacketEnchantItem var1);

	/**
	 * +
	 * Executes a container/inventory slot manipulation as indicated
	 * by the packet. Sends the serverside result if they didn't
	 * match the indicated result and prevents further manipulation
	 * by the player until he confirms that it has the same open
	 * container/inventory
	 */
	void processClickWindow(C0EPacketClickWindow var1);

	/**
	 * +
	 * Processes the client closing windows (container)
	 */
	void processCloseWindow(C0DPacketCloseWindow var1);

	/**
	 * +
	 * Synchronizes serverside and clientside book contents and
	 * signing
	 */
	void processVanilla250Packet(C17PacketCustomPayload var1);

	/**
	 * +
	 * Processes interactions ((un)leashing, opening command block
	 * GUI) and attacks on an entity with players currently equipped
	 * item
	 */
	void processUseEntity(C02PacketUseEntity var1);

	/**
	 * +
	 * Updates a players' ping statistics
	 */
	void processKeepAlive(C00PacketKeepAlive var1);

	/**
	 * +
	 * Processes clients perspective on player positioning and/or
	 * orientation
	 */
	void processPlayer(C03PacketPlayer var1);

	/**
	 * +
	 * Processes a player starting/stopping flying
	 */
	void processPlayerAbilities(C13PacketPlayerAbilities var1);

	/**
	 * +
	 * Processes the player initiating/stopping digging on a
	 * particular spot, as well as a player dropping items?. (0:
	 * initiated, 1: reinitiated, 2? , 3-4 drop item (respectively
	 * without or with player control), 5: stopped; x,y,z, side
	 * clicked on;)
	 */
	void processPlayerDigging(C07PacketPlayerDigging var1);

	/**
	 * +
	 * Processes a range of action-types: sneaking, sprinting,
	 * waking from sleep, opening the inventory or setting jump
	 * height of the horse the player is riding
	 */
	void processEntityAction(C0BPacketEntityAction var1);

	/**
	 * +
	 * Processes player movement input. Includes walking, strafing,
	 * jumping, sneaking; excludes riding and toggling
	 * flying/sprinting
	 */
	void processInput(C0CPacketInput var1);

	/**
	 * +
	 * Updates which quickbar slot is selected
	 */
	void processHeldItemChange(C09PacketHeldItemChange var1);

	/**
	 * +
	 * Update the server with an ItemStack in a slot.
	 */
	void processCreativeInventoryAction(C10PacketCreativeInventoryAction var1);

	void processUpdateSign(C12PacketUpdateSign var1);

	/**
	 * +
	 * Processes block placement and block activation (anvil,
	 * furnace, etc.)
	 */
	void processPlayerBlockPlacement(C08PacketPlayerBlockPlacement var1);

	void handleSpectate(C18PacketSpectate var1);

	void handleResourcePackStatus(C19PacketResourcePackStatus var1);
}