// Path: src/protocolsupportpocketstuff/api/resourcepacks/ResourcePack.java
// public interface ResourcePack {
// 
// 	/**
// 	 * Initialise the resourcepack.
// 	 */
// 	void init();
// 
// 	/**
// 	 * @return the name of the resourcepack.
// 	 */
// 	String getName();
// 
// 	/**
// 	 * @return the identifier of the resourcepack.
// 	 */
// 	String getPackId();
// 
// 	/**
// 	 * @return the size of the resourcepack.
// 	 */
// 	int getPackSize();
// 
// 	/**
// 	 * @return the version of the resourcepack.
// 	 */
// 	String getPackVersion();
// 
// 	/**
// 	 * @return the Sha256 hash of the resourcepack.
// 	 */
// 	byte[] getSha256();
// 
// 	/**
// 	 * @param chunkIdx
// 	 * @return gets a data section of the resourcepack.
// 	 */
// 	byte[] getPackChunk(int chunkIdx);
// 
// }
// 
// Path: src/protocolsupportpocketstuff/packet/PEPacket.java
// public abstract class PEPacket {
// 
// 	public abstract int getPacketId();
// 
// 	public abstract void toData(ConnectionImpl connection, ByteBuf serializer);
// 
// 	public abstract void readFromClientData(ConnectionImpl connection, ByteBuf clientdata);
// 	
// 	public ByteBuf encode(ConnectionImpl connection) {
// 		ByteBuf serializer = Unpooled.buffer();
// 		PEPacketEncoder.sWritePacketId(serializer, getPacketId());
// 		toData(connection, serializer);
// 		return serializer;
// 	}
// 
// 	public void decode(ConnectionImpl connection, ByteBuf clientdata) {
// 		readFromClientData(connection, clientdata);
// 	}
// 
// }
// 
// Path: src/protocolsupportpocketstuff/util/packet/serializer/ResourcePackSerializer.java
// public class ResourcePackSerializer {
// 
// 	public static void writePackInfo(ByteBuf serializer, ResourcePack pack) {
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackId());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackVersion());
// 		serializer.writeLongLE(pack.getPackSize());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, ""); // ???
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, ""); // ???
// 	}
// 
// 	public static void writePackStack(ByteBuf serializer, ResourcePack pack) {
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackId());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackVersion());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, ""); // ???
// 	}
// 
// }


import io.netty.buffer.ByteBuf;
import protocolsupport.protocol.ConnectionImpl;
import protocolsupport.protocol.serializer.VarNumberSerializer;
import protocolsupport.protocol.typeremapper.pe.PEPacketIDs;
import protocolsupportpocketstuff.api.resourcepacks.ResourcePack;
import protocolsupportpocketstuff.packet.PEPacket;
import protocolsupportpocketstuff.util.packet.serializer.ResourcePackSerializer;
import java.util.List;
package protocolsupportpocketstuff.packet.play;



public class ResourcePackStackPacket extends PEPacket {

	private boolean forceResources;
// Path: src/protocolsupportpocketstuff/api/resourcepacks/ResourcePack.java
// public interface ResourcePack {
// 
// 	/**
// 	 * Initialise the resourcepack.
// 	 */
// 	void init();
// 
// 	/**
// 	 * @return the name of the resourcepack.
// 	 */
// 	String getName();
// 
// 	/**
// 	 * @return the identifier of the resourcepack.
// 	 */
// 	String getPackId();
// 
// 	/**
// 	 * @return the size of the resourcepack.
// 	 */
// 	int getPackSize();
// 
// 	/**
// 	 * @return the version of the resourcepack.
// 	 */
// 	String getPackVersion();
// 
// 	/**
// 	 * @return the Sha256 hash of the resourcepack.
// 	 */
// 	byte[] getSha256();
// 
// 	/**
// 	 * @param chunkIdx
// 	 * @return gets a data section of the resourcepack.
// 	 */
// 	byte[] getPackChunk(int chunkIdx);
// 
// }
// 
// Path: src/protocolsupportpocketstuff/packet/PEPacket.java
// public abstract class PEPacket {
// 
// 	public abstract int getPacketId();
// 
// 	public abstract void toData(ConnectionImpl connection, ByteBuf serializer);
// 
// 	public abstract void readFromClientData(ConnectionImpl connection, ByteBuf clientdata);
// 	
// 	public ByteBuf encode(ConnectionImpl connection) {
// 		ByteBuf serializer = Unpooled.buffer();
// 		PEPacketEncoder.sWritePacketId(serializer, getPacketId());
// 		toData(connection, serializer);
// 		return serializer;
// 	}
// 
// 	public void decode(ConnectionImpl connection, ByteBuf clientdata) {
// 		readFromClientData(connection, clientdata);
// 	}
// 
// }
// 
// Path: src/protocolsupportpocketstuff/util/packet/serializer/ResourcePackSerializer.java
// public class ResourcePackSerializer {
// 
// 	public static void writePackInfo(ByteBuf serializer, ResourcePack pack) {
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackId());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackVersion());
// 		serializer.writeLongLE(pack.getPackSize());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, ""); // ???
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, ""); // ???
// 	}
// 
// 	public static void writePackStack(ByteBuf serializer, ResourcePack pack) {
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackId());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, pack.getPackVersion());
// 		StringSerializer.writeString(serializer, ProtocolVersionsHelper.LATEST_PE, ""); // ???
// 	}
// 
// }


// Path: src/protocolsupportpocketstuff/packet/play/ResourcePackStackPacket.java
import io.netty.buffer.ByteBuf;
import protocolsupport.protocol.ConnectionImpl;
import protocolsupport.protocol.serializer.VarNumberSerializer;
import protocolsupport.protocol.typeremapper.pe.PEPacketIDs;
import protocolsupportpocketstuff.api.resourcepacks.ResourcePack;
import protocolsupportpocketstuff.packet.PEPacket;
import protocolsupportpocketstuff.util.packet.serializer.ResourcePackSerializer;
import java.util.List;

package protocolsupportpocketstuff.packet.play;



public class ResourcePackStackPacket extends PEPacket {

	private boolean forceResources;
	private List<ResourcePack> behaviorPacks;