payload.intPayload[1] = filter.ordinal();
Proxies.net.sendToServer(new PacketUpdate(PacketIds.PROP_SEND_FILTER_CHANGE_TYPE, pipe.container.xCoord, pipe.container.yCoord, pipe.container.zCoord, payload));
}
public void sendGenomeFilterChange(ForgeDirection orientation, int pattern, int allele, IAllele species) {
PacketPayload payload = new PacketPayload(3, 0, 1);
payload.intPayload[0] = orientation.ordinal();
payload.intPayload[1] = pattern;
payload.intPayload[2] = allele;
if (species != null)
payload.stringPayload[0] = species.getUID();